<{if !isset($article_type) }> <{assign var="article_type" value="new_article"}> <{/if}> <{if !isset($item_num) }> <{assign var="item_num" value="10"}> <{/if}> <{if !isset($item_len) }> <{assign var="item_len" value="18"}> <{/if}> <{if !isset($more_text) }> <{assign var="more_text" value="更多..."}> <{/if}> <{if !isset($tab_id_prefix) }> <{assign var="tab_id_prefix" value="hb_tab"}> <{/if}> <{if isset($custom_str) && $custom_str != ''}>

<{assign var="tab_num" value="1"}> <{foreach name=all_type_1 item=single_type from=$web.type}> <{if ( $single_type.property == 'list' || $single_type.property == 'cover' ) && $single_type.custom_str|strstr:$custom_str }> <{assign var="type_id" value="`$single_type.id`"}>
- <{$web.type[$single_type.id].title}>
<{assign var="tab_num" value="`$tab_num+1`"}> <{/if}> <{/foreach}>

<{assign var="tab_num" value="1"}> <{foreach name=all_type_2 item=single_type from=$web.type}> <{if ( $single_type.property == 'list' || $single_type.property == 'cover' ) && $single_type.custom_str|strstr:$custom_str }> <{hbcms_load_data type_id="`$single_type.id`" article_type="`$article_type`" var="article_data"}>

<{assign var="real_item_num" value="1"}> <{foreach name=article_data item=item_info from=$article_data}> <{if $real_item_num <= $item_num}>
- <{if isset($date_format) && $date_format != '' }> <{$item_info.timestamp|date_format:$date_format}> <{/if}><{$prefix_str|default:$real_item_num}><{$item_info.title|cn_truncate:$item_len:"..":true}>
<{assign var="real_item_num" value="`$real_item_num+1`"}> <{/if}> <{/foreach}>

<{$more_text}>
<{assign var="tab_num" value="`$tab_num+1`"}> <{/if}> <{/foreach}> <{else}> 请设置栏目的自定义属性为 <{$custom_str}> <{/if}> <{* 本lib库的基本用法： 1. 调用lib库，设置好custom_str、tab_id_prefix等参数 2. 把CMS目录/script/jquery/ui.tabs.css的内容复制到模板css文件中去修改tab外观 3. 载入jquery，让tab工作起来 下面是模板范例代码：
<{include file="../lib/hb.many_type_tabs.tpl.html" custom_str="index_show_1" tab_id_prefix="hb_tab_1" }>
*}>