Вход Регистрация
Файл: titwar.ru/func/sosedi/zapad/sabot.php
Строк: 29
<?php
$nid 
check_chislo($nid);
$nusermysql_fetch_array(mysql_query("select * From users where id='$nid'"));
$timevor=mysql_fetch_array(mysql_query("SELECT * FROM svvtime WHERE id='$id'"));
$userstranatime=$user['time_strana'];
$vragstranatime=$nuser['time_strana'];
$timeus ceil((time() - $userstranatime)/60);
$timevr ceil((time() - $vragstranatime)/60);
$nuserstenamysql_fetch_array(mysql_query("select * From buildings where id_user='$nid'"));
$stena $nuserstena['6'];
if (
$stena 0)
{
if (
$timevr $timeus)
{
$itog=round($timevr/$timeus2);
if (
$itog >=1.5 and $user['stop_big_stran'] == 1)
{
echo 
'<br>Недоступно! Cтрана старше в <b>'.$itog.'</b> раз!<br>';
}
else
{
include(
'sabotag.php');
}
}
elseif (
$timevr <= $timeus)
{
$itog=round($timeus/$timevr2);
if (
$itog >=1.5 and $nuser['stop_big_stran'] == 1)
{
echo 
'<br>Недоступно! Cтрана младше в <b>'.$itog.'</b> раз!<br>';
}
else
{
include(
'sabotag.php');
}
}
}
else
{
echo 
'<br>У этого государства нет стены!<br>';
}
?>
Онлайн: 2
Реклама