欧美不卡视频中文字幕

Join VIP [check in and send gold coins]
Dream weaving worry free, heart to do source code! 7 years of brand, trustworthy! Dream weaving without worry, each fine product, rather than excessive! Purchase no less than 3000 yuan per month, free source sharing, open early, enjoy early! Temporary promotion for lifelong members, only 128 yuan! The new member opens, enters the member center directly -- the purchase member -- opens directly.

Zhimeng dedecms implementation, click on the picture to enter the next page

Abstract: This article introduces a beautiful woman picture station, which uses the article model of dream weaving, but does not use the atlas model. There are many advantages of using article model, such as aspect collection, convenient template making and so on. But how to achieve one picture per page? Here we use the article pagination of dream weaving. However, most people do not like to click on the next page, like to click on the picture, so convenient and easy. no
Article introduction

Did a beautiful woman picture station, with the article model of weaving dream, and did not use atlas model. There are many advantages of using article model, such as aspect collection, convenient template making and so on. But how to achieve one picture per page? Here we use the article pagination of dream weaving. However, most people do not like to click on the next page, like to click on the picture, so convenient and easy.

Many portal websites achieve this effect, which is more humanized and applicable to many websites. First of all, the method of modification is sorted out, and readers can check and modify themselves, and upload the modified files to Baidu network disk. If your arc archives. class. The PHP file has not been modified and can be replaced directly with the downloaded file. In particular, we must make recommendations to arc archives. class. PHP files are backed up and can be restored after modification errors. This is also a note for modifying any file. Here is how to modify it:

1. Use UltraEdit text editor or Dreamweaver to open include / arc archives. class. PHP file. Note, please do not use Notepad to modify!

2. Find the "/ / parse the website template and assign values to the changes in the content" and add the following code to this paragraph. The function of this code is to define a function and replace the image with a link:

  function ClickPicNext($ismake=1,$aid,&$body)

  {

  global $cfg_ rewrite;

  if($this->NowPage!=$this->TotalPage)

  {

  $lPage=$this->NowPage+1;

  if($ismake=0)

  {

  $body=preg_ Replace ("/ < (IMG | IMG) (. *) (SRC | SRC) = [\" '|) / ISU "," click on the picture to go to the next page

  NameFirst. "_".$ lPage. ".".$ this->ShortName. "" data_ ue_ src="".$ this->NameFirst. "_".$ lPage. ".".$ this->ShortName. "">"."\$ {0}"." ", $body);} else {/ / static page $pagelist =" namefirst. ""$ lPage. ".".$ this->ShortName. "" data_ ue_ src="".$ this->NameFirst. "_".$ lPage. ".".$ this->ShortName. "">"."\$ {0}"." "; / / dynamic page / / $pagelist =" < | delete | a http: / / view. PHP? Aid = $aid & pageno = $lpage "data_ ue_ src="view.php?aid=$aid&pageno=$lPage">"."\$ {0}"." ";if($cfg_rewrite == 'Y'){$PageList = str_replace(".php?aid=","-",$PageList);$PageList = preg_replace("/&pageno=(\d+)/i",'-\\1.html',$PageList);}$ body=preg_ replace("/<(img|img)(.*)(src|src)=[\"|'|>)/isU",$PageList,$body);}}else{$body=preg_replace("/<(img|img)(.*)(src|src)=[\"|'|>)/isU",$this->GetPreNext('imgnext'),$body);} return $body;}

3. Search $this > fields [$this - > splitpagefield] = $this > splitfields [$pageno - 1]; Add the following code below it. The meaning of this code is to judge whether there are pictures in the article, and to click the link to the next page:

  if($ClickPicNext){

  $this->Fields[$this->SplitPageField]=$this->Fields[$this->SplitPageField];

  }else{

  $this->Fields[$this->SplitPageField]=$this->ClickPicNext($ismake,$this->Fields['id'],$this->Fields[$this->SplitPageField]);

  }

4. Save include / arc archives. class. PHP file, upload to the corresponding directory, replace the corresponding file, and regenerate the article.

Will not modify friends to Baidu disk direct download: Zhimeng dedecms implementation, click on the picture to enter the next page

The above is the method of dedecms for you to click on the picture to enter the next page and the last picture to enter the next article. For those who use the article model to do the photo station, this is very helpful to improve the user experience and PV of the website.

Link to this article: http://b5y7hj.cn//dedecmsjiaocheng/zhimengjiqiao/183766.html

Copyright notice: Our resources are from the Internet or member release, if you infringe on your rights and interests, please contact us, we will delete within 24 hours! thank you!

 QR code of public number

Wechat public account

//Auto push

欧美不卡视频中文字幕_我和闺蜜共做一个男人_正撅着她肥白的大屁股

http://95.b5y7hj.cn http://57.b5y7hj.cn http://30.b5y7hj.cn http://99.b5y7hj.cn http://68.b5y7hj.cn http://58.b5y7hj.cn http://57.b5y7hj.cn http://78.b5y7hj.cn http://16.b5y7hj.cn http://48.b5y7hj.cn http://52.b5y7hj.cn