Файл: public_html/light_cookie.php
Строк: 70
<?
define('PROTECTOR', 1);
defined('index') or die('Error: restricted access');
$head = 'index';//фикс. места
$textl='Точки';
@include_once('files/db.php');
@include_once('files/auth.php');
@include_once('include.php');
@include_once('files/vip.php');
@include_once('files/online.php');
@include_once('files/sql.php');
@include_once('files/lvl.php');
@include_once('files/func.php');
@include_once('files/regeneration.php');
@include_once('files/head.php');
@include_once('files/zag.php');
$_SESSION['baloon'] = true;
$ip = IP();
$brauser = htmlspecialchars(stripslashes($_SERVER['HTTP_USER_AGENT']));
$_url_cookie = "http://$_SERVER[HTTP_HOST]/go.php?login=".(base64_encode($udata['login']))."&pas=".(base64_encode($_SESSION['pass']))."";
@mysql_query_new("UPDATE `users` SET `ip`='$ip' WHERE `id`='$udata[id]'");
/*
Ваш браузер: <font color='gray'>$brauser</font> <br>
Ваш IP: <font color='gray'>$ip</font> <br>
*/
echo"
<img src='$path/theme/i/logo/".($udata['pol']=='m' ? 'logo_us_m' : 'logo_us_f').".jpg' ".($_default ? "style='z-index: -3;'" : null)." width='100%'>
<div ".($_default ? " class='tn'" : null).">
<div class='".($_default ? 'cookie_inner' : 'baloon-inner')."''>
<center>Авторизация прошла Успешно! $imgyes </center>
Чтобы каждый раз не вводить логин и пароль, добавьте в закладки ссылку на автологин: <br>
<a href='$_url_cookie' class='url'>$_url_cookie</a>
<br>Скопировать:<br>
<input class='input' type='text' value='$_url_cookie' name='ssilka'/><br/>
</div>
</div>
<a href='index.php?' class='bttn_g' style='margin: 0px;'>На главную</a>
";
if($udata['lvl']<30){
$toch_gotov_down="
<div style='position: relative; left: 5px'>
<div style='position: absolute; margin-top: 5px; margin-left: -".($_default ? 25 : 95)."px'>
<span class='tutorial-arrow rightArrow'></span>
</div>
</div>
";
}
@include_once('files/down.php');
exit;
?>