Exemple #1
0
}
if (isset($_GET["BACKUP_COMPILE"])) {
    BACKUP_COMPILE();
    exit;
}
if (isset($_GET["SMTP_DOM"])) {
    $_SESSION["WIZARD"]["SMTP_DOM"] = $_GET["SMTP_DOM"];
    $_SESSION["WIZARD"]["MAILBOX_IP"] = $_GET["MAILBOX_IP"];
    exit;
}
if (isset($_GET["SMTP_NET"])) {
    $_SESSION["WIZARD"]["SMTP_NET"] = $_GET["SMTP_NET"];
    exit;
}
if (isset($_GET["popup-finish"])) {
    popup_finish();
    exit;
}
if (isset($_GET["COMPILE"])) {
    COMPILE();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body("{WIZARD_BACKUP}");
    $WIZARD_CONFIGURE_RESOURCE = $tpl->_ENGINE_parse_body("{WIZARD_BACKUP_CHOOSE_STORAGE}");
    $WIZARD_COMPILE = $tpl->_ENGINE_parse_body("{WIZARD_COMPILE}");
    $WIZARD_CONFIGURE_SCHEDULE = $tpl->_ENGINE_parse_body("{WIZARD_CONFIGURE_SCHEDULE}");
		
		exit;
		}		
		
	
	if(isset($_GET["WIZARD_CANCEL"])){WIZARD_CANCEL();exit;}
	if(isset($_GET["BACKUP_COMPILE"])){BACKUP_COMPILE();exit;}
	
	if(isset($_GET["SMTP_DOM"])){
		$_SESSION["WIZARD"]["SMTP_DOM"]=$_GET["SMTP_DOM"];
		$_SESSION["WIZARD"]["MAILBOX_IP"]=$_GET["MAILBOX_IP"];
		exit;
	}
	
	if(isset($_GET["SMTP_NET"])){$_SESSION["WIZARD"]["SMTP_NET"]=$_GET["SMTP_NET"];exit;}
	if(isset($_GET["popup-finish"])){popup_finish();exit;}
	if(isset($_GET["COMPILE"])){COMPILE();exit;}
	
js();	
	
function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{WIZARD_BACKUP}");
	$WIZARD_CONFIGURE_RESOURCE=$tpl->_ENGINE_parse_body("{WIZARD_BACKUP_CHOOSE_STORAGE}");
	$WIZARD_COMPILE=$tpl->_ENGINE_parse_body("{WIZARD_COMPILE}");
	$WIZARD_CONFIGURE_SCHEDULE=$tpl->_ENGINE_parse_body("{WIZARD_CONFIGURE_SCHEDULE}");
	$WIZARD_FINISH=$tpl->_ENGINE_parse_body("{WIZARD_FINISH}");
	
	$html="