谢谢 已经解决,能帮我看看另外一个代码吗,也需要改一下: <!-- 头条下文章开始 --> <div class="qktoutiaod qk_onebox_zhong_nr2" id="toutss" > <div class="qk_jrtt_diy_there"> [e:loop={'news',5,18,0,'','newstime DESC'}] <? $cr=$empire->fetch1("select classname from {$dbtbpre}enewsclass where classid='".$bqr['classid']."' limit 1"); ?> <span > <h4>" target="_blank" class="qktoutiaoe">[<?=$cr['classname']?>]</h4> <h2 id="ttds55" >" title="<?=$bqr['title']?>" target="_blank" class="qktoutiaof"><?=$bqr['title']?></h2> <h3 class="qktoutiaog"><?=date('m-d',$bqr[newstime])?></h3> </span> [/e:loop] </div> <!--[/diy]--> </div> <div class="qk_onebox_zhong_nr3"> <div class="qk_jrtt_diy_there"> [e:loop={'news','5,5',18,0,'','newstime DESC'}] <? $cr=$empire->fetch1("select classname from {$dbtbpre}enewsclass where classid='".$bqr['classid']."' limit 1"); ?> <span > <h4>" target="_blank" class="qktoutiaoe">[<?=$cr['classname']?>]</h4> <h2 id="ttds55" >" title="<?=$bqr['title']?>" target="_blank" class="qktoutiaof"><?=$bqr['title']?></h2> <h3 class="qktoutiaog"><?=date('m-d',$bqr[newstime])?></h3> </span> [/e:loop] </div> <!--[/diy]--> </div> <!-- 头条下文章结束 -->
再帮我一个忙可以吗?这个代码是首页红色圈中间的代码,目前是所有最新消息都在这里显示,我想把他改为指定栏目id的信息显示在这里,我不会改,我用[phomenews]2,5,14,1,0,1,'Y-m-d'[/phomenews] 这个调佣倒是可以,但是css又不会用,你帮我改一下上面代码,让他指定id栏目下的信息显示,谢谢
|