if ($_SESSION["session_ok"] != 1) { header("Location:?"); } if ($_SESSION["installType"] == "BASIC") { header("Location:?page=3"); } /********************************************************* This script is used to autogenerate the ADVANCE pages *********************************************************/ include "lib/parameters.inc"; $group = isset($_POST["group"]) && $_POST["group"] > 0 && $_POST["group"] < sizeof($parameters) ? $_POST["group"] : 0; $msg = ""; getSessionData($parameters[$group]["parameters"]); if (isset($_POST['option']) && $_POST['option'] != "") { if ($_POST['option'] != 'Back') { getPostVariables($parameters[$group - 1]["parameters"]); setSessionData($parameters[$group - 1]["parameters"]); if ($_POST['option'] == "Finish") { header("Location:?page=3"); } } } $withAdvanced = 0; while (!$withAdvanced) { $estruct = $parameters[$group]["parameters"]; $title = $GLOBALS["I18N"]->get($parameters[$group]['name']); $HTMLElements = getHTMLElements($estruct, "ADVANCED"); $JSElements = getJSValidations($estruct, "ADVANCED"); if (is_bool($HTMLElements) && !$HTMLElements) { $withAdvanced = 0; } else {
if ($_SESSION["session_ok"] != 1) { header("Location:?"); } echo "<!-- " . __FILE__ . " -->\n"; /*************************************************** This script use only the structure BOUNCE_DEF ***************************************************/ include "lib/parameters.inc"; genPHPVariables($bounce_def); echo "<!-- " . __FILE__ . " -->\n"; if ($submited) { /* The code above take the mission to check some mail data enter by the user in the Step 1. */ echo "<!-- " . __FILE__ . " -->\n"; getPostVariables($bounce_def); $mail_test = processPopTest($message_envelope, $bounce_mailbox_host, $bounce_mailbox_user, $bounce_mailbox_password); echo "<!-- mail test: " . __FILE__ . " -->\n"; if (!$mail_test) { echo "<!-- getting HTML elements: " . __FILE__ . " -->\n"; $HTMLElements = getHTMLElements($bounce_def); $inTheSame = 1; echo "<!-- AFTER getting HTML elements: " . __FILE__ . " -->\n"; $msg = $GLOBALS["I18N"]->get("Connection refused, check your host, user or password"); } else { setSessionData($bounce_def); //$_SESSION["bounce_envelope"] = $bm_mail; //$_SESSION["bounce_host"] = $bm_host; //$_SESSION["bounce_user"] = $bm_user; //$_SESSION["bounce_pass"] = $bm_pass; $inTheSame = 0;
<? //register a globals variable for security $GLOBALS['vlDC']=true; include "conf.php"; //log url logURL(getThisURL(),getPostVariables()); //load variables $option=getValidatedVariable("option"); $successsws=getValidatedVariable("successsws"); $searchQuery=getValidatedVariable("searchQuery"); $searchFilter=getValidatedVariable("searchFilter"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Viral Load</title> <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css"> <link href="/css/vl.css" rel="stylesheet" type="text/css"> <link href="/css/vl2.css" rel="stylesheet" type="text/css"> <link href="/css/jsdialog.css" rel="stylesheet" media="screen" type="text/css"> <link href="/css/dhtmlxcombo.css" rel="stylesheet" type="text/css"> <link href="/css/datepicker.jquery.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="/css/jquery-ui.css"> <link href="/css/select2.min.css" rel="stylesheet" /> <? $vlDC->printJavascript(); ?>
mysql.inc install-texts.inc */ if ($_SESSION["session_ok"] != 1) { header("Location:?"); } /*************************************************** This script use only the structure DATABASE_DEF ***************************************************/ include "lib/parameters.inc"; genPHPVariables($database_def, "BASIC"); if ($submited) { /* The code above take the mission to validate the database data enter by the user in the Step 0. */ getPostVariables($database_def); $errno = check_connection($database_host, $database_user, $database_password, $database_name); $errno_arr = explode("|", $errno); $msg = $errno_arr[1]; $_SESSION['dbCreatedSuccesfully'] = $errno_arr[2]; if ($errno_arr[0] > 0) { $HTMLElements = getHTMLElements($database_def); $inTheSame = 1; } else { setSessionData($database_def); $inTheSame = 0; header("Location:?page=" . ($page + 1)); } } else { $msg = ""; $inTheSame = 1;