Файл: slando.icu/modules/index/index.php
Строк: 95
<?php
require_once 'system/config_for_game.inc.php';
require_once 'system/func_for_game.inc.php';
require_once 'system/start_page2.inc.php';
if (isset($_COOKIE['session']) and isset($_COOKIE['id']))
{
$id = num($_COOKIE['id']);
$session = vvod($_COOKIE['session']);
$user = mysqli_num_rows(mysqli_query($link,"SELECT * FROM `users` WHERE `id`='$id' and `session`='$session' limit 1"));
if ($sett['open_game'] == 1 and $user!=0)
{
go("/game");
}}
if (isset($_GET['start'])) {$ref=num($_GET['start']);setcookie("referal",$ref,time()+60*60);}
if (isset($_GET['part'])) {$ref=num($_GET['part']);setcookie("part",$ref,time()+60*60);}
$in_game = time() - 7200;
$in_game = mysqli_num_rows(mysqli_query($link,"SELECT authtime FROM `users` WHERE `authtime` >= '$in_game' "));
echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head><title>Пираты</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="x-dns-prefetch-control" content="on" />
<link rel="dns-prefetch" href="http://pirats.mobi/" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="ru" />
<meta name="description" content="Сооруди самый мощный корабль и забудь о страхе! Бери других игроков на абордаж и стань истинным пиратом! Контракты, миссии и сражения уже ждут тебя!" />
<meta property="og:title" content="Пираты" />
<meta property="og:type" content="игра" />
<meta property="og:url" content="http://pirats.mobi/" />
<meta property="og:image" content="http://pirats.mobi/images/logo.png" />
<meta name="Keywords" content="Пираты, корабли, сражения, MMORPG, игры, онлайн, браузерная, мобильная, бесплатная, победа, абордаж, ролевые игры, лучшие онлайн игры, битвы, пираты онлайн, играть онлайн, RPG" />
<meta name="viewport" content="user-scalable=yes, minimum-scale=1, maximum-scale=1, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="icon" href="http://pirats.mobi/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://pirats.mobi/favicon.ico" type="image/x-icon" />
<link type="text/css" rel="stylesheet" href="/style/main3.css"/>
</head><body>
<div class="main">
';
echo '
<img width="100%" src="/images/icon/logo.png" alt="" />
<div class="block3">
<a class="ssilki2" href="/start">Начать игру</a>
<a class="ssilki2" href="/auth">Вход</a>
';
echo'</div>
';
echo '</div>
<div class="razriv2"></div>
<a class="foots"</a>';
echo'
<div class="center">
<a href="http://statok.net/go/12918"><img src="http://statok.net/imageOther/12918" alt="Statok.net" /></a></a>
</div>
';
echo'</body>
</html>';
?>