'.mysql_real_escape_string($t).'","capitalcity","INFINITY","6","1","-1")');
}
$_POST['id'] = 'reflesh';
//
if(isset($_POST['atack'],$_POST['block']) || (isset($_POST['id']) && $_POST['id']=='reflesh') || isset($_POST['usepriem']) || isset($_POST['useitem']))
{
if(isset($_POST['useitemon'])) {
$_POST['useitemon'] = iconv('UTF-8', 'windows-1251', $_POST['useitemon']);
}
session_start();
$tm = microtime();
$tm = explode(' ',$tm);
$tm = $tm[0]+$tm[1];
if(!isset($CRON_CORE)) {
//require_once('../../_incl_data/__config.php');
/*if($_SESSION['tbr']>$tm)
{
die('');
}else{
$_SESSION['tbr'] = $tm+0.350;
}*/
}
unset($tm);
$js = '';
if( $u->info['battle'] == 0 ) {
$btl_last = mysql_fetch_array(mysql_query('SELECT `id`,`battle` FROM `battle_users` WHERE `uid` = "'.$u->info['id'].'" AND `finish` = "0" LIMIT 1'));
if( isset($btl_last['id']) && $u->info['battle'] == 0 ) {
echo '';
$u->info['battle'] = $btl_last['id'];
$u->info['battle_lsto'] = true;
mysql_query('UPDATE `stats` SET `battle_text` = "",`last_b`="0" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
mysql_query('UPDATE `battle_users` SET `finish` = 1 WHERE `uid` = "'.$u->info['id'].'"');
echo '';
}
}
if(!isset($CRON_CORE)) {
if(!isset($u->info['id']) || ($u->info['joinIP']==1 && $u->info['ip']!=$_SERVER['HTTP_X_REAL_IP']))
{
die($c['exit']);
}
}
function json_fix_cyr($json_str) {
return $json_str;
}
//$u->stats = $u->getStats($u->info['id'],0);
if(!isset($CRON_CORE)) {
if($u->info['online']