9.0 版本产品分类123级
<ul class="sortt">
<!--{foreach $productTreeCate as $volist}-->
<li class="layer1">
<a href="<!--{$volist.url}-->" class="list_item">
<!--{$volist.cname}-->
</a>
<div class="layer2">
<ul>
<!--{foreach $volist.childcategory as $seclist}-->
<li>
<a href="<!--{$seclist.url}-->" class="list_item">
<!--{$seclist.cname|truncate:30}-->
</a>
<div class="layer3">
<ul>
<!--{foreach $seclist.childcategory as $thirdlist}-->
<li>
<a href="<!--{$thirdlist.url}-->" class="list_item">
<!--{$thirdlist.cname|truncate:30}-->
</a>
</li>
<!--{/foreach}-->
</ul>
</div>
</li>
<!--{/foreach}-->
</ul>
</div>
</li>
<!--{/foreach}-->
</ul>
碎片
<ul class="product_listt roll_product clearfix">
<!--{foreach $sp.hot_product as $volist}-->
<li>
<a href="<!--{$volist.url}-->" title="<!--{$volist.title}-->" class="img">
<img src="<!--{$volist.thumbfiles}-->" alt="<!--{$volist.title}-->" />
</a>
<h3><a href="<!--{$volist.url}-->" title="<!--{$volist.title}-->"><!--{$volist.title}--></a></h3>
</li>
<!--{/foreach}-->
</ul>
友情链接
<div class="f_link">友情链接:
<!--{foreach $volist_fontlink as $volist}-->
<a href='<!--{$volist.linkurl}-->' target='_blank'>
<!--{$volist.linktitle}-->
</a>
<!--{/foreach}-->
</div>
西部版本(985之前版本)
<!--{if isset($count)}-->
<!--{/if}-->
阿里云版本(10.1)
{% if count is not empty %}
{% endif %}
限制个数 截取(985 之前版本)
<!--{if $volist@index lt 4}-->
<!--{/if}-->
9414 版本调取
新闻
<!-- $infos->show(1,5,0,0) 参数1为分类cid,参数2为显示数量,参数3为推荐,参数4为排序,1为正序 -->
<!--{foreach $infos->show(1,5,0,0) as $volist}-->
<li>
<a href="<!--{$volist.url}-->" title="<!--{$volist.title}-->"><img src="<!--{$volist.thumbfiles}-->" alt="<!--{$volist.title}-->" />
<!--{$volist.title|truncate:25:'...'}-->
</a><span><!--{$volist.timeline|date_format:"%Y-%m-%d"}--></span>
</li>
<!--{/foreach}-->
产品
<!-- $products->show(1,5,0,0) 参数1为分类cid,参数2为显示数量,参数3为推荐,参数4为排序,1为正序 -->
<!--{foreach $products->show(1,5,0,0) as $volist}-->
<li>
<a href="<!--{$volist.url}-->" title="<!--{$volist.title}-->"><img src="<!--{$volist.thumbfiles}-->" alt="<!--{$volist.title}-->" />
<h3><!--{$volist.title|truncate:20}--></h3>
</a>
</li>
<!--{/foreach}-->
$app->content->lists('case', 0, 6, 0)
案例
<!-- $cases->show(1,5,0,0) 参数1为分类cid,参数2为显示数量,参数3为推荐,参数4为排序,1为正序 -->
<!--{foreach $cases->show(1,5,0,0) as $volist}-->
<li>
<a href="<!--{$volist.url}-->" title="<!--{$volist.title}-->"><img src="<!--{$volist.thumbfiles}-->" alt="<!--{$volist.title}-->" />
<!--{$volist.title|truncate:25:'...'}-->
</a><span><!--{$volist.timeline|date_format:"%Y-%m-%d"}--></span>
</li>
<!--{/foreach}-->
广告图
<ul class="product_list3 clearfix">
<!--{foreach $ads_zone10 as $volist}-->
<li>
<a href="<!--{$volist.url}-->" title="<!--{$volist.adsname}-->" class="img">
<img src="<!--{$volist.uploadfiles}-->" alt="<!--{$volist.adsname}-->" />
<h3> <!--{$volist.adsname|truncate:20}--></h3>
</a>
</li>
<!--{/foreach}-->
</ul>
9.6.5 版本调取 (产品)
<ul class="c11_list clearfix">
<!--{foreach $app->content->lists('product', 1, 6, 0) as $volist}-->
<li>
<a href="<!--{$volist.url}-->" title="<!--{$volist.title}-->" class="img">
<img src="<!--{$volist.thumbfiles}-->" alt="<!--{$volist.title}-->" />
<h3><!--{$volist.title|truncate:20}--></h3>
</a>
</li>
<!--{/foreach}-->
</ul>