function getbody($id) { global $dsql; $row = $dsql->GetOne("SELECT body FROM addonimages WHERE aid= '$id'"); $res = $row['body']; return $res; } |
{dede:arclist typeid='6' row='5' type='image.' imgwidth='376' imgheight='376' limit='0,5' orderby='sortrank'} <div class="goods_ltcontent [field:global name=autoindex runphp='yes'](@me>1)? @me='sk_hide':@me='';[/field:global]" id="goods_[field:global name=autoindex runphp='yes']@me=@me;[/field:global]"> <div class="ltctimg"><img src="[field:litpic/]" alt="[field:title function='html2text(@me)'/]" /></div> <div class="ltctct"> [field:id function='getbody(@me)'/] </div> <div class="ltctmore"> <a href="[field:arcurl/]" class="btn">更多详情</a> </div> </div> {/dede:arclist} |
新闻热点
疑难解答