move the form to index.php
This commit is contained in:
parent
0eee588a1e
commit
c52c46271c
24
index.php
24
index.php
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
include 'login.php';
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<!-- enable utf-8 encoding for umlauts etc.-->
|
||||
<meta charset="utf-8">
|
||||
|
@ -11,15 +13,19 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
<div>
|
||||
<header>
|
||||
<h1>WebShop NeXt</h1>
|
||||
<?php
|
||||
include 'login.php';
|
||||
?>
|
||||
</header>
|
||||
<header>
|
||||
<h1>WebShop NeXt</h1>
|
||||
</header>
|
||||
</div>
|
||||
<div class="form">
|
||||
<h1>Log In</h1>
|
||||
<form action="" method="post" name="login">
|
||||
<input type="text" name="username" placeholder="Username" required />
|
||||
<input type="password" name="password" placeholder="Password" required />
|
||||
<input name="submit" type="submit" value="Login" />
|
||||
</form>
|
||||
<p>Not registered yet? <a href='registrationindex.php'>Register Here</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue