3 人参与回答
{pc:get sql="SELECT setting FROM v9_poster WHERE spaceid=1 AND type='images' AND disabled=0 ORDER BY listorder ASC" num="6"}
{loop $data $r}
<?PHP $narry = string2array($r[setting]);?>
<li><a href="{$narry[1][linkurl]}"><img src="{$narry[1][imageurl]}" alt="{$narry[1][alt]}"/></a></li>
{/loop}
{/pc}