免费欧洲美女牲交视频,欧洲女人牲交视频免费,黑人女人性较视频免费视频

<strike id="f7thz"><dl id="f7thz"><del id="f7thz"></del></dl></strike>
<strike id="f7thz"></strike>
<strike id="f7thz"></strike>
<th id="f7thz"><dl id="f7thz"></dl></th>
<strike id="f7thz"></strike><strike id="f7thz"></strike>
<strike id="f7thz"></strike>
<span id="f7thz"><i id="f7thz"><del id="f7thz"></del></i></span>
<span id="f7thz"></span>
<span id="f7thz"><dl id="f7thz"><ruby id="f7thz"></ruby></dl></span>
網絡建站知識

精準傳達 ? 價值共享

洞悉互聯網前沿資訊,探尋網站營銷規律

織夢dedcms手機版上一篇下一篇鏈接跳轉到電腦解決方案

作者:Smileby陌少羽 | 2019-06-03 09:54 |點擊:

修改織夢include/arc.archives.class.php文件。

織夢dedcms手機版上一篇下一篇鏈接跳轉到電腦解決方案


1、搜索
 
function GetPreNext($gtype='')

2、將這個函數的所有內容替換為




 
  1. function GetPreNext($gtype='')
        {
            $rs = '';
            if(count($this->PreNext)<2)
            {
                $aid = $this->ArcID;
                $preR =  $this->dsql->GetOne("Select id From `dede_arctiny` where id<$aid And arcrank>-1 And typeid='{$this->Fields['typeid']}' order by id desc");
                $nextR = $this->dsql->GetOne("Select id From `dede_arctiny` where id>$aid And arcrank>-1 And typeid='{$this->Fields['typeid']}' order by id asc");
                $next = (is_array($nextR) ? " where arc.id={$nextR['id']} " : ' where 1>2 ');
                $pre = (is_array($preR) ? " where arc.id={$preR['id']} " : ' where 1>2 ');
                $query = "Select arc.id,arc.title,arc.shorttitle,arc.typeid,arc.ismake,arc.senddate,arc.arcrank,arc.money,arc.filename,arc.litpic,
                            t.typedir,t.typename,t.namerule,t.namerule2,t.ispart,t.moresite,t.siteurl,t.sitepath
                            from `dede_archives` arc left join dede_arctype t on arc.typeid=t.id  ";
                $nextRow = $this->dsql->GetOne($query.$next);
                $preRow = $this->dsql->GetOne($query.$pre);
                if(is_array($preRow))
                {
                    $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']);
                    $mobile_mlink = "/m/view.php?aid=".$preRow['id'];
                    $this->PreNext['pre'] = "上一篇:<a href='$mlink'>{$preRow['title']}</a> ";
                    $this->PreNext['mobile_pre'] = "上一篇:<a href='$mobile_mlink'>{$preRow['title']}</a> ";
                    $this->PreNext['preimg'] = "<a href='$mlink'><img src=\"{$preRow['litpic']}\" alt=\"{$preRow['title']}\"/></a> "; 
                }
                else
                {
                    $this->PreNext['pre'] = "上一篇:沒有了 ";
                    $this->PreNext['mobile_pre'] = "上一篇:沒有了 ";
                    $this->PreNext['preimg'] ="<img src=\"/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=\"/templets/default/images/nophoto.jpg\" alt=\"對不起,沒有下一圖集了!\"/></a>";
                }
            }
            if($gtype=='pre')
            {
                $rs =  $this->PreNext['pre'];
            }
            else if($gtype=='preimg'){
                $rs =  $this->PreNext['preimg'];
            }        
            else if($gtype=='mobile_pre'){
                $rs =  $this->PreNext['mobile_pre'];
            }
            else if($gtype=='next')
            {
                $rs =  $this->PreNext['next'];
            }        
            else if($gtype=='mobile_next')
            {
                $rs =  $this->PreNext['mobile_next'];
            }
            else if($gtype=='nextimg'){
                $rs =  $this->PreNext['nextimg'];
            }
            else
            {
                $rs =  $this->PreNext['pre']." &nbsp; ".$this->PreNext['next'];
            }
            return $rs;
        }
     
 


3、在織夢手機網站內容詳情頁模板內,將調用上一篇、下一篇標簽插入。

上一篇:{dede:prenext get='mobile_pre'/}

下一篇:{dede:prenext get='mobile_next'/}

 

如沒特殊注明,文章均為狐靈科技原創,轉載請注明??http://www.myredapron.com/jzzs/385.html
多一份免費策劃方案,總有益處。

請直接添加技術總監微信聯系咨詢

網站設計 品牌營銷

多一份參考,總有益處

聯系狐靈科技,免費獲得專屬《策劃方案》及報價

咨詢相關問題或預約面談,可以通過以下方式與我們聯系

業務熱線:023-68168040 / 大客戶專線:15523356218

免费欧洲美女牲交视频,欧洲女人牲交视频免费,黑人女人性较视频免费视频
<strike id="f7thz"><dl id="f7thz"><del id="f7thz"></del></dl></strike>
<strike id="f7thz"></strike>
<strike id="f7thz"></strike>
<th id="f7thz"><dl id="f7thz"></dl></th>
<strike id="f7thz"></strike><strike id="f7thz"></strike>
<strike id="f7thz"></strike>
<span id="f7thz"><i id="f7thz"><del id="f7thz"></del></i></span>
<span id="f7thz"></span>
<span id="f7thz"><dl id="f7thz"><ruby id="f7thz"></ruby></dl></span>