Location: PHPKode > projects > Monolith - MySQL DBA Console > monolith-1.4-release/index.php
<?php
error_reporting(E_ALL);
ini_set('display_errors', false);
ini_set('html_errors', true);

session_start();
require('inc/functions.php');

//POST VARS
$update = $_POST['update'];
$usernameSub = $_POST['usernameSub'];
$passwordSub = $_POST['passwordSub'];
$SYSupdate = $_POST['SYSupdate'];
$SYSdir = $_POST['SYSdir'];
$SYSrel_dir = $_POST['SYSrel_dir'];
$SYSuser = $_POST['SYSuser'];
$SYSpass = $_POST['SYSpass'];
$SYSemail = $_POST['SYSemail'];
$SYSpruning = $_POST['SYSpruning'];
$SYSbinloc = $_POST['SYSbinloc'];
$SYSmysqldump = $_POST['SYSmysqldump'];

$DBaction = $_POST['DBaction'];
$DBid = $_POST['DBid'];
$DBclient_name = $_POST['DBclient_name'];
$DBname = $_POST['DBname'];
$DBhost = $_POST['DBhost'];
$DBuser = $_POST['DBuser'];
$DBpass = $_POST['DBpass'];
$DBport = $_POST['DBport'];
$DBcompression = $_POST['DBcompression'];
$DBcompinsert = $_POST['DBcompinsert'];
$DBsingle_trans = $_POST['DBsingle_trans'];
$DBmasterlevel = $_POST['DBmasterlevel'];
$DBcompat = $_POST['DBcompat'];
$DBactive = $_POST['DBactive'];

$CRONhour = $_POST['CRONhour'];
$CRONminute = $_POST['CRONminute'];
$CRONweek = $_POST['CRONweek'];
$CRONmonth = $_POST['CRONmonth'];
$CRONyear = $_POST['CRONyear'];

//GET VARS
$manage = $_GET['manage'];
$delete = $_GET['delete'];
$id = $_GET['id'];

head();

if (!isset($_SESSION['validID'])) {
   $_SESSION['validID'] = 0;
}

if($_SESSION["validID"] == "0") { 
	//print $_SESSION['validID']."<br>";
	$return=(check_valid($valid,$usernameSub,$passwordSub));
  	
  	if($return == "1") {		
		$_SESSION["validID"] = "1";
		start($manage,$id);
	}
}

elseif($_SESSION["validID"] == "1") {
  start($manage,$id,$update,$SYSupdate,$SYSdir,$SYSuser,$SYSpass,$SYSemail,$SYSpruning,$SYSbinloc,$SYSmysqldump,$SYSrel_dir,$DBid,$DBclient_name,$DBaction,$DBsingle_trans,$DBname,$DBhost,$DBuser,$DBpass,$DBport,$DBcompression,$DBcompinsert,$DBmasterlevel,$DBcompat,$DBactive,$CRONhour,$CRONminute,$CRONweek,$CRONmonth,$CRONyear,$delete);
}

footer();

//get_users();

?>
Return current item: Monolith - MySQL DBA Console