'.$_SERVER['SERVER_ADDR']); } } define('GAME',true); include('_incl_data/__config.php'); include('_incl_data/class/__db_connect.php'); function e($t) { mysql_query('INSERT INTO `chat` (`text`,`city`,`to`,`type`,`new`,`time`) VALUES ("core #'.date('d.m.Y').' %'.date('H:i:s').' (Критическая ошибка): '.mysql_real_escape_string($t).'","capitalcity","LEL","6","1","-1")'); } $count = array( 0, //завершенных поединков 0, 0, 0, 0, 0 ); function clear_user($plid) { mysql_query('UPDATE `users` SET `login` = "delete",`login2` = `login` WHERE `id` = "'.$plid.'" LIMIT 1'); /* mysql_query('DELETE FROM `users` WHERE `id` = "'.$plid.'" LIMIT 1'); mysql_query('DELETE FROM `items_users` WHERE `uid` = "'.$plid.'"'); mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$plid.'"'); mysql_query('DELETE FROM `bank` WHERE `uid` = "'.$plid.'"');*/ } /*$sp = mysql_query('SELECT `id` FROM `users` WHERE `cityreg` = "" && `timereg` = "0" LIMIT 100'); while($pl = mysql_fetch_array($sp)) { $n_st = mysql_fetch_array(mysql_query('SELECT `id` FROM `stats` WHERE `id` = "'.$pl['id'].'" LIMIT 1')); if(!isset($n_st['id'])) { clear_user($pl['id']); } }*/ function inuser_go_btl($id) { if(isset($id['id'])) { echo file_get_contents('https://new-combats.com/jx/battle/refresh.php?uid='.$id['id'].'&cron_core='.md5($id['id'].'_brfCOreW@!_'.$id['pass']).'&pass='.$id['pass']); echo '