{pc:get sql="SELECT a.*,b.* FROM v9_news as a left join v9_news_data as b on a.id=b.id WHERE a.catid=24 }
{loop $data $n $r}
<ul class="content dh-02" style="border-bottom:0;">
<li><a href="{$r[url]}">{$r[title]}</a></li>
</ul>
<div class="col-auto">
{loop string2array($r['imgs']) $pic_k $v}
{if $pic_k>3}
{php break}
{/if}
<a href="{$r[url]}"><img src="{thumb($v[url],175,120)}" width="175" height="120" alt="{$v[alt]}"/></a>
{/loop}
</div>
{/loop}
{loop $data $n $r}
<ul class="content dh-02" style="border-bottom:0;">
<li><a href="{$r[url]}">{$r[title]}</a></li>
</ul>
<div class="col-auto">
{loop string2array($r['imgs']) $pic_k $v}
{if $pic_k>3}
{php break}
{/if}
<a href="{$r[url]}"><img src="{thumb($v[url],175,120)}" width="175" height="120" alt="{$v[alt]}"/></a>
{/loop}
</div>
{/loop}
{/pc}
imgs为多图字段