打开 includearc.archives.class.php 文件
查找
$this->PreNext['pre'] = "上一篇:<a href='$mlink'>{$preRow['title']}</a> ";
在这段代码后面增加
$this->PreNext['prem'] = "上一篇:<a href='view.php?aid={$preRow['id']}'>{$preRow['title']}</a> ";
查找
$this->PreNext['next'] = "下一篇:<a href='$mlink'>{$nextRow['title']}</a> ";
在这段代码后面增加
$this->PreNext['nextm'] = "下一篇:<a href='view.php?aid={$nextRow['id']}'>{$nextRow['title']}</a> ";
查找
else if($gtype=='nextimg'){
$rs = $this->PreNext['nextimg'];
}
在这段代码后面增加
else if($gtype=='prem'){
$rs = $this->PreNext['prem'];
}
else if($gtype=='nextm'){
$rs = $this->PreNext['nextm'];
}
查找
if ( defined('DEDEMOB') )
{
$mlink = 'view.php?aid='.$preRow['id'];
{
$mlink = 'view.php?aid='.$preRow['id'];
改成
if ( defined('DEDEMOB') )
{
$mlink = 'view.php?aid='.$nextRow['id'];
{
$mlink = 'view.php?aid='.$nextRow['id'];
手机版本专用调用标签
手机版上一篇调用代码:{dede:prenext get='prem'/}
手机版下一篇调用代码:{dede:prenext get='nextm'/}