Ejemplo n.º 1
0
	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;}
	if(isset($_POST["CheckAVailable"])){CheckAVailable();exit;}
	
	
	
	if(isset($_GET["params"])){parameters();exit;}
	
	if(isset($_GET["rebuild-items"])){rebuild_items();exit;}
	
js();


function js(){
	
	$page=CurrentPageName();
	
	if(isset($_GET["in-front-ajax"])){
		echo "$('#BodyContent').load('$page?popup=yes');";
		return;
	}	
	
	$html="YahooWin4('730','$page?popup=yes','Freewebs');";
	echo $html;
Ejemplo n.º 2
0
    exit;
}
if (isset($_GET["apache-cmds-peform"])) {
    apache_cmds_perform();
    exit;
}
if (isset($_GET["params"])) {
    parameters_div();
    exit;
}
if (isset($_GET["params-div"])) {
    parameters();
    exit;
}
if (isset($_GET["rebuild-items"])) {
    rebuild_items();
    exit;
}
js();
function log_rotate_js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{logrotate}");
    $html = "YahooWin4('650','{$page}?log-rotate-popup=yes','Freewebs::{$title}');";
    echo $html;
}
function apache_cmds_js()
{
    $page = CurrentPageName();
    $cmd = $_GET["apache-cmds"];