复制代码 代码如下:/** * 显示样式2 */ function multi($mpurl,$page = 10) { $multipage = ”; $mpurl .= strpos($mpurl, ‘?’) ? ‘&’ : ‘?’; $realpages = 1; if($this->infocount > $this->items) { $offset = 2; $realpages = @ceil($this->infocount / $this->items); $pages = $this->maxpages && $this->maxpages < $realpages