php试用smarty和ADODB实现对数据分页读取(4)
来源:未知 责任编辑:责任编辑 发表时间:2014-04-20 03:36 点击:次
$anotherserchstrs."class=".$class.">首页</a>";
else
$str.="<font color='#555555'>首页</font>";
$str.=" ";
if (!$this->rs->AtFirstPage())
$str.="<a href=".$_SERVER['PHP_SELF']."?page=".($this->rs->AbsolutePage()-1)."¶meter1=".$anotherserchstr."¶meter2=".
$anotherserchstrs."class=".$class.">上一页</a>";
else
$str.="<font color='#555555'>上一页</font>";
$str.=" ";
if(!$this->rs->AtLastPage())
$str.="<a href=".$_SERVER['PHP_SELF']."?page=".($this->rs->AbsolutePage()+1)."¶meter1=".$anotherserchstr."¶meter2=".
$anotherserchstrs."class=".$class.">下一页</a>";
else
$str.="<font color='#555555'>下一页</font>";
$str.=" ";
if(!$this->rs->AtLastPage())
$str.="<a href=".$_SERVER['PHP_SELF']."?page=".$pagecount."¶meter1=".$anotherserchstr."¶meter2=".
$anotherserchstrs."class=".$class.">尾页</a>";
else
$str.="<font color='#555555'>尾页</font>";
if(count($this->array)== 0||$this->rs==false)
return "";
else
return $str;
相关新闻>>
- 发表评论
-
- 最新评论 更多>>