Esempio n. 1
0
    exit;
}
if (isset($_GET["duplicate-js"])) {
    duplicate_js();
    exit;
}
if (isset($_GET["restore-js"])) {
    restore_js();
    exit;
}
if (isset($_GET["add-popup"])) {
    add_popup();
    exit;
}
if (isset($_POST["servername"])) {
    add_wordpress();
    exit;
}
if (isset($_GET["wordpress-status"])) {
    wordpress_status();
    exit;
}
if (isset($_GET["wordpress-info"])) {
    wordpress_info();
    exit;
}
if (isset($_GET["backup"])) {
    wordpress_backup();
    exit;
}
if (isset($_POST["FTP_ENABLE"])) {
Esempio n. 2
0
if(!$usersmenus->AsWebMaster){
	echo "<p class=text-error>{ERROR_NO_PRIVS}</p>";
	die();
}

if(isset($_GET["status"])){status();exit;}
if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["table"])){table();exit;}
if(isset($_GET["add-js"])){add_js();exit;}

if(isset($_GET["duplicate-js"])){duplicate_js();exit;}
if(isset($_GET["restore-js"])){restore_js();exit;}


if(isset($_GET["add-popup"])){add_popup();exit;}
if(isset($_POST["servername"])){add_wordpress();exit;}
if(isset($_GET["wordpress-status"])){wordpress_status();exit;}
if(isset($_GET["wordpress-info"])){wordpress_info();exit;}
if(isset($_GET["backup"])){wordpress_backup();exit;}
if(isset($_POST["FTP_ENABLE"])){wordpress_backup_save();exit;}
tabs();


function tab_js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->javascript_parse_text("{artica_license}");
	$html="AnimateDiv('BodyContent');LoadAjax('BodyContent','$page?tabs=yes')";
	echo $html;