<ul class="links_text">
[e:loop={'select lname,lurl,lpic from [!db.pre!]enewslink
where checked=1 order by myorder,lid',20,24,0}] <li><a href="<?=$bqr[lurl]?>"
target="_blank" ><?=$bqr[lname]?></a></li>
[/e:loop] </ul>
(按某一分类调用SQL为:select lname,lurl,lpic from [!db.pre!]enewslink
where checked=1 and classid=分类ID order by myorder,lid)