• <xmp id="acwsw"><menu id="acwsw"></menu>
    <nav id="acwsw"><code id="acwsw"></code></nav>
  • <xmp id="acwsw"><menu id="acwsw"></menu>
  • <xmp id="acwsw">
    <optgroup id="acwsw"><optgroup id="acwsw"></optgroup></optgroup>
    ?
    当前位置:石家庄seo > 营销知识 > 织梦建站教程 > 帝国cms 调用一级和二级栏目做导航的方法

    帝国cms 调用一级和二级栏目做导航的方法

    发布时间:2021-01-30 16:58   浏览次数: 次   作者:admin
    <?php
    $ecms_bq_sql=sys_ReturnEcmsLoopBq("select * from [!db.pre!]enewsclass where bclassid=0 order by myorder limit 7",14,24,0);
    $bqno=0;
    while($bqr=$empire->fetch($ecms_bq_sql))
    {
    $bqsr=sys_ReturnEcmsLoopStext($bqr);
    $bqno++;
    ?> 
    <li>
    <a href='<?=$public_r[newsurl]?><?=$bqr[classpath]?>/'><?=sub($bqr[classname],0,54,false)?></a>
    <p>
    <?php
    $ecms_bq_sql2=sys_ReturnEcmsLoopBq("select * from [!db.pre!]enewsclass where bclassid=$bqr[classid] order by myorder limit 8",14,24,0);
    $bqno2=0;
     
    while($bqr2=$empire->fetch($ecms_bq_sql2))
    {
    $bqsr2=sys_ReturnEcmsLoopStext($bqr2);
    $bqno2++;
    ?> 
    <a href="<?=$public_r[newsurl]?><?=$bqr2[classpath]?>/" ><?=sub($bqr2[classname],0,54,false)?></a>
    <?php
    }
    ?></p></li> 
    <?php
    }
    ?>
    ?
    大公鸡七星彩7.2.9下载安装