tildechan/login.php

40 lines
620 B
PHP

<?php
// if a login was submitted
if($_SERVER['REQUEST_METHOD'] == 'POST') {
}
$title = "~chan - login";
$path = $_SERVER['DOCUMENT_ROOT'];
include($path . '/core/header.php');
?>
<div style="
margin: auto;
width: 300px;
padding-top: 100px;
">
<h1>login</h1>
<form action="login.php" class="input-form">
<table>
<tr>
<td><b>username:</b></td>
<td>
<input name="user" type="text">
</td>
</tr>
<tr>
<td><b>password:</b></td>
<td>
<input name="pass" type="password">
</td>
</tr>
</table>
</form>
</div>
<?php
include($path . '/core/footer.php');
# the end...
?>