示例#1
0
文件: ListDo.php 项目: novnan/meiju
} elseif ($enews == "DelDo") {
    $doid = $_GET['doid'];
    DelDo($doid, $logininid, $loginin);
}
$search = $ecms_hashur['ehref'];
$page = (int) $_GET['page'];
$page = RepPIntvar($page);
$start = 0;
$line = 25;
//每页显示条数
$page_line = 12;
//每页显示链接数
$offset = $page * $line;
//总偏移量
$query = "select * from {$dbtbpre}enewsdo";
$num = $empire->num($query);
//取得总条数
$query = $query . " order by doid desc limit {$offset},{$line}";
$sql = $empire->query($query);
$returnpage = page2($num, $line, $page_line, $start, $page, $search);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="adminstyle/<?php 
echo $loginadminstyleid;
?>
/adminstyle.css" rel="stylesheet" type="text/css">
<title>管理刷新任务</title>
</head>