Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report