调用标签
<!--{tag("table=message&condition=status=3 and typeid=1&areaid=$cityid&catid=$catid&pagesize=9&order=addtime desc&template=index-sell-inquery")}-->
对应模板
<ul class="inquerylist"> {loop $tags $i $t} <li{if $i%2 == 1} class="listorange"{/if}><span>{date('Y-m-d', $t[addtime])}</span> <img src="../../../skin/muwu/image/fatcow_252.png" align="absmiddle" /> {if $t[fromuser]<>''}<a href="{userurl($t[fromuser])}" class="userr">{$t[fromuser]}</a>{else}游客 {/if}对<a href="{userurl($t[touser])}" class="userr">{$t[touser]}</a>发布的<?php preg_match_all("/(<([w]+)[^>]*>)(.*?)(</\2>)/", $t[content], $matches, PREG_SET_ORDER); foreach ($matches as $val) { echo $val[0]; } ?>,发表询盘信息</li> {/loop} </ul>