本文整理汇总了PHP中LoadAdminTemp函数的典型用法代码示例。如果您正苦于以下问题:PHP LoadAdminTemp函数的具体用法?PHP LoadAdminTemp怎么用?PHP LoadAdminTemp使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了LoadAdminTemp函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: printerror
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;
}
示例2: printerror
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;
}
示例3: LoadAdminTemp
<?php
require "class/connect.php";
include "class/config.php";
include "class/functions.php";
include "lang/dbchar.php";
require LoadAdminTemp('eindex.php');
示例4: islogin
<?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');
示例5: getcvar
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');
示例6: islogin
<?php
require 'class/connect.php';
require 'class/functions.php';
$lur = islogin();
$loginin = $lur['username'];
$rnd = $lur['rnd'];
require LoadAdminTemp('eadmin.php');
示例7: islogin
<?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');
示例8: LoadLang
<?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;
示例9: getcvar
<?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');
示例10: Ebak_ReData
$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;
}
示例11: islogin
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;
示例12: db_connect
<?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;
示例13: islogin
<?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');
示例14: getcvar
<?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');
示例15: db_connect
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;