下载下来的压缩包解压出来,在后台模板标签导入标签randsearch1673096325.bq,把以下代码加入到e/clas/userfun.phpfunction user_RandSearchKey($line,$num,$clasid=0){ global $empire,$public_r,$dbtbpre; if($clasid)
[e:loop={'select * from phome_ecms_article1 where clasid=26 order by sosuo desc limit 10 ',10,24,0}]tr td=$bqno/tdtd=esub($bqr[title],30)/tdtd=$bqr[zhuangtai]/tdtd=$bqr[sosuo]/td [/e:loop]解
SQL标签的应用已带模版的标签为例:[ecmsinfo]select * from phome_ecms_news where newstimeSUBDATE(NOW(),INTERVAL 30 DAY) order by onclick desc limit 10,10,30,0,24,7,0[/ecmsinfo]注意部分:30 是单位(天,当然
[e:loop={"select * from phome_enewsclas where bclasid=0 order by clasid limit 20 ",20,24,0}]DIV id=menu=$bqnoA clas=white href="/=$bqr[claspath]/"=$bqr[clasname]/A/DIV[/e:loop]其中的 $bqno 就是序列号