找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 94|回复: 0

[cms教程] DEDECMS上一篇下一篇调用图片的方法

[复制链接]

该用户从未签到

发表于 2019-1-17 14:04:17 | 显示全部楼层 |阅读模式

您需要 登录 才可以下载或查看,没有账号?立即注册

×
只限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', = "上一篇:[url=$mlink,{$preRow['title',}[/url] ";
         
        替换:〔上一篇〕
        if(empty($preRow['litpic',))
        {
        $this->PreNext['pre', = "上一篇:[url=$mlink,{$preRow['title',}[/url] ";
        }else{
        $preimage = str_replace('/photo-img', 'http://images.jiaju123.com',trim($preRow['litpic',));
        $this->PreNext['pre', = "
        [url=,
[img][/img]
[/url]
         
        上一篇:{$preRow['title',}

        ◀[url=,浏览上一张图片[/url]
         
        织梦内容管理系统
         
        ";
        }
         
        查找:$this->PreNext['next', = "下一篇:[url=$mlink,{$nextRow['title',}[/url] ";
         
        替换:if(empty($nextRow['litpic',))
        {
        $this->PreNext['next', = "下一篇:[url=$mlink,{$nextRow['title',}[/url] ";
        }else{
        $nextimage = str_replace('/photo-img', 'http://images.jiaju123.com',trim($nextRow['litpic',));
        $this->PreNext['next', = "
        [url=,
[img][/img]
[/url]
         
        下一篇:{$nextRow['title',}

        ▶[url=,浏览下一张图片[/url]
        "; dedecms.com
        }
回复

使用道具 举报

网站地图|页面地图|文字地图|Archiver|手机版|小黑屋|找资源 |网站地图

GMT+8, 2024-9-28 23:31

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表