<div class="content">
<ul>
<li>
<div class="info">
<dl class="dhleft lotclas">
<?php
$page = empty($_GET['page']) ? 0 : $_GET['page'];
$total = $this->getRows("select id,type,title,shortName,defaultViewGroup from {$this->prename}type where isDelete=0 and enable=1 order by sort"));
$size = 10;
$pages_num = cell($total/$size);
if ($pages_num > 1)
{
      分页样式
}
?>
大致思路就是这样