Example #1
0
$loginlevel = $lur['groupid'];
$loginadminstyleid = $lur['adminstyleid'];
//ehash
$ecms_hashur = hReturnEcmsHashStrAll();
$enews = $_POST['enews'];
if (empty($enews)) {
    $enews = $_GET['enews'];
}
if ($enews) {
    hCheckEcmsRHash();
    include '../../class/chtmlfun.php';
    include '../../data/dbcache/class.php';
    include '../../class/t_functions.php';
}
if ($enews == 'ReSp') {
    ReSp($_GET, $logininid, $loginin, 1);
}
$page = (int) $_GET['page'];
$page = RepPIntvar($page);
$start = 0;
$line = 30;
//每页显示条数
$page_line = 12;
//每页显示链接数
$offset = $page * $line;
//总偏移量
$add = '';
$search = '';
$search .= $ecms_hashur['ehref'];
//碎片类型
$sptype = (int) $_GET['sptype'];
Example #2
0
    $enews = $_GET['enews'];
}
if ($enews) {
    hCheckEcmsRHash();
    include '../../class/chtmlfun.php';
    include '../../data/dbcache/class.php';
    include '../../class/t_functions.php';
}
if ($enews == "AddSp") {
    AddSp($_POST, $logininid, $loginin);
} elseif ($enews == "EditSp") {
    EditSp($_POST, $logininid, $loginin);
} elseif ($enews == "DelSp") {
    DelSp($_GET, $logininid, $loginin);
} elseif ($enews == 'ReSp') {
    ReSp($_POST, $logininid, $loginin, 0);
}
$page = (int) $_GET['page'];
$page = RepPIntvar($page);
$start = 0;
$line = 30;
//每页显示条数
$page_line = 12;
//每页显示链接数
$offset = $page * $line;
//总偏移量
$add = '';
$and = '';
$search = '';
$search .= $ecms_hashur['ehref'];
//碎片类型