900字范文,内容丰富有趣,生活中的好帮手!
900字范文 > 织梦DedeCMS上一篇下一篇调用图片的方法

织梦DedeCMS上一篇下一篇调用图片的方法

时间:2021-03-12 03:22:35

相关推荐

织梦DedeCMS上一篇下一篇调用图片的方法

只限5.5的版本5.3的没看过,目录地址 /include/arc.archives.class.php 查找:arc.money,arc.filename, 在后面添加arc.litpic, 查找:$this-PreNext[

只限5.5的版本5.3的没看过

目录地址:/include/arc.archives.class.php

查找:arc.money,arc.filename,在后面添加arc.litpic,

查找:$this->PreNext[‘pre’] = “上一篇:{$preRow[‘title’]} “;

替换:〔上一篇〕

if(empty($preRow[‘litpic’]))

{

$this->PreNext[‘pre’] = “上一篇:{$preRow[‘title’]} “;

}else{

$preimage = str_replace(‘/photo-img’, ‘’,trim($preRow[‘litpic’]));

$this->PreNext[‘pre’] = “

上一篇:{$preRow[‘title’]}

◀浏览上一张图片

织梦内容管理系统

“;

}

查找:$this->PreNext[‘next’] = “下一篇:{$nextRow[‘title’]} “;

替换:if(empty($nextRow[‘litpic’]))

{

$this->PreNext[‘next’] = “下一篇:{$nextRow[‘title’]} “;

}else{

$nextimage = str_replace(‘/photo-img’, ‘’,trim($nextRow[‘litpic’]));

$this->PreNext[‘next’] = “

下一篇:{$nextRow[‘title’]}

▶浏览下一张图片

“;

}

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。