Ejemplo n.º 1
0
//总页数
if ($curPageNum == 0) {
    $curPageNum = 1;
    //当前页数为1
}
if ($curPageNum > $page) {
    $curPageNum = $page;
    //当前页数为最大页数
}
$total = $num;
//总条数
$page = $page;
//总页数
//$userModal->addData('Root问题','test','/forum.php','100',1,0);
//$list=$userModal->getList($typeid);
$list = $userModal->getPagerList(($curPageNum - 1) * $pageSize, $pageSize);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>运营后台管理</title>
    <link href="../css/styel_hy.css" rel="stylesheet" type="text/css" />
    <link href="../css/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../js/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="../js/jquery-ui-1.10.4.custom.min.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/brandinfomanage.js"></script>
    <style type="text/css">
        label.error{color:#ea5200; margin-left:4px; padding:0px 20px; background:url(../images/unchecked.gif) no-repeat 2px 0 }