<{if !isset($num_per_line)}> <{assign var="num_per_line" value="8"}> <{/if}> <{if $num_per_line == 0 }>

<{$web.type.4.title}>

<{else}> <{assign var="total_percent" value="95"}> <{assign var="percent" value="`$total_percent/$num_per_line`"}>

  - <{$web.type.4.title}>
  - 申请友情链接>>
  - 更多友情链接>>
  <{* 文字链接 *}> <{assign var="link_num" value="1"}> <{foreach name=friend_link_data item=item_info from=$data_ary.commend_article[4]}> <{if $item_info.editor_mark > 9 && $item_info.icon_url ==''}>
  - <{$item_info.title}>
  <{if $link_num%$num_per_line == 0}>
  <{/if}> <{assign var="link_num" value="`$link_num+1`"}> <{/if}> <{/foreach}>
  <{* 图片链接 *}> <{assign var="link_num" value="1"}> <{foreach name=friend_link_data item=item_info from=$data_ary.commend_article[4]}> <{if $item_info.editor_mark > 9 && $item_info.icon_url !=''}> <{if $link_num == 1 }>
  <{/if}>
  <{if $link_num%$num_per_line == 0}>
  <{/if}> <{assign var="link_num" value="`$link_num+1`"}> <{/if}> <{/foreach}> <{if $link_num != 1 }>
  <{/if}>

<{/if}>