[e:loop={"select * from phome_ecms_news where classid='$GLOBALS[navclassid]' limit 1",1,24,0}]
<?php
$fr=$empire->fetch1("select newstext from phome_ecms_news_data_{$bqr[stb]} where id='$bqr[id]'");
?>
标题:<?=$bqr[title]?><br>
内容:<?=$fr[newstext]?>
[/e:loop]
用loop标签调用时后:
[e:loop={"select * from phome_ecms_news where classid='$GLOBALS[navclassid]' limit 1",1,24,0}] 改为 [e:loop={'selfinfo',1,0,0}] |