http://blog.sina.com.cn/youthontheway[订阅][手机订阅]
字体大小: 正文
帝国列表分页[!--show.listpage--]标签(2009-07-11 23:20:15)
修改 e/class/t_functions.php 的  //列表模板分页函数  应该可以做到



就是改这个文件
1.总页码数:
原始:$firststr='<a title="Total record">&nbsp;<b>'.$num.'</b> </a>&nbsp;&nbsp;';
修改:$firststr='<a title="Total record">总共&nbsp;<b>'.$num.'</b> 页</a>&nbsp;&nbsp;';

2.首页
原始:$toppage='<a href="'.$dolink.'index'.$type.'" title="'.$fun_r['startpage'].'">|&lsaquo;</a>&nbsp;';
修改:$toppage='<a href="'.$dolink.'index'.$type.'" title="'.$fun_r['startpage'].'">首页</a>&nbsp;';

3.上一页
原始:$prepage='<a href="'.$dolink.$prido.'" title="'.$fun_r['pripage'].'">&lsaquo;&lsaquo;</a>';
修改:$prepage='<a href="'.$dolink.$prido.'" title="'.$fun_r['pripage'].'">上一页</a>';

4.下一页
原始:$nextpage='&nbsp;<a href="'.$dolink.'index_'.$pagenex.$type.'" title="'.$fun_r['nextpage'].'">&rsaquo;&rsaquo;</a>';
修改:$nextpage='&nbsp;<a href="'.$dolink.'index_'.$pagenex.$type.'" title="'.$fun_r['nextpage'].'下一页</a>';

5末页
原始:$lastpage='&nbsp;<a href="'.$dolink.'index_'.$totalpage.$type.'" title="'.$fun_r['lastpage'].'">&rsaquo;|</a>';
修改:$lastpage='&nbsp;<a href="'.$dolink.'index_'.$totalpage.$type.'" title="'.$fun_r['lastpage'].'">末页</a>';


备注:只是临时记一下,语法有错误,不可以直接复制使用,一些变量应该修改一下,简单说这个修改是草稿而已
加载中,请稍候...
  • 评论加载中,请稍候...

验证码:请点击后输入验证码  收听验证码

发评论

以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

相关博文
读取中...
推荐博文
读取中...