<nav class="nav">
<ul class="nav__menu">
<li class="nav__menu-item"><a href="[!--newsurl--]" target="_self">首页</a></li>
<php
$ecms_bq_sql=sys_ReturnEcmsLoopBq('select classid,classname,classpath from [!dbpre!]enewsclass where bclassid=0 and showclass=0 order by myorder limit 8',20,24,0); $bqno=0;
while($bqr=$empire->fetch($ecms_bq_sql))
{
$bqsr=sys_ReturnEcmsLoopStext($bqr);
$bqno++;
if($bqr[classid] != '23' ){
>
<li class="nav__menu-item"><a href="<=$public_r[newsurl]><=$bqr[classpath]>" title="<=$bqr[classname]>" target="_self" ><=$bqr[classname]></a>
<ul class="nav__submenu">
<php
$ecms_bq_sql2=sys_ReturnEcmsLoopBq("select classid,classname,classpath from [!dbpre!]enewsclass where bclassid='$bqr[classid]' order by myorder limit 5",20,24,0);
$bqno2=0;
while($bqr2=$empire->fetch($ecms_bq_sql2))
{
$bqsr2=sys_ReturnEcmsLoopStext($bqr2);
$bqno2++;
>
<li class="nav__submenu-item"><a href="<=$public_r[newsurl]><=$bqr2[classpath]>" title="<=$bqr2[classname]>" target="_self" ><=$bqr2[classname]></a></li>
<php
}
>
</ul>
</li>
<php
}
}
>
</ul>
</nav>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)