function printerror($error = '', $gotourl = '', $ecms = 0) { global $empire, $public_r, $editor; if ($editor == 1) { $a = '../'; } elseif ($editor == 2) { $a = '../../'; } elseif ($editor == 3) { $a = '../../../'; } else { $a = ''; } if (strstr($gotourl, '(') || empty($gotourl)) { $gotourl_js = 'history.go(-1)'; $gotourl = 'javascript:history.go(-1)'; } else { $gotourl_js = "self.location.href='{$gotourl}';"; } if (empty($error)) { $error = 'DbError'; } if ($ecms == 0) { @(include $a . LoadLang('m.php')); $error = $message_r[$error]; @(include $a . LoadAdminTemp('message.php')); } elseif ($ecms == 9) { @(include $a . LoadLang('m.php')); $error = $message_r[$error]; echo "<script>alert('" . $error . "');" . $gotourl_js . '</script>'; } exit; }
function printerror($error = "", $gotourl = "", $ecms = 0) { global $empire, $public_r, $editor; if ($editor == 1) { $a = "../"; } elseif ($editor == 2) { $a = "../../"; } elseif ($editor == 3) { $a = "../../../"; } else { $a = ""; } if (strstr($gotourl, "(") || empty($gotourl)) { $gotourl_js = "history.go(-1)"; $gotourl = "javascript:history.go(-1)"; } else { $gotourl_js = "self.location.href='{$gotourl}';"; } if (empty($error)) { $error = "DbError"; } if ($ecms == 0) { @(include $a . LoadLang("m.php")); $error = $message_r[$error]; @(include $a . LoadAdminTemp('message.php')); } elseif ($ecms == 9) { @(include $a . LoadLang("m.php")); $error = $message_r[$error]; echo "<script>alert('" . $error . "');" . $gotourl_js . "</script>"; } exit; }
<?php require "class/connect.php"; include "class/config.php"; include "class/functions.php"; include "lang/dbchar.php"; require LoadAdminTemp('eindex.php');
<?php require 'class/connect.php'; require 'class/db_sql.php'; require 'class/functions.php'; $lur = islogin(); $loginin = $lur['username']; $rnd = $lur['rnd']; $mypath = $_GET['mypath']; require LoadAdminTemp('eRepFiletext.php');
include "class/functions.php"; $loginin = getcvar('bakusername'); $rnd = getcvar('bakrnd'); islogin($loginin, $rnd); if ($limittype) { $checklimittype = " checked"; } if ($filechmod == 1) { $filechmod1 = " checked"; $filechmod0 = ""; } else { $filechmod1 = ""; $filechmod0 = " checked"; } //mysql°æ±¾ if (empty($phome_db_ver)) { $getmysqlver = @mysql_get_server_info(); if (empty($getmysqlver)) { $getmysqlver = '5.0'; } if ($getmysqlver >= '5.0') { $phome_db_ver = '5.0'; } elseif ($getmysqlver >= '4.1') { $phome_db_ver = '4.1'; } else { $phome_db_ver = '4.0'; } } include "lang/dbchar.php"; require LoadAdminTemp('eSetDb.php');
<?php require 'class/connect.php'; require 'class/functions.php'; $lur = islogin(); $loginin = $lur['username']; $rnd = $lur['rnd']; require LoadAdminTemp('eadmin.php');
<?php require 'class/connect.php'; require 'class/db_sql.php'; require 'class/functions.php'; $lur = islogin(); $loginin = $lur['username']; $rnd = $lur['rnd']; $p = $_GET['p']; $f = $_GET['f']; $file = $bakzippath . "/" . $f; require LoadAdminTemp('eDownZip.php');
<?php require 'class/connect.php'; require 'class/db_sql.php'; require 'class/functions.php'; require LoadLang('f.php'); $lur = islogin(); $loginin = $lur['username']; $rnd = $lur['rnd']; $link = db_connect(); $empire = new mysqlquery(); //д╛хойЩ╬щ©Б if (!empty($phome_db_dbname)) { echo $fun_r['GotoDefaultDb'] . "<script>self.location.href='ChangeTable.php?mydbname=" . $phome_db_dbname . "'</script>"; exit; } $sql = $empire->query("SHOW DATABASES"); require LoadAdminTemp('eChangeDb.php'); db_close(); $empire = null;
<?php require "class/connect.php"; include "class/config.php"; include "class/functions.php"; $loginin = getcvar('bakusername'); $rnd = getcvar('bakrnd'); islogin($loginin, $rnd); require LoadAdminTemp('eleft.php');
$content .= '</div></body></html>'; echo $content; exit; } $phome = $_GET['phome']; if (empty($phome)) { $phome = $_POST['phome']; } if ($phome == "ReData") { $add = $_POST['add']; $mypath = $_POST['mypath']; Ebak_ReData($add, $mypath); } else { $db = ''; if ($canlistdb) { $db .= "<option value='" . $selectdbname . "' selected>" . $selectdbname . "</option>"; } else { $sql = $empire->query("SHOW DATABASES"); while ($r = $empire->fetch($sql)) { if ($r[0] == $selectdbname) { $select = " selected"; } else { $select = ""; } $db .= "<option value='" . $r[0] . "'" . $select . ">" . $r[0] . "</option>"; } } require LoadAdminTemp('DatabaseRestore.php'); db_close(); $empire = null; }
require 'class/db_sql.php'; require 'class/functions.php'; $lur = islogin(); $loginin = $lur['username']; $rnd = $lur['rnd']; $link = db_connect(); $empire = new mysqlquery(); $chars = Ebak_ReturnDbCharList(''); //Êý¾Ý¿âÁбí $mydbname = $_GET['mydbname']; $selectdbname = $phome_db_dbname; if ($mydbname) { $selectdbname = $mydbname; } $db = ''; if ($canlistdb) { $db .= "<option value='" . $selectdbname . "' selected>" . $selectdbname . "</option>"; } else { $sql = $empire->query("SHOW DATABASES"); while ($r = $empire->fetch($sql)) { if ($r[0] == $selectdbname) { $select = " selected"; } else { $select = ""; } $db .= "<option value='" . $r[0] . "'" . $select . ">" . $r[0] . "</option>"; } } require LoadAdminTemp('eDoSql.php'); db_close(); $empire = null;
<?php require 'global.php'; require 'class/connect.php'; require 'class/db_sql.php'; require 'class/functions.php'; $rnd = $lur['rnd']; $link = db_connect(); $empire = new mysqlquery(); $mydbname = RepPostVar($_GET['mydbname']); $mytbname = RepPostVar($_GET['mytbname']); if (empty($mydbname) || empty($mytbname)) { printerror('ErrorUrl', 'history.go(-1)'); } $form = $_GET['form']; if (empty($form)) { $form = 'ebakchangetb'; } $usql = $empire->query("use `{$mydbname}`"); $sql = $empire->query('SHOW FIELDS FROM `' . $mytbname . '`'); require LoadAdminTemp('eListField.php'); db_close(); $empire = null;
<?php require 'class/connect.php'; require 'class/db_sql.php'; require 'class/functions.php'; $lur = islogin(); $loginin = $lur['username']; $rnd = $lur['rnd']; $hand = @opendir('setsave'); $mydbname = $_GET['mydbname']; require LoadAdminTemp('eListSetbak.php');
<?php require "class/connect.php"; include "class/config.php"; include "class/db_sql.php"; include "class/functions.php"; $loginin = getcvar('bakusername'); $rnd = getcvar('bakrnd'); islogin($loginin, $rnd); $hand = @opendir($bakpath); $form = 'ebakredata'; if ($_GET['toform']) { $form = $_GET['toform']; } require LoadAdminTemp('eChangePath.php');
require 'global.php'; echo ''; require 'class/connect.php'; require 'class/db_sql.php'; require 'class/functions.php'; $rnd = $lur['rnd']; $link = db_connect(); $empire = new mysqlquery(); $mypath = $_GET['mypath']; $mydbname = $_GET['mydbname']; $selectdbname = $phome_db_dbname; if ($mydbname) { $selectdbname = $mydbname; } $db = ''; if ($canlistdb) { $db .= "<option value='" . $selectdbname . "' selected>" . $selectdbname . '</option>'; } else { $sql = $empire->query('SHOW DATABASES'); while ($r = $empire->fetch($sql)) { if ($r[0] == $selectdbname) { $select = ' selected'; } else { $select = ''; } $db .= "<option value='" . $r[0] . "'" . $select . '>' . $r[0] . '</option>'; } } require LoadAdminTemp('eReData.php'); db_close(); $empire = null;
} //导入设置 $loadfile = RepPostVar($_GET['savefilename']); if (strstr($loadfile, '.') || strstr($loadfile, '/') || strstr($loadfile, "\\")) { $loadfile = ''; } if (empty($loadfile)) { $loadfile = 'def'; } $loadfile = 'setsave/' . $loadfile; @(include $loadfile); if ($dmypath) { $mypath = $dmypath; } //查询 $keyboard = RepPostVar($_GET['keyboard']); if (empty($keyboard)) { $keyboard = $dkeyboard; if (empty($keyboard)) { $keyboard = $baktbpre; } } $and = ""; if ($keyboard) { $and = " LIKE '%{$keyboard}%'"; } $sql = $empire->query("SHOW TABLE STATUS" . $and); include "lang/dbchar.php"; require LoadAdminTemp('eChangeTable.php'); db_close(); $empire = null;
$mypath = $mydbname . "_" . date("YmdHis"); if ($phpsafemod) { $mypath = "safemod"; } $loadfile = RepPostVar($_GET['savefilename']); if (strstr($loadfile, '.') || strstr($loadfile, '/') || strstr($loadfile, "\\")) { $loadfile = ''; } if (empty($loadfile)) { $loadfile = 'def'; } $loadfile = 'setsave/' . $loadfile; @(include $loadfile); if ($dmypath) { $mypath = $dmypath; } $keyboard = RepPostVar($_GET['keyboard']); if (empty($keyboard)) { $keyboard = $dkeyboard; if (empty($keyboard)) { $keyboard = $baktbpre; } } $and = ""; if ($keyboard) { $and = " LIKE '%{$keyboard}%'"; } $sql = $empire->query("SHOW TABLE STATUS" . $and); require LoadAdminTemp('DatabaseBackup.php'); db_close(); $empire = null;