Ejemplo n.º 1
0
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	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;}
	
Ejemplo n.º 2
0
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"])) {