Dedecms 5.7implement the method of clicking on the picture to the next page
This article is about how to click on the picture to the next page in dedecms 5.7. this article is about how to click on the picture to the next page. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
Dedecms 5.7How do I click on the picture to the next page?
Modify / include/arc.archives.class.php file
1. Find "parse the template and assign values to the changes in the content." add the following code before / * in this paragraph.
Function ClickPicNext ($ismake=1,$aid,$body) {global $cfg_rewrite; if ($this- > TotalPage) {$lPage=$this- > NowPage+1; if ($ismake=0) {$body=preg_replace ("/ NameFirst." _ ". $lPage.". $this- > ShortName. "'>".\ ${0} ".", $body);} else {$PageList= "."\ ${0} ". If ($cfg_rewrite = ='Y') {$PageList = str_replace (".php? aid=", "-", $PageList); $PageList = preg_replace ("/ & pageno= (\ d +) / I",'-\\ 1.htmlrecords dwelling PageList);} $body=preg_replace ("/