织梦DEDECMS上一篇下一篇调用图片的方法程序开发
导读:程序开发程序开发修改文件:/include/arc.archives.class.php 查找:arc.arcrank,arc.filename, 在后面添加arc.litpiseo网站优化企业网站建设。
修改文件:/include/arc.archives.class.php 查找:arc.arcrank,arc.filename, 在后面添加arc.litpic, 查找:$this-PreNext[pre] = 上一篇:a href=$mlink{$preRow[title]}/a ; 替换: if(empty($preRow[litpic])) { $this-PreNext[pr […]
修改文件:/include/arc.archives.class.php 查找:arc.arcrank,arc.filename, 在后面添加arc.litpic, 查找:$this->PreNext['pre'] = "上一篇:<a href='$mlink'>{$preRow['title']}</a> "; 替换: if(empty($preRow['litpic']))
{ $this->PreNext['pre'] = "<a href='$mlink'class="post-prev" > "; }else{ $this->PreNext['pre'] = "<a href='$mlink' class="post-prev" > <div class="img-wrap"> <img src="{$preRow['litpic']}"> </div> <div class="infor-wrap"> <span class="title">{$preRow['title']}</span> <span class="subtitle">{$preRow['shorttitle&企业网站建设#39;]网站推广优化seo}</span> </div> <i class="details"></i> </a> " ; }
查找:$this->PreNext['next'] = "下一篇:<a href='$mlink'>{$nextRow['title']}</a> "; 替换:
if(empty($nextRow['litpic'])) { $this->PreNext['next'] = "<a href='$mlink' class=\"post-next\" > "; }else{ $this->PreNext['next'] = "<a href='$mlink' cla网站建设多少钱ss=\"post-next\" > <div class=\"img-wrap\"> <img src=\"{$nextRow['litpic']}\"> </div> <div class=\"infor-wrap\"> <span class=\"title\">{$nextRow['title']}</span> <span class=\"subtitle\">{$nextRow['shorttitle']}</span> </div> <i class=\"details\"></i> </a> " ; } 注:CSS样式修必为自己的。 相关seo网站优化企业网站建设。声明: 本文由我的SEOUC技术文章主页发布于:2023-05-26 ,文章织梦DEDECMS上一篇下一篇调用图片的方法程序开发主要讲述下一篇,上一篇,CMS网站建设源码以及服务器配置搭建相关技术文章。转载请保留链接: https://www.seouc.com/article/web_9561.html