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>
<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>