Posted on | by liu
修改文件:include/arc.listview.class.php
先找到
//获得上一页和主页的链接if($this->PageNo != 1){$prepage.="
上一页$indexpage="Fields['defaultname']."'>首页\r\n";}修改成//获得上一页和主页的链接if($this->PageNo != 1){if($prepagenum==1){$prepage.="
Fields['defaultname']."'>上一页\r\n";}else{$prepage.="
上一页\r\n";}$indexpage="
Fields['defaultname']."'>首页\r\n";}然后找到 if($mjj==$this->PageNo){$optionlist .= "$mjj\r\n";}else{$optionlist .= "$mjj\r\n";修改成 if($mjj==1){$linkvalue = $this->Fields['defaultname'];}else{$linkvalue = str_replace("{page}",$mjj,$tnamerule);}if($mjj==$this->PageNo){$optionlist .= "$mjj\r\n";}else{$optionlist .= "$mjj\r\n";}最后找到if($j==$this->PageNo){$listdd.= "
$j\r\n";}else{$listdd.="
".$j."\r\n";}修改成 if($j==$this->PageNo){$listdd.= "
$j\r\n";}else{if($j==1){$listdd.="
Fields['defaultname']."'>".$j."\r\n";}else{$listdd.="
".$j."\r\n";}}