<?php
require_once 'system/config.php';
require_once 'system/head.php';
if ($user['id']) header('location: /admin/');
echo '<div class="menu">Авторизация</div>';
echo '<div class="menu">
<form action="/login.php" method="post">
Логин:<br /><input type="text" name="login" maxlength="12"/><br />
Пароль:<br /> <input type="password" name="pass" maxlength="15"/><br />
<input type="submit" value="Войти"/></form></div>';
include_once('system/foot.php');
?>