exit;
}
if (isset($_GET["test-route-js"])) {
    route_test_js();
    exit;
}
if (isset($_GET["test-route-popup"])) {
    route_test_popup();
    exit;
}
if (isset($_POST["test-route"])) {
    route_test_perform();
    exit;
}
if (isset($_GET["route-move-js"])) {
    route_move_js();
    exit;
}
if (isset($_POST["move"])) {
    route_move();
    exit;
}
if (isset($_POST["ID"])) {
    route_save();
    exit;
}
if (isset($_GET["route-delete-js"])) {
    route_delete_js();
    exit;
}
if (isset($_POST["route-delete"])) {
示例#2
0
$usersmenus=new usersMenus();
if(!$usersmenus->AsSystemAdministrator){
	$tpl=new templates();
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();
}

if(isset($_GET["table"])){table();exit;}
if(isset($_GET["icap-search"])){search();exit;}
if(isset($_GET["route-js"])){route_js();exit;}
if(isset($_GET["route-popup"])){route_popup();exit;}
if(isset($_GET["test-route-js"])){route_test_js();exit;}
if(isset($_GET["test-route-popup"])){route_test_popup();exit;}
if(isset($_POST["test-route"])){route_test_perform();exit;}
if(isset($_GET["route-move-js"])){route_move_js();exit;}
if(isset($_POST["move"])){route_move();exit;}
if(isset($_POST["zmd5"])){route_save();exit;}
if(isset($_GET["route-delete-js"])){route_delete_js();exit;}
if(isset($_POST["route-delete"])){route_delete();exit;}
tabs();

function route_move_js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();
	$t=time();
	$zmd5=$_GET["zmd5"];
	
	
echo "