幸运快三投注

  • <tr id='6ucgoe'><strong id='6ucgoe'></strong><small id='6ucgoe'></small><button id='6ucgoe'></button><li id='6ucgoe'><noscript id='6ucgoe'><big id='6ucgoe'></big><dt id='6ucgoe'></dt></noscript></li></tr><ol id='6ucgoe'><option id='6ucgoe'><table id='6ucgoe'><blockquote id='6ucgoe'><tbody id='6ucgoe'></tbody></blockquote></table></option></ol><u id='6ucgoe'></u><kbd id='6ucgoe'><kbd id='6ucgoe'></kbd></kbd>

    <code id='6ucgoe'><strong id='6ucgoe'></strong></code>

    <fieldset id='6ucgoe'></fieldset>
          <span id='6ucgoe'></span>

              <ins id='6ucgoe'></ins>
              <acronym id='6ucgoe'><em id='6ucgoe'></em><td id='6ucgoe'><div id='6ucgoe'></div></td></acronym><address id='6ucgoe'><big id='6ucgoe'><big id='6ucgoe'></big><legend id='6ucgoe'></legend></big></address>

              <i id='6ucgoe'><div id='6ucgoe'><ins id='6ucgoe'></ins></div></i>
              <i id='6ucgoe'></i>
            1. <dl id='6ucgoe'></dl>
              1. <blockquote id='6ucgoe'><q id='6ucgoe'><noscript id='6ucgoe'></noscript><dt id='6ucgoe'></dt></q></blockquote><noframes id='6ucgoe'><i id='6ucgoe'></i>
                加入vip [签到送金币]
                注册 登录 QQ登录
                织梦无忧,用心做好源码!7年品牌,值得信赖! 织梦无忧,个个精品,宁缺毋滥!每月购买不少于3000元精品源码免费∮分享,早开通,早享受!终身会员临时大促,只需要128元!新会ㄨ员开通,直接进入∮会员中心--购买会员--直接开♀通即可。

                织梦列表页获取当前链接和当前分页链接

                摘要: 织梦列表页获取当前链接和当前分页链接 功能描述 兼容静态 动态 伪静态 支持第一页直→接是栏目链接,第二页,第三页。。。。按当前分页 支↑持在开启绝对路径和没开启绝对路径不同∏输出 实现教程 1.打开 include/arc.listview.class.php 找到 else if($PageNo!=1

                织梦列表页获取当前链接和当前分页链接

                功能描述

                • 兼容静态 动态 伪静态
                • 支持第一页直接是栏目链接,第二页,第三页。。。。按当前分页
                • 支持在开启绝对路径和没开启绝对路径不▲同输出

                实现教程

                1.打开 include/arc.listview.class.php 找到

                else if($PageNo!=1 && $ctag->GetName()=='field' && $ctag->GetAtt('display')!='')

                在它的上面加入

                else if($ctag->GetName()=="itemcururl")
                {
                    if($ismake==0)
                    {
                        $this->dtp->Assign($tagid,$this->GetItemsCurUrlDM());
                    }
                    else
                    {
                        $this->dtp->Assign($tagid,$this->GetItemsCurUrlST());
                    }
                }

                继续找到

                获得当前的页面文件的url

                在它的注释上面加入

                /**
                 *  获得当前栏目链接与当前分页链接
                 *
                 * @access    public
                 * @return    string
                 * @return    {dede:itemcururl/}
                 */
                function GetItemsCurUrlDM()
                {
                	global $cfg_basehost,$cfg_multi_site;
                	$purl = $this->GetCurUrl();
                    // 如果︻开启为静态,则对规则进行替换
                    if($cfg_rewrite == 'Y')
                    {
                        $nowurls = preg_replace("/-/", ".php?", $purl);
                        $nowurls = explode("?", $nowurls);
                        $purl = $nowurls[0];
                    }
                	if($this->PageNo==1)
                	{
                		$geturl = "tid=".$this->TypeID;
                		$purl .= '?'.$geturl;
                	}
                	else
                	{
                		$geturl = "tid=".$this->TypeID."&TotalResult=".$this->TotalResult."&";
                		$purl .= '?'.$geturl."PageNo=".$this->PageNo;
                	}
                	$cururl = ($cfg_multi_site=='Y') ? $purl : $cfg_basehost.$purl;
                	return $cururl;
                }
                function GetItemsCurUrlST()
                {
                	global $cfg_basehost;
                    $tnamerule = $this->GetMakeFileRule($this->Fields['id'],"list",$this->Fields['typedir'],$this->Fields['defaultname'],$this->Fields['namerule2']);
                    $tnamerule = preg_replace("/^(.*)\//", '', $tnamerule);
                	$cfg_basehost = preg_replace('#/$#','',$cfg_basehost);
                	$tnamerule = MfTypedir($this->Fields['typedir']).'/'.$tnamerule;
                	if($this->PageNo==1)
                	{
                		$purl = MfTypedir($this->Fields['typedir']).'/';
                	}
                	else
                	{
                		$purl = str_replace("{page}",$this->PageNo,$tnamerule);
                	}
                	$cururl = ($cfg_multi_site=='Y') ? $purl : $cfg_basehost.$purl;
                	return $cururl;
                }

                列表页模板调用标签写法

                {dede:itemcururl/}

                本文链接:/g61cg2/dedecmsjiaocheng/chengxukaifa/182929.html

                版权声明:本站资源均来自互联网或会员发布,如果侵犯了您的权益请与我们联√系,我们将在24小时内删除!谢谢!

                公众号二维☆码

                微信公众〇号

                //自动推送