Пример #1
0
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.mysql-meta.inc';
include_once 'ressources/class.system.network.inc';
include_once 'ressources/class.system.nics.inc';
$users = new usersMenus();
if (!$users->AsWebStatisticsAdministrator) {
    $tpl = new templates();
    echo FATAL_ERROR_SHOW_128("{ERROR_NO_PRIVS}");
    die;
}
if (isset($_GET["popup"])) {
    page();
    exit;
}
if (isset($_POST["link-policy"])) {
    link_policy();
    exit;
}
if (isset($_GET["unlink-js"])) {
    unlink_path();
    exit;
}
if (isset($_POST["unlink"])) {
    unlink_perform();
    exit;
}
if (isset($_POST["synchronize-group"])) {
    synchronize_group();
    exit;
}
if (isset($_GET["search"])) {
Пример #2
0
include_once('ressources/class.templates.inc');
include_once('ressources/class.mysql-meta.inc');
include_once('ressources/class.system.network.inc');
include_once('ressources/class.system.nics.inc');


$users=new usersMenus();
if(!$users->AsWebStatisticsAdministrator){
	$tpl=new templates();
	echo FATAL_WARNING_SHOW_128("{ERROR_NO_PRIVS}");die();

}


if(isset($_GET["popup"])){page();exit;}
if(isset($_POST["link-policy"])){link_policy();exit;}
if(isset($_GET["unlink-js"])){unlink_path();exit;}
if(isset($_POST["unlink"])){unlink_perform();exit;}
if(isset($_POST["synchronize-group"])){synchronize_group();exit;}
if(isset($_GET["search"])){search();exit;}
if(isset($_GET["download"])){download();exit;}
tabs();

function tabs(){
	$sock=new sockets();
	$fontsize=16;
	$tpl=new templates();
	$page=CurrentPageName();
	$array["popup"]='{sources_files}';
	$array["parameters"]='{log_retention}';
	$array["schedule"]='{schedules}';