帝国cms建站方法和知识点 (2)

                                <a href="/<?=$bqr[\'classpath\']?>">

                                         <?=$bqr[classname]?>

                                                            </a>

                                                            <?php

                                                            }

                                                            else

                                                            {

                                                            ?>

                                                            <a>

                                                                     <?=$bqr[classname]?>

                                                            </a>

                                                            <?php

                    //////////if ($bqr[islast] == 0 && $bqr[bclassid] > 0 )

                                         //////////{

$sqlsonclass = "select bclassid,islast,classid,classname,sonclass from {$dbtbpre}enewsclass where bclassid=$bqr[classid] order by myorder";

$sonclas-s-result=$empire->query($sqlsonclass); //查询当前栏目的子栏目

if ($sonclas-s-result) { //这里读出的是二级栏目

echo \'<ul>\';

}

 while($sonclass_r=$empire->fetch($sonclas-s-result)) {  //循环获取查询记录

      $sonclassurl=sys_ReturnBqClassname($sonclass_r,9);//取得栏目地址

                   ?>

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

转载注明出处:https://www.heiqu.com/zgjysw.html