修改文件:include/arc.listview.class.php。先找到//获得上一页和主页的链接if($this->PageNo != 1){$prepage.="<li><a href='".str_replace("{page}",$prepagenum,$tnamerule)."'>上一页</a>$indexpage="<li><a href='".$this->Fields['defaultname']."'>首页</a></li> ";}修改成//获得上一页和主页的链接if($this->PageNo != 1){if($prepagenum==1){$prepage.="<li><a href='".$this->Fields['defaultname']."'>上一页</a></li> ";}else{$prepage.="<li><a href='".str_replace("{page}",$prepagenum,$tnamerule)."'>上一页</a></li> ";}$indexpage="<li><a href='".$this->Fields['defaultname']."'>首页</a></li> ";}
然后找到 if($mjj==$this->PageNo){$optionlist .= "<option value='".str_replace("{page}",$mjj,$tnamerule)."' selected>$mjj</option> ";}else{$optionlist .= "<option value='".str_replace("{page}",$mjj,$tnamerule)."'>$mjj</option> ";修改成 if($mjj==1){$linkvalue = $this->Fields['defaultname'];}else{$linkvalue = str_replace("{page}",$mjj,$tnamerule);}if($mjj==$this->PageNo){$optionlist .= "<option value='".$linkvalue."' selected>$mjj</option> ";}else{$optionlist .= "<option value='".$linkvalue."'>$mjj</option> ";}
最后找到if($j==$this->PageNo){$listdd.= "<li class="thisclass">$j</li> ";}else{$listdd.="<li><a href='".str_replace("{page}",$j,$tnamerule)."'>".$j."</a></li> ";}修改成 if($j==$this->PageNo){$listdd.= "<li class="thisclass">$j</li> ";}else{if($j==1){$listdd.="<li><a href='".$this->Fields['defaultname']."'>".$j."</a></li> ";}else{$listdd.="<li><a href='".str_replace("{page}",$j,$tnamerule)."'>".$j."</a></li> ";}}