<{if !isset($article_type) }> <{assign var="article_type" value="new_article"}> <{/if}> <{if isset($data_ary[$article_type].0.title) }> <{assign var="article_data" value="`$data_ary[$article_type]`"}> <{else}> <{assign var="article_data" value="`$data_ary[$article_type][0]`"}> <{/if}> <{if !isset($item_num) }> <{assign var="item_num" value="12"}> <{/if}> <{if !isset($item_len) }> <{assign var="item_len" value="11"}> <{/if}>

<{$item_title}>
  <{foreach name=article_data item=item_info from=$article_data}> <{if $smarty.foreach.article_data.iteration <= $item_num}>
  1. • <{$item_info.title|cn_truncate:$item_len:"..":true}>
  <{/if}> <{/foreach}>