View file ds-c-wmzo_ru/aut.php

File size: 1.44Kb
<?

include_once 'sys/inc/start.php';
include_once 'sys/inc/compress.php';
include_once 'sys/inc/sess.php';
include_once 'sys/inc/home.php';
include_once 'sys/inc/settings.php';
include_once 'sys/inc/db_connect.php';
include_once 'sys/inc/ipua.php';
include_once 'sys/inc/fnc.php';
$show_all=true;
include_once 'sys/inc/user.php';
only_unreg();

if (isset($_GET['pass']) && $_GET['pass']='ok')
$_SESSION['message'] = 'Пароль отправлен вам на E-mail';

$set['title']='Вход';
include_once 'sys/inc/thead.php';
title();
aut();

if ((!isset($_SESSION['refer']) || $_SESSION['refer']==NULL)
&& isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER']!=NULL &&
!preg_match('#mail\.php#',$_SERVER['HTTP_REFERER']))
$_SESSION['refer']=str_replace('&','&amp;',preg_replace('#^http://[^/]*/#','/', $_SERVER['HTTP_REFERER']));

echo '<div class="menu">';
echo '<form method="post" action="/login.php">

<div class="input_f">
<div class="input_b">
<div class="input_l" style="padding: 10px 25px 10px 25px;">Логин</div>
</div>
<input class="input_t" type="text" name="nick" maxlength="32">
</div>

<div class="input_f">
<div class="input_b">
<div class="input_l" style="padding: 10px 19px 10px 19px;">Пароль</div>
</div>
<input class="input_t" type="password" name="pass" maxlength="32">
</div>

<input type="submit" value="Войти" />
</form>';

echo '</div>';

include_once 'sys/inc/tfoot.php';

?>