<?php$bclassid=$GLOBALS[navclassid];?//取得本欄目id//取得本欄目下的子欄目?>[e:loop={"select?classid,?classname,?classpath?from?`[!db.pre!]enewsclass`?where?bclassid='$bclassid'?order?by?`classid`?desc?",7,24,0}]<?php//這里是取得該分類下的有圖片的最新數(shù)據(jù)$commbook=$empire->fetch1("select?title,titlepic,smalltext,titleurl,keyboard,groupid,classid,newspath,filename,id?from?phome_ecms_news?where?classid?=?".$bqr[classid]."?and?titlepic!=''?order?by?newstime?desc?limit?1");$commbookurl=sys_ReturnBqTitleLink($commbook);?>??
?>?????
?????????
<?=$bqr[classname]?>
">更多>>?????????
- ???????????
- ">"?width="108px"?height="85px"?/> ???????????
- "><?=$commbook[title]?><?=esub($commbook[smalltext],84)?> ?????????
- ?????<?php//取得該分類下的最新數(shù)據(jù)????$newbook=$empire->query("select?title,titlepic,smalltext,titleurl,keyboard,newstime,groupid,classid,newspath,filename,id?from?phome_ecms_news??where?classid?=".$bqr[classid]."?order?by?newstime?desc?limit?5");????????while($r=$empire->fetch($newbook))?{?????>????
- "?title="<?=$r[title]?>">·<?=$r[title]?><?=date('Y-m-d',$r[newstime])?> ????<?php?????}?????//顯示5條?????>???????????