[e:loop={'select * from [!db.pre!]enewslink where checked=1 and classid=0 order by lid',20,24,0}]
<li>
<a href="<?=$bqr[lurl]?>"target="_blank"><?=$bqr[lname]?></a>
</li>
[/e:loop]
<li>
<a href="<?=$bqr[lurl]?>"target="_blank"><?=$bqr[lname]?></a>
</li>
[/e:loop]