Example #1
0
    die;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["popup-index"])) {
    popup_index();
    exit;
}
if (isset($_GET["popup-users"])) {
    popup_users();
    exit;
}
if (isset($_GET["users-list"])) {
    popup_users_list();
    exit;
}
if (isset($_GET["popup-disks"])) {
    popup_disks();
    exit;
}
if (isset($_GET["popup-file"])) {
    popup_file();
    exit;
}
if (isset($_GET["popup-events"])) {
    popup_events();
    exit;
}
if (isset($_GET["popup-events-list"])) {
Example #2
0
<?php
session_start();
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.user.inc');
	include_once('ressources/class.computers.inc');
	include_once('ressources/class.ocs.inc');
	
	
	
	if(!Isright()){$tpl=new templates();echo "alert('".$tpl->javascript_parse_text('{ERROR_NO_PRIVS}')."');";die();}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["popup-index"])){popup_index();exit;}
	if(isset($_GET["popup-users"])){popup_users();exit;}
	if(isset($_GET["users-list"])){popup_users_list();exit;}
	if(isset($_GET["popup-disks"])){popup_disks();exit;}
	if(isset($_GET["popup-file"])){popup_file();exit;}
	if(isset($_GET["popup-events"])){popup_events();exit;}
	if(isset($_GET["popup-events-list"])){popup_events_list();exit;}
	
	
	if(isset($_GET["popup-backup-dir"])){popup_backup_dir();exit;}
	if(isset($_GET["NewBackupTask"])){popup_backup_save();exit;}
	if(isset($_GET["ChangeEnableTask"])){popup_task_enable();exit;}
	
	if(isset($_GET["popup-tasks"])){popup_tasks();exit;}
	if(isset($_GET["popup-tasks-list"])){popup_tasks_list();exit;}
	if(isset($_GET["popup-tasks-lists"])){popup_tasks_lists();exit;}