当前位置: 首页>>代码示例>>PHP>>正文


PHP LoadAdminTemp函数代码示例

本文整理汇总了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;
}
开发者ID:tanny2015,项目名称:DataStructure,代码行数:32,代码来源:functions.php

示例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;
}
开发者ID:laiello,项目名称:netos-cms,代码行数:32,代码来源:functions.php

示例3: LoadAdminTemp

<?php

require "class/connect.php";
include "class/config.php";
include "class/functions.php";
include "lang/dbchar.php";
require LoadAdminTemp('eindex.php');
开发者ID:kong-qi,项目名称:lexiu,代码行数:7,代码来源:index.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');
开发者ID:ohjack,项目名称:newErp,代码行数:10,代码来源:RepFiletext.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');
开发者ID:kong-qi,项目名称:lexiu,代码行数:30,代码来源:SetDb.php

示例6: islogin

<?php

require 'class/connect.php';
require 'class/functions.php';
$lur = islogin();
$loginin = $lur['username'];
$rnd = $lur['rnd'];
require LoadAdminTemp('eadmin.php');
开发者ID:myjavawork,项目名称:sanxin-fangwei,代码行数:8,代码来源:admin.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');
开发者ID:ailingsen,项目名称:pigcms,代码行数:12,代码来源:DownZip.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;
开发者ID:ailingsen,项目名称:pigcms,代码行数:20,代码来源:ChangeDb.php

示例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');
开发者ID:kong-qi,项目名称:lexiu,代码行数:9,代码来源:left.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;
}
开发者ID:ziyou-liu,项目名称:jiesi,代码行数:31,代码来源:DatabaseRestore.php

示例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;
开发者ID:myjavawork,项目名称:sanxin-fangwei,代码行数:31,代码来源:DoSql.php

示例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;
开发者ID:tanny2015,项目名称:DataStructure,代码行数:23,代码来源:listfield.php

示例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');
开发者ID:ailingsen,项目名称:pigcms,代码行数:11,代码来源:ListSetbak.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');
开发者ID:laiello,项目名称:netos-cms,代码行数:15,代码来源:ChangePath.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;
开发者ID:tanny2015,项目名称:DataStructure,代码行数:31,代码来源:redata.php


注:本文中的LoadAdminTemp函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。