DEDEcms手机网站添加详情内页上一页/下一页的翻页功能(2)

                $this->PreNext['preimg'] ="<img src=http://www.dede58.com/\"/templets/default/images/nophoto.jpg\" alt=\"对不起,没有上一图集了!\"/>";

            }

            if(is_array($nextRow))

            {

                $mlink = GetFileUrl($nextRow['id'],$nextRow['typeid'],$nextRow['senddate'],$nextRow['title'],$nextRow['ismake'],$nextRow['arcrank'],

                $nextRow['namerule'],$nextRow['typedir'],$nextRow['money'],$nextRow['filename'],$nextRow['moresite'],$nextRow['siteurl'],$nextRow['sitepath']);                

                $mobile_mlink = "/m/view.php?aid=".$nextRow['id'];

                $this->PreNext['next'] = "下一篇:<a href='$mlink'>{$nextRow['title']}</a> ";

                $this->PreNext['mobile_next'] = "下一篇:<a href='$mobile_mlink'>{$nextRow['title']}</a> ";

                $this->PreNext['nextimg'] = "<a href='$mlink'><img src=\"{$nextRow['litpic']}\" alt=\"{$nextRow['title']}\"/></a> ";

            }

            else

            {

                $this->PreNext['next'] = "下一篇:没有了 ";

                $this->PreNext['mobile_next'] = "下一篇:没有了 ";

                $this->PreNext['nextimg'] ="<a href='javascript:void(0)' alt=\"\"><img src=http://www.dede58.com/\"/templets/default/images/nophoto.jpg\" alt=\"对不起,没有下一图集了!\"/></a>";

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/03450545a041aa1e738d8ab9e55c0709.html