您好,登錄后才能下訂單哦!
<div class="dbzbox clearfix"> <?php $bclassid=$GLOBALS[navclassid]; //取得本欄目下的子欄目 ?> <?php for($n=0;$n<=5;$n++) //判斷子欄目的個數(shù),循環(huán)的次數(shù) { if($n%2==0) //兩個一組的循環(huán) { ?> <div class="dbzlist"> <div class="dbzdh clearfix"> <ul class="tab_nav"> [e:loop={"select classid, classname, classpath from `[!db.pre!]enewsclass` where bclassid='$bclassid' order by `classid` ASC ",7,24,0}] <?php if($bqno>$n&$bqno<=($n+2)){?> //$bqno是默認(rèn)的序號,根據(jù)循環(huán)的序號來判斷 <li class="selected"> <?=$bqr[classname]?> </li> <?php }?> [/e:loop] </ul> </div> <div class="tab_switch"> [e:loop={"select classid, classname, classpath from `[!db.pre!]enewsclass` where bclassid='$bclassid' order by `classid` ASC ",7,24,0}] <?php if($bqno>$n&$bqno<=($n+2)){?> //$bqno是默認(rèn)的序號,根據(jù)循環(huán)的序號來判斷 <div class="tabcon selected"> <dl>[ecmsinfo] $bqr[classid],1,14,0,0,18,0[/ecmsinfo]</dl> <ul class="nrcon">[ecmsinfo]$bqr[classid],'1,4',26,0,0,17,0[/ecmsinfo]</ul> <div class="dbzbtn"><a href="<?=$bqsr[classurl]?>">詳細(xì)了解<?=$bqr[classname]?></a></div> </div> <?php }?> [/e:loop] </div> </div> <?php }} ?> </div>
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。