<? require_once '../../system/system.php'; //auth(); $title = 'Создание ботов'; echo only_reg(); echo admin(); require_once H.'system/head.php'; //логин $rand = rand(100000,999999); // $login = 'Боец_'.$rand.''; $level = rand(1,100); $param_ot = 300; $param_do = 40000; $sex = rand(1,2); $storona = rand(1,2); $pass = rand(11111,99999); if(isset($_GET['go'])){ mysql_query('INSERT INTO `users` SET `nick` = "'.$login.'",`password` = "'.$pass.'", `level` = "'.$level.'", `bot` = "1", `storona` = "'.$storona.'", `pol` = "'.$sex.'", `sila` = "'.rand($param_ot,$param_do).'", `zashita` = "'.rand($param_ot,$param_do).'", `health` = "'.rand($param_ot,$param_do).'", `online` = "'.(time()+86400*365).'", `registr` = "'.time().'"'); $_SESSION['ok'] = "Создаем игроков, если что останови. ))"; header('Location: ?go#'.$r.''); } echo "<div class='menu'><center><font color='white'>".$title."</font></center></div>"; echo "<div class='text center'><font color='white'>Скрипт автоматического создания ботов для игры, все что от вас нужно, нажать кнопку.</font><hr>"; echo "<a href='?go' class='but'>Создавать ботов</a><hr>"; echo '<a href="?">Остановить</a>'; echo "</div>"; require_once H.'system/footer.php'; ?>