File size: 772B
<?php
// Автор: waphak
// ICQ: 9988817
session_name("SID");
session_start();
include_once "theme/index.php";
include_once "conf.php";
include_once "config.php";
include_once "template/login.php";
if (md5($_SESSION[par])!==$provpar || $_SESSION[uin]!==$provuin || $_SESSION[uin]=="" || md5($_SESSION[par])=="")
{
echo'<br><form method="post" action="input.php">
Введите UIN:
<br><input name="uin" value=""><br>
Пароль:
<br><input name="par" type="password" value=""><br><br>
<input value="Войти" name="do" type="submit"></form><br>';
}
else
{
echo'<br><center>Вы уже авторизованы!<br><br>
<a href="list.php?'.SID.'">Вернуться?<a><br>';
exit;
}
include_once "theme/foot.php";
?>