room['file']=='loto') { if($_GET['get']=='20') { mysql_query('DELETE FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vals` = "loto"'); } $titm = mysql_fetch_array(mysql_query('SELECT * FROM `actions` WHERE `uid` = "'.$u->info['id'].'" AND `vals` = "loto" ORDER BY `time` DESC LIMIT 1')); if($_GET['get']=='10' && $titm==false) { $droplist = array( 0=>4514, 1=>4515, 2=>4688, 3=>4689, 4=>4690, 5=>5009, 6=>5008, 7=>5010, 8=>5239, 9=>5069, 10=>10035, 11=>10036, 12=>10037, 13=>10008, 14=>10020, 15=>6112, 16=>6113, 17=>6114, 18=>6115, 19=>6116, 20=>6360, 21=>6462, 22=>5022, 23=>5023, 24=>6445, 25=>6455, 26=>10009, 27=>1032, 28=>1031, 29=>1034 ); $idve=$droplist[rand(0,count($droplist)-1)]; $u->addItem($idve,$u->info['id'],'|frompisher=1|nosale=1'.$u->info['login']); $inf = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "'.$idve.'" LIMIT 1')); $titm = mysql_query('INSERT INTO `actions` (`uid`,`time`,`city`,`room`,`vars`,`ip`,`vals`) VALUES ("'.$u->info['id'].'","'.time().'","'.loto.'","'.$u->info['room'].'","'.$idve.'","'.mysql_real_escape_string($_SERVER['HTTP_X_REAL_IP']).'","loto")'); echo json_encode($idve); // тут передача и попытка запуска } ?>

Лото Бойцовского Клуба


Ваш приз:

    Рулетка Крутить Обновить

     
    Центральная площадь