Example #1
0
    $empire = new mysqlquery();
}
if ($phome == "SetDb") {
    Ebak_SetDb($_POST);
} elseif ($phome == "DoRep") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Rep($tablename, $mydbname);
} elseif ($phome == "DoOpi") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Opi($tablename, $mydbname);
} elseif ($phome == "DoDrop") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Drop($tablename, $mydbname);
} elseif ($phome == "ReplaceTable") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    $oldpre = $_POST['oldtablepre'];
    $newpre = $_POST['newtablepre'];
    Ebak_ReplaceTable($tablename, $oldpre, $newpre, $mydbname);
} elseif ($phome == "DropDb") {
    $mydbname = $_GET['mydbname'];
    Ebak_DropDb($mydbname);
} elseif ($phome == "CreateDb") {
    $mydbname = $_POST['mydbname'];
    $mydbchar = $_POST['mydbchar'];
    Ebak_CreatDb($mydbname, $mydbchar);
} elseif ($phome == "EmptyTable") {
    $tablename = $_POST['tablename'];
Example #2
0
$loginrnd = $lur['rnd'];
$loginlevel = $lur['groupid'];
$loginadminstyleid = $lur['adminstyleid'];
if ($phome == "SetDb") {
} elseif ($phome == "DoRep") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Rep($tablename, $mydbname, $logininid, $loginin);
} elseif ($phome == "DoOpi") {
    $tablename = $_POST['tablename'];
    $mydbname = $_POST['mydbname'];
    Ebak_Opi($tablename, $mydbname, $logininid, $loginin);
} elseif ($phome == "DoDrop") {
    $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'];