<{if !isset($home_name) }> <{assign var="home_name" value="网站首页"}> <{/if}> <{if !isset($order_mark) }> <{assign var="order_mark" value="500"}> <{/if}> <{if !isset($min_id) }> <{assign var="min_id" value="5"}> <{/if}> <{if !isset($max_num) }> <{assign var="max_num" value="20" }> <{/if}> <{if !isset($drop_menu) }> <{assign var="drop_menu" value="2" }> <{/if}> <{if !isset($current_type_id) }> <{assign var="current_type_id" value="0"}> <{/if}> <{if !isset($nav_only) }> <{assign var="nav_only" value="no"}> <{/if}> <{strip}> <{* 网站logo和横幅广告 第1部分 *}> <{if $nav_only != 'yes' }> <{if !isset($nav_type) || $nav_type==1 }>

<{elseif $nav_type==2}> <{elseif $nav_type==3}>

<{/if}> <{/if}>

<{assign var="type_num" value="1"}> <{if $data_ary.my_tag.top_nav.body_1|strip == '' }> <{foreach name=nav_item item=single_type from=$web.type}> <{if $single_type.parent_id == 0 && $single_type.order_mark < $order_mark && $type_num<=$max_num && $single_type.id > $min_id}> <{assign var="last_nav_id" value="`$single_type.id`"}> <{assign var="type_num" value="`$type_num+1`"}> <{/if}> <{/foreach}> <{assign var="type_num" value="1"}>
<{else}>
  <{$data_ary.my_tag.top_nav.body_1}>
<{/if}>

<{if $nav_only != 'yes' }> <{* 网站logo和横幅广告 第2部分 *}> <{if !isset($nav_type) || $nav_type==1 }> <{elseif $nav_type==2}>

<{elseif $nav_type==3}>

<{/if}> <{* 您的位置 *}> <{if !isset($position_text) || $position_text == '' }> <{if $data_ary.page_type == 'article' }> <{assign var="position_text" value="正文"}> <{elseif $data_ary.page_type == 'list' }> <{assign var="position_text" value="列表"}> <{elseif $data_ary.page_type == 'index'}> <{assign var="position_text" value="首页"}> <{elseif $data_ary.page_type == 'cover'}> <{assign var="position_text" value="频道封面"}> <{/if}> <{/if}> <{if !isset($your_position) }> <{assign var="your_position" value="您的位置："}> <{/if}> <{if !isset($arrow) }> <{assign var="arrow" value='→'}> <{/if}>

<{if $your_position != 'not_show' }>

<{$your_position}><{$web.name}> <{foreach name="type_nav_name" item="type_nav" from=$data_ary.parent_type_ary}> <{$arrow}> <{$type_nav.title}> <{/foreach}> <{$arrow}> <{$position_text}>
  <{if isset($change_color) && $change_color =='yes' }>
  - 改变网页主题色：
  - 蓝色
  - 绿色
  - 红色
  - 黄色
  - 粉色
  - 灰色
  <{else}>
  <{/if}>

<{/if}>

<{/if}> <{/strip}> <{* 导航条居中 *}> <{if $auto_posi == 'center' || $auto_posi == 'right' }>
<{/if}>