Get the App
SLTechnology News&Howtos  ›  Servers  › 

Dedecms 5.7implement the method of clicking on the picture to the next page

Shulou Source: shulou.com Published: 2022-06-02 03:36:40 10月02日 Update

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 ("/

Tags: Code pictures methods content more good practical internal files articles templates see knowledge articles references changes help related output Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi NVidia vpn Shulou Information MySQL