您的位置:首页 > 其它

destoon实现调用图文新闻的方法

2014-08-21 17:38 519 查看

本文实例展示了destoon调用图文新闻的方法,该功能是非常常见且实用的技巧。分享给大家供大家参考。具体实现方法如下:

主要功能代码如下所示:

{if $DT[page_news]}
<!--{tag("moduleid=21&length=16&condition=status=3 and level=3 and thumb<>''&pagesize=1&target=_blank&order=addtime desc&width=100&height=80&cols=1&template=thumb-table")}-->
{/if}
<!--{php $tags=tag("moduleid=7&condition=status=3 and thumb!=''&length=30 and level>0&areaid=$cityid&pagesize=1&datetype=2&order=addtime desc&target=_blank&template=null");}-->
{loop $tags $i $t} <a href="{$t[linkurl]}" rel="external nofollow" target="_blank"><span><img src="{$t[thumb]}" width="96" height="66" alt="" ></span> <strong>{$t[title]}</strong> <small>{dsubstr($t[introduce],76)}... <em>[详细]</em></small> </a> {/loop} </div>

希望本文所述方法对大家destoon开发能有所帮助。

您可能感兴趣的文章:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  destoon 调用