<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="/style/src/favicon.png" type="image/png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, nofollow" /> <meta name="yandex" content="noyaca" />
<meta name=»description» content=»Легенды Антея: онлайн-игра в стиле зомби апокалипсиса. Играйте бесплатно с телефона или компьютера.» />
<meta name="keywords" content="легенды антея, играть, зомби апокалипсис" />
<link rel="stylesheet" type="text/css" href="/style/default.css">
<title><?=$title?></title>
</head>
<body>
<?php
if($user) {
echo '<div class="header center">'.$user['cash'].' <img src="/style/src/cash.png" height="14"><div class="margin"></div>'.$user['damage'].' <img src="/style/src/damage.png" height="14"><div class="margin"></div>'.$user['first'].' <img src="/style/src/first.png" height="20"><div class="margin"></div>'.$user['bullets'].' <img src="/style/src/bullets.png" height="14"></div><br><br><div class="title center">'.$title.'</div>';
if($user['gift'] < time()) {
echo '<a href="/gift.php" class="mini-link center">Ежедневный подарок</a>';
}
if($user['location'] == 'world') {
$rand_drop_world = rand(0,1000);
if($rand_drop_world == '999') {
$weapon_d_w = mysql_fetch_array(mysql_query('SELECT * FROM `unique_weapon` WHERE `location` = "'.$user['location'].'" ORDER BY rand() LIMIT 1'));
mysql_free_result($weapon_d_w);
mysql_query('INSERT INTO `acc_weapon` (`name`, `damage`, `img`, `user`, `accuracy`, `active`, `consumption`) VALUEs ("'.$weapon_d_w['name'].'", "'.$weapon_d_w['damage'].'", "'.$weapon_d_w['img'].'", "'.$user['id'].'", "'.$weapon_d_w['accuracy'].'", "0", "'.$weapon_d_w['consumption'].'")');
echo '<div class="main center">Найдено оружие!</div>';
echo '<a href="?" class="link center">Продолжить</a>';
include ('footer.php');
exit();
}
}
}
?>