include/arc.archives.class.php文件
if(is_array($preRow))
{
if ( defined('DEDEMOB') )
{
//$mlink = 'view.php?aid='.$preRow['id'];
$mlink = '/view_'.$preRow['id'].'.html';
} else {
$mlink = GetFileUrl($preRow['id'],$preRow['typeid'],$preRow['senddate'],$preRow['title'],$preRow['ismake'],$preRow['arcrank'],
$preRow['namerule'],$preRow['typedir'],$preRow['money'],$preRow['filename'],$preRow['moresite'],$preRow['siteurl'],$preRow['sitepath']);
}
$this->PreNext['pre'] = "上一篇:<a href='$mlink'>{$preRow['title']}</a> ";
$this->PreNext['preimg'] = "<a href='$mlink'><img src=\"{$preRow['litpic']}\" alt=\"{$preRow['title']}\"/></a> ";
}
else
{
$this->PreNext['pre'] = "上一篇:没有了 ";
$this->PreNext['preimg'] ="<img src=\"/templets/default/images/nophoto.jpg\" alt=\"对不起,没有上一图集了!\"/>";
}
( defined('DEDEMOB') )这句话就是判断是否是手机端,但是这种修改的还是有问题,第一篇文章获取不到id,然后使用了以前的一个默认的版本通过js跳转。