<!--列出classid为159中的某些记录,此记录的userlist1保存的是本记录的自定义列表-->
<?$tablename = $class_r[159][tbname] ?>
[e:loop={"select * from [!db.pre!]ecms_".$tablename." where checked=1 order by newstime limit 7,15",5,24,0}]
<?
//查询表中对应的userlist1(列表)
$fr = $empire->fetch1("select * from {$dbtbpre}enewsuserlist where listid='$bqr[userlist1]' limit 1");
$filepath = $fr[filepath];
?>
<a href="<?=$filepath?>" title="<?=$bqr[title]?>" target="_blank"><?=DoTitleFont($bqr[titlefont],esub($bqr[title],16))?></a> /
[/e:loop]
评论