Exemple #1
0
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.system.network.inc');
	include_once('ressources/class.freeweb.inc');
	include_once('ressources/class.awstats.inc');
	
	

	$user=new usersMenus();
	if($user->AsWebMaster==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["apacheMasterconfig"])){SaveMacterConfig();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["index"])){index();exit;}
	if(isset($_GET["webs"])){popup_webs();exit;}
	if(isset($_GET["EnableFreeWeb"])){saveEnableFreeWeb();exit;}
	if(isset($_GET["listwebs"])){listwebs();exit;}
	if(isset($_GET["listwebs-search"])){listwebs_search();exit;}
	if(isset($_GET["delete-servername"])){delete();exit;}
	if(isset($_GET["FreeWebLeftMenu"])){FreeWebLeftMenuSave();exit;}
	if(isset($_GET["apache-src-status"])){apache_src_status();exit;}
	if(isset($_GET["mode-evasive-section"])){mode_evasive();exit;}
	if(isset($_GET["mod-evasive-default"])){mode_evasive_default_js();exit;}
	if(isset($_GET["mod-evasive-form"])){mode_evasive_form();exit;}
	if(isset($_POST["DOSHashTableSize"])){mode_evasive_save();exit;}
	if(isset($_GET["modules"])){modules_list();exit;}
	if(isset($_POST["AddDefaultOne"])){add_default_site();exit;}
Exemple #2
0
    exit;
}
if (isset($_GET["log-rotate-js"])) {
    log_rotate_js();
    exit;
}
if (isset($_GET["log-rotate-popup"])) {
    log_rotate_popup();
    exit;
}
if (isset($_POST["RotateFreq"])) {
    log_rotate_save();
    exit;
}
if (isset($_GET["apacheMasterconfig"])) {
    SaveMacterConfig();
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["index"])) {
    index();
    exit;
}
if (isset($_GET["webs"])) {
    popup_webs();
    exit;
}
if (isset($_GET["EnableFreeWeb"])) {