1.html截取字符串
{$child.name|escape:html|truncate:5,false}
2.foreach循环
<!--{foreach from=$cat.cat_id item=child name=no1}--> <!--{if $smarty.foreach.no1.index lt 3}--> <!--{if $smarty.foreach.no1.index gt 0}-->/<!--{/if}--> {$child.name|escape:html|truncate:5,false} <!--{/if}--> <!--{/foreach}-->
3.手机端去掉版权,mobile/include/app/defualt/common/function.php,第25行
$page_title = C('shop_title') . ' - ' . 'Powered by ECTouch.cn';