. */ include("./include/include.php"); if( $_SERVER['REQUEST_METHOD']=="POST" ) { // Handle updates before showing menu $_SESSION['sess_sel_accept_nosel'] = (isset($_POST['accept_nosel']) ? "yes" : "no"); $_SESSION['sess_sel_accept_yes'] = (isset($_POST['accept_yes']) ? "yes" : "no"); $_SESSION['sess_sel_accept_pending'] = (isset($_POST['accept_pending']) ? "yes" : "no"); $_SESSION['sess_sel_accept_confirm'] = (isset($_POST['accept_confirm']) ? "yes" : "no"); $_SESSION['sess_sel_accept_no'] = (isset($_POST['accept_no']) ? "yes" : "no"); $_SESSION['sess_sel_accept_cancel'] = (isset($_POST['accept_cancel']) ? "yes" : "no"); $_SESSION['sess_sel_accept_arrived'] = (isset($_POST['accept_arrived']) ? "yes" : "no"); if( isset($_POST['registrationdesk']) && preg_match("/^[0-9]+$/", $_POST['registrationdesk']) AND $_POST['registrationdesk']<=$setup['RegistrationDesks'] ) $_SESSION['sess_sel_registrationdesk'] = $_POST['registrationdesk']; if( isset($_POST['gym']) && preg_match("/^[0-9]+$/", $_POST['gym']) AND $_POST['gym']<=$setup['NumberOfGyms'] ) $_SESSION['sess_sel_gym'] = $_POST['gym']; } admin_header(); if( !isset($_SESSION['sess_functions']) || count($_SESSION['sess_functions'])==0 ) { echoln("You are not authorized to see this page."); }else { echoln("