move the form to index.php

This commit is contained in:
Andreas Zweili 2017-02-05 15:17:19 +01:00
parent 0eee588a1e
commit c52c46271c
1 changed files with 15 additions and 9 deletions

View File

@ -1,6 +1,8 @@
<?php
include 'login.php';
?>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<!-- enable utf-8 encoding for umlauts etc.--> <!-- enable utf-8 encoding for umlauts etc.-->
<meta charset="utf-8"> <meta charset="utf-8">
@ -11,15 +13,19 @@
</head> </head>
<body> <body>
<div>
<div> <div>
<header> <header>
<h1>WebShop NeXt</h1> <h1>WebShop NeXt</h1>
<?php </header>
include 'login.php'; </div>
?> <div class="form">
</header> <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>
</div>
</body> </body>
</html> </html>