zoukankan      html  css  js  c++  java
  • 当位于顶级栏目显示下级栏目,当位于二级栏目显示同级栏目,当位于三级目录,显示上级栏目

            $row2 = $dsql->GetOne("SELECT * FROM `#@__arctype` WHERE id='$typeid' ");
            $typeid = $row2['id'];
            $reid = $row2['reid'];
            $topid = $row2['topid'];
            $issetInfos = true;
        }
        
        if($type=='' || $type=='sun') $type='son';
        if($type=='reid' && $topid == '0'  ) $type='son';
        if($innertext=='') $innertext = GetSysTemplets("channel_list.htm");

    include aglibchannel.lib.php 

            {dede:channel type='reid' noself='yes' currentstyle='
            <li class="thisclass"><a href="~typelink~">~typename~</a></li>
            '}
            <li><a href="[field:typeurl/]">[field:typename/]</a></li>{/dede:channel}
  • 相关阅读:
    5js
    4js
    3js
    2js
    1js
    7css
    6css
    5css
    Django高级项目实战-开发企业级问答网站,学Django就这了
    Java日志第27天 2020.8.1
  • 原文地址:https://www.cnblogs.com/jizl/p/9245538.html
Copyright © 2011-2022 走看看