Exemple #1
0
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.qos.inc');

	$user=new usersMenus();
	if($user->AsSystemAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["index"])){index();exit;}
	
	if(isset($_GET["QOSInLeftMenu"])){QOSInLeftMenu_save();exit;}
	
	if(isset($_GET["service"])){master_service_popup();exit;}
	if(isset($_GET["master-service-add-js"])){master_service_add_js();exit;}
	if(isset($_GET["master-service-add-popup"])){master_service_add_popup();exit;}
	if(isset($_GET["master-service-add-add"])){master_service_add_mysql();exit;}
	if(isset($_GET["master-service-delete"])){master_service_del_mysql();exit;}
	if(isset($_GET["master-service-enable"])){master_service_enable_mysql();exit;}
	
	if(isset($_GET["class-add-index"])){class_popup();exit;}
	if(isset($_GET["class-add"])){class_popup_tabs();exit;}
	
	if(isset($_GET["class-save"])){class_save();exit;}
	if(isset($_GET["class-list"])){class_list();exit;}
	if(isset($_GET["class-delete"])){class_delete();exit;}
	
	if(isset($_GET["class-rules-index"])){class_rules_index();exit;}
	if(isset($_GET["class-rules-id"])){class_rules_popup();exit;}
Exemple #2
0
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["index"])) {
    index();
    exit;
}
if (isset($_GET["QOSInLeftMenu"])) {
    QOSInLeftMenu_save();
    exit;
}
if (isset($_GET["service"])) {
    master_service_popup();
    exit;
}
if (isset($_GET["master-service-add-js"])) {
    master_service_add_js();
    exit;
}
if (isset($_GET["master-service-add-popup"])) {
    master_service_add_popup();
    exit;
}
if (isset($_GET["master-service-add-add"])) {
    master_service_add_mysql();
    exit;
}
if (isset($_GET["master-service-delete"])) {