Exemplo n.º 1
0
    }
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["search"])) {
    search();
    exit;
}
if (isset($_GET["Select-fields"])) {
    select_fields();
    exit;
}
if (isset($_GET["search_filename_from_catz"])) {
    search_filename_from_catz();
    exit;
}
if (isset($_POST["EmptyTask"])) {
    EmptyTask();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    if (!is_numeric($_GET["taskid"])) {
        $_GET["taskid"] = 0;
    }
    if ($_GET["table"] == null) {
Exemplo n.º 2
0
	include_once('ressources/class.mysql.squid.builder.php');
	
	$usersmenus=new usersMenus();
	if(!$usersmenus->AsSystemAdministrator){
		if(!$usersmenus->AsDansGuardianAdministrator){
			$tpl=new templates();
			$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
			echo "alert('$alert');";
			die();	
		}
	}

if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["search"])){search();exit;}
if(isset($_GET["Select-fields"])){select_fields();exit;}
if(isset($_GET["search_filename_from_catz"])){search_filename_from_catz();exit;}
if(isset($_POST["EmptyTask"])){EmptyTask();exit;}
js();


function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	if(!is_numeric($_GET["taskid"])){$_GET["taskid"]=0;}
	if($_GET["table"]==null){
		$all_events=$tpl->_ENGINE_parse_body("{all_events}");
		$title=$all_events;
	}else{
		$title=$tpl->_ENGINE_parse_body("{events}")."::{$_GET["category"]}";
	}