数据调用方法(后台创建)
一般默认标识为aboutus,是在关于我们里面的公司简介文档的标识
{php:$aboutus = phpok('aboutus')}
{if $aboutus}
<div class="about">
<div class="index_t"><span class="fl"><img src="/images/plus.png" align="absmiddle" style=" width:20px; height:20px"> <font color="#065bab">{$aboutus.title}</font></span><a href="{$aboutus.url}" title="{$aboutus.title}" class="fr nav_pro">更多 ></a></div>
<ul>
<li style=" line-height:1.8em; padding:1em;">{if $aboutus.thumb} <img src="{$aboutus.thumb.gd.auto}" alt="{$aboutus.title}" style="margin-left:3%;border:1px solid #e1e1e1;padding:1px;" align="right" width="40%">{/if}
{func phpok_cut $aboutus.note 180 …}
</li>
</ul>
</div>
<div class="clear"></div>
{/if}
【标题】 {$aboutus.title}
【链接】 {$aboutus.url}
【缩略图】 {if $aboutus.thumb} <img src="{$aboutus.thumb.gd.auto}" alt="{$aboutus.title}" >{/if}
【文字内容】 {func phpok_cut $aboutus.note 180 …}