die("alert('no access');"); } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["status"])) { status(); exit; } if (isset($_GET["events"])) { events(); exit; } if (isset($_GET["build-client-events"])) { events_details(); exit; } if (isset($_POST["ReconnectSession"])) { ReconnectSession(); exit; } if (isset($_POST["DisableConnection"])) { DisableConnection(); exit; } if (isset($_POST["EnableConnection"])) { EnableConnection(); exit; } if (isset($_POST["DeleteConnection"])) {
$tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["events"])){events();exit;} if(isset($_GET["status"])){status();exit;} if(isset($_GET["status-service"])){status_service();exit;} if(isset($_GET["settings"])){settings();exit;} if(isset($_GET["backend-form-add"])){backend_form_add();exit;} if(isset($_GET["servername"])){backend_add();exit;} if(isset($_GET["delete-servername"])){backend_delete();exit;} if(isset($_GET["backends-servers"])){backend_list();exit;} if(isset($_GET["EnableCrossRoads"])){SAVECONF();exit;} if(isset($_GET["cross-events"])){events_details();exit;} if(isset($_GET["cross-notify"])){cross_notify();exit;} js(); function js(){ $page=CurrentPageName(); $users=new usersMenus(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body('{APP_CROSSROADS}'); $add_backend_server=$tpl->_ENGINE_parse_body('{add_backend_server}'); $html=" function CrossRoadsIndexLoadpage(){ document.getElementById('BodyContent').innerHTML='<center><img src=img/wait_verybig.gif></center>';