View file admin/auth.php

File size: 617B
<?php
include_once('../system/config.php');
if ($user) {
header('Location: /');   
}
$sys['title'] = 'Авторизация';
include_once('../system/head.php');

error($err);

echo '<div class="title">Авторизация</div>
<div class="content">
<form method="post" action="/">
Логин:<br />
<input type="text" name="login" /><br />
Пароль:<br />
<input type="password" name="password" /><br />
<input type="checkbox" name="save_entry" value="1" checked="checked" />Запомнить меня<br />
<input type="submit" value="Войти" />
</form>
</div>';

include_once('../system/foot.php');
?>