第一步:删除重复的类似list_1_1.html这个文件,打开 /include/arc.listview.class.php 搜索以下代码:
copy($list_1,$indexname);
将在这行代码下面加上:
unlink($list_1);
这样就在生成html的时候自动将列表第一页删除
?
将
$typedir=?ereg_replace('{cmspath}',$GLOBALS['cfg_cmspath'],$this->Fields['typedir']);
这段代码添加到”//获得上一页和主页的链接”前面;
找到以下代码(在“ //获得上一页和主页的链接”之下就是):
if($this->PageNo?!=?1) ????????????????{ ????????????????????????$prepage.="
替换为:
if($this->PageNo?!=?1) ????????{ ????????????if($prepagenum==1) ????????????{ ????????$prepage.="
找到以下代码(大概在1076行附近):
?$listdd.="
if($j==1) ??????{ ????$listdd.="