<!--{php $tagsxh=tag("table=ad&condition=status=3 and pid=64 and key_word='$keyword' and totime>$DT_TIME&pagesize=1&order=listorder asc, addtime asc&template=null");}-->
{if $tagsxh}
{loop $tagsxh $k $t}
<a href="http://www.dtmuban.com/course/{$t[url]}" title="{$t[image_alt]}" target="_blank"><img src="https://www.lujianglin.com/skin/default/image/lazy.gif" original="https://www.lujianglin.com/skin/default/image/nopic.gif" alt="{$t[image_alt]}" /></a>
{/loop}
{/if}
用于搜索页的广告调用 其中:
调用 单个独立的广告id 不管是什么位置的广告都调用 单个广告 aid=64 数字自己对应广告修改
这个只能显示4个广告。 pagesize=4
随搜索关键词 and key_word='$keyword'