include_once('ressources/class.system.network.inc');
	
	
	$user=new usersMenus();
	if($user->AsSquidAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["title"])){tables_title();exit;}
	if(isset($_GET["schedules"])){schedules();exit;}
	if(isset($_POST["ArticaProxyStatisticsRestoreFolder"])){Save();exit;}
	if(isset($_GET["restored"])){restored_table();exit;}
	if(isset($_GET["restored-list"])){restored_items();exit;}
	if(isset($_GET["zoom-restored"])){zoom_restored();exit;}
	if(isset($_POST["RecoverDelete"])){RecoverDelete();exit;}
	if(isset($_GET["form-restore"])){form_restore();exit;}
	if(isset($_POST["RestoreSingle"])){RestoreSingle();exit;}
	if(isset($_POST["RecoverAll"])){RecoverAll();exit;}
	if(isset($_POST["DeleteAll"])){DeleteAll();exit;}
	
	
	
js();

function js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();
    exit;
}
if (isset($_GET["schedules"])) {
    schedules();
    exit;
}
if (isset($_POST["ArticaProxyStatisticsRestoreFolder"])) {
    Save();
    exit;
}
if (isset($_GET["restored"])) {
    restored_table();
    exit;
}
if (isset($_GET["restored-list"])) {
    restored_items();
    exit;
}
if (isset($_GET["zoom-restored"])) {
    zoom_restored();
    exit;
}
if (isset($_POST["RecoverDelete"])) {
    RecoverDelete();
    exit;
}
if (isset($_GET["form-restore"])) {
    form_restore();
    exit;
}
if (isset($_POST["RestoreSingle"])) {