Location: PHPKode > projects > HBcms > hbcms/template/zh-gb2312.tpl_9.gray/top_nav.tpl.html
 
<!-- ÍøÕ¾logoºÍ¶¥²¿ºá·ù¹ã¸æ -->
<TABLE class="tb_w" border=0 cellpadding='0' cellspacing='0' align=center>
<TR>
	<TD class=top_bg_1><script>my_tag("web_logo",1);</script></TD>
	<TD class=top_bg_2><script>my_tag("top_text",1);</script></TD>
</TR>
</TABLE>

<!-- µ¼º½Ìõ -->
<{strip}>
<TABLE class="tb_w nav" border=0  cellpadding='0' cellspacing='0' align=center>
<TR><td class="nav_left"></td>
<td align=center  class="nav_body">

<{*
Èç¹ûÏ£Íûij¸öÀ¸Ä¿²»ÔÚµ¼º½ÌõÉÏÏÔʾ£¬ÉèÖÃËüµÄÅÅÐòÊôÐÔ´óÓÚ2000¼´¿É 
Èç¹ûÏ£Íûij¸öÀ¸Ä¿²»ÔÚÊ×Ò³Öв¿ÏÔʾ£¬ÉèÖÃËüµÄÅÅÐòÊôÐÔ´óÓÚ1000¼´¿É 
*}>
<table border=0 cellpadding='0' cellspacing='0' align=center>
	<tr>
		<td>
<{assign var="item_num" value="1"}>
<{if $data_ary.my_tag.top_nav.body_1|strip == '' }>
	<ul> <li class="item nav0"><A HREF="/" target=_self><h1>ÍøÕ¾Ê×Ò³</h1></A></li>
	<{foreach name=nav_item item=single_type from=$web.type}>
	<{if $single_type.parent_id == 0  && $single_type.order_mark < 2000 && $single_type.id >5}>
		<li class="split"></li>
		<li class="item nav<{$single_type.id}>"><A HREF="<{$single_type.url}>" target=_self><h1 class="split"><{$single_type.title}></h1></A></li>
	<{assign var="item_num" value="`$item_num+1`"}>
	<{/if}>
	<{/foreach}></ul>
<{else}>
	<div class="top_nav"><{$data_ary.my_tag.top_nav.body_1}></div>
<{/if}>

</td>

	</tr>
</table>
 

</td><td class="nav_right"></td></tr></table>
 
<{/strip}>




<{*  ÄúµÄλÖà  *}>
<{if $page_type == 'article' }>
	<{assign var="position_text" value="ÕýÎÄ"}>
<{elseif $page_type == 'list' }>
	<{assign var="position_text" value="Áбí"}>
<{elseif $page_type == 'index'}>
	<{assign var="position_text" value="Ê×Ò³"}>
<{elseif $page_type == 'cover'}>
	<{assign var="position_text" value="ƵµÀ·âÃæ"}>
<{/if}>
<{if isset($page_position_text) }>
	<{assign var="position_text" value="`$page_position_text`"}>
<{/if}>

<table class="tb_w posi" border="0" cellspacing="0" cellpadding="0" align=center>
<TR class=tr1>
	<TD align=left class=td1>

ÄúµÄλÖãº<A HREF="<{$web.url}>"><{$web.name}></A>
<{foreach name="type_nav_name" item="type_nav" from=$data_ary.parent_type_ary}>
<FONT face="ËÎÌå">¡ú</FONT> <A HREF="<{$type_nav.url}>"><{$type_nav.title}></A>
<{/foreach}>
<FONT face="ËÎÌå">¡ú</FONT> <{$position_text}>
</TD>
<TD class=td2><script>my_tag("my_text_001",2);</script></TD>
<TD align=right class=td3><script>my_tag("my_text_001",1);</script></TD>
</TR>
<tr class=tr2><td colspan=10></td></tr>
<tr class=tr3><td colspan=10></td></tr>
</TABLE>




<center><div>
<{if $data_ary.my_tag.top_banner.body_1|strip_tags != ''}>
<script>my_tag("top_banner",1);</script>
<{else}><{/if}>
</div></center>

<table class="tb_w"  border="0" cellspacing="0" cellpadding="0" align=center>
  <tr>
   <td class="table_bg_1_left"></td> <td class="table_bg_1"></td>
  </tr>
</table>
Return current item: HBcms