require 'class/connect.php'; require 'class/db_sql.php'; require 'class/functions.php'; require LoadLang('f.php'); $phome = $_GET['phome']; if (empty($phome)) { $phome = $_POST['phome']; } $lur = islogin(); $loginin = $lur['username']; $rnd = $lur['rnd']; $link = db_connect(); $empire = new mysqlquery(); if ($phome == "DoEbak") { Ebak_DoEbak($_POST); } elseif ($phome == "BakExe") { $t = $_GET['t']; $s = $_GET['s']; $p = $_GET['p']; $mypath = $_GET['mypath']; $alltotal = $_GET['alltotal']; $thenof = $_GET['thenof']; $fnum = $_GET['fnum']; $stime = $_GET['stime']; Ebak_BakExe($t, $s, $p, $mypath, $alltotal, $thenof, $fnum, $stime); } elseif ($phome == "BakExeT") { $t = $_GET['t']; $s = $_GET['s']; $p = $_GET['p']; $mypath = $_GET['mypath'];
$tablename = $_POST['tablename']; $mydbname = $_POST['mydbname']; Ebak_Drop($tablename, $mydbname, $logininid, $loginin); } elseif ($phome == "DropDb") { $mydbname = $_GET['mydbname']; Ebak_DropDb($mydbname, $logininid, $loginin); } elseif ($phome == "CreateDb") { $mydbname = $_POST['mydbname']; $mydbchar = $_POST['mydbchar']; Ebak_CreatDb($mydbname, $mydbchar, $logininid, $loginin); } elseif ($phome == "EmptyTable") { $tablename = $_POST['tablename']; $mydbname = $_POST['mydbname']; Ebak_EmptyTable($tablename, $mydbname, $logininid, $loginin); } elseif ($phome == "DoEbak") { Ebak_DoEbak($_POST, $logininid, $loginin); } elseif ($phome == "BakExe") { $t = $_GET['t']; $s = $_GET['s']; $p = $_GET['p']; $mypath = $_GET['mypath']; $alltotal = $_GET['alltotal']; $thenof = $_GET['thenof']; $fnum = $_GET['fnum']; $stime = $_GET['stime']; Ebak_BakExe($t, $s, $p, $mypath, $alltotal, $thenof, $fnum, $stime, $logininid, $loginin); } elseif ($phome == "BakExeT") { $t = $_GET['t']; $s = $_GET['s']; $p = $_GET['p']; $mypath = $_GET['mypath'];