在任何模板里面均可添加以下代码$quyu=$empirefetch1("select * from phome_enewsf where f='quyu' and tid='9'");$quyu=explode("|",$quyu[fvalue]);for ($i=0;$icount($quyu);$i++){echo 'option value="'.$quyu[$
在列表模板列表内容模板(list.var) (*) 添加以下代码,需要勾选使用程序代码。$uid=$empirefetch1(select * from {$dbtbpre}enewsmemberadd where userid={$r[userid]});if(empty($uid[userpic])){$uid[userpic]=/e/da
在需要显示的模板里面添加以下代码$cd=$empirefetch1("select * from phome_enewsf where f='cd' and tid='6'");$cd=explode("|",$cd[fvalue]);for ($i=0;$icount($cd);$i++){echo 'option value="'.$cd[$i].'"'.$cd
为大家介绍下帝国cms会员发布相关信息列表的调用方法以下是调用标签代码$sql=$empirequery(select * fromphome_ecms_recruitment where userid=$navinfor[userid] and clasid=29 order by newstime asc limit 100);w
多表查询+多表标题链接的调用[e:loop={ select a.*,b.gsjc from phome_ecms_news a LEFT JOIN phome_ecms_gsj b on a.gsid=b.id where a.clasid in (8) order by a.newstime desc limit 1,5,24,0}]以上A为第一个