TEXT_GOTOMAIN(); include "footer.php"; die; } } } /*Play has turns and has warp editors, check to see if the user is trying to do somthing.*/ if (array_key_exists('editor', $_POST) == true) { $editor_active = $_POST['editor']; } $target_sector = NULL; if (array_key_exists('target_sector', $_POST) == true) { $target_sector = $_POST['target_sector']; if (is_numeric($target_sector)) { $target_information = $sql_manager->zone_information($target_sector, 'allow_warpedit'); $are_you_real = $sql_manager->real_sector($target_sector); } else { /*Not a valid number, lets rub in some salt*/ $editor_active = NULL; $target_sector = NULL; echo "You can only enter valid sectors into the target sector!<br/>"; TEXT_GOTOMAIN(); include "footer.php"; die; } } if ($are_you_real < 1 && array_key_exists('editor', $_POST) == true) { echo "The sector you selected doesnt excist in this universe!<br/>"; TEXT_GOTOMAIN(); include "footer.php"; die;