if(!defined('GAME')){ die(); } if(isset($_GET['delete_dungeon_id'])){ $delete_dungeon_id = intval($_GET['delete_dungeon_id']); mysql_query("DELETE FROM `dungeon_room` WHERE `id`='".$delete_dungeon_id."'"); die(""); } if(isset($_GET['id_bot'])){ $_POST['botSelect'] = $_GET['id_bot']; } $Query = mysql_query("SELECT id, login FROM test_bot ORDER BY id ASC"); $dungeon_bots = ''; while($row = mysql_fetch_assoc($Query)){ $dungeon_bots .= ''; } $Query = mysql_query("SELECT id, dungeon_id, dungeon_name FROM dungeon_room ORDER BY active, dungeon_id ASC"); $dungeon_list = ''; while($row = mysql_fetch_assoc($Query)){ $dungeon_list .= ''; } ?>