- 微商货源网店代理类网站...
- 艺考培训类网站织梦模板...
- 甲醛检测空气污染治理类...
- 服装定制设计类网站织梦...
- 电脑机箱配件类网站织梦...
- 五金配件加工机械设备类...
- 苗木草坪种植绿化类网站...
- 水性工业漆类企业网站织...
- 餐饮美食类网站织梦模板...
- 五金水槽挂架类网站织梦...
- PPT素材下载类网站织梦模...
- 新闻博客资讯类网站织梦...
- 生态水果蔬菜商城类网站...
- 宠物兽医门诊医院类网站...
- 中国风古典园林假山工程...
- 律师事务所网站织梦模板...
- 财经新闻资讯类网站织梦...
- QQ个性空间日志资讯类网...
- 阀门制造设备展示类网站...
- 金融理财投资类网站织梦...
在列表页单独调用,以及首页,简单搞了一下,仅作上下翻页,主页类似,可自行添加。
前端调用
{dede:pagelist listitem="up"/}{dede:pagelist listitem="down"/}
修改方法
打开include\arc.listview.class.php文件找到:if($this->PageNo!=$totalpage && $totalpage>1){$nextpage.="<</b>li><</b>a href='".str_replace("{page}",$nextpagenum,$tnamerule)."'>下一页\r\n";$endpage="<</b>li><</b>a href='".str_replace("{page}",$totalpage,$tnamerule)."'>末页\r\n"; </p> <p>$downpage.="<</b>a href='".str_replace("{page}",$nextpagenum,$tnamerule)."'>下一页\r\n";}else{$endpage="<</b>li>末页\r\n";$downpage.="<</b>a>没有了\r\n";}
在它下面加入
$plist = '';if(preg_match('/up/i', $listitem)) $plist .= $uppage;if(preg_match('/down/i', $listitem)) $plist .= $downpage;if(preg_match('/index/i', $listitem)) $plist .= $indexpage;if(preg_match('/pre/i', $listitem)) $plist .= $prepage;if(preg_match('/pageno/i', $listitem)) $plist .= $listdd;if(preg_match('/next/i', $listitem)) $plist .= $nextpage;if(preg_match('/end/i', $listitem)) $plist .= $endpage;if(preg_match('/option/i', $listitem)) $plist .= $optionlist;if(preg_match('/info/i', $listitem)) $plist .= $maininfo;