[e:loop={"select * from phome_ecms_news where classid={$ecms_gr['classid']} order by onclick desc limit 5",0,24,0,'','}]...
<?php $urls = $_SERVER["QUERY_STRING"]; $sid = explode("=", $urls); $sids = $sid[2]; $res = $empire->fetch1("selec...
调用最后更新时间: 使用lastdotime字段而不是newstime字段。 示例代码: <?= date('Y-m-d', $bqr['lastdotime']) ?> ...
<?php $class_sql = $empire->query('select * from phome_enewsclass where islast=1 LIMIT 50'); // 调用50个,数量可自改 while...
[e:loop={"select * from [!db.pre!]ecms_news where title like '%关键词%' order by newstime desc limit 10",10,24,0}] <a hr...