Location: PHPKode > projects > HBcms > hbcms/template/zh-gb2312.tpl_9.gray/index.tpl.html
<html><head><meta http-equiv="Content-type" content="text/html; charset=gb2312">
<title><{$web.name}>:<{$web.desc}></title>
<META NAME="Keywords" CONTENT="<{$web.name}>,<{$web.desc}>">
<{if $data_ary.my_tag.web_desc.body_1|strip_tags != ''}>
<META NAME="Description" CONTENT="<{$data_ary.my_tag.web_desc.body_1|strip_tags}>">
<{else}>
<META NAME="Description" CONTENT="<{$web.name}>,<{$web.desc}>">
<{/if}>

<style>
body,td{font-size:9pt;font-family:arial;}
</style>


<base target=_blank></base>

<SCRIPT LANGUAGE="JavaScript">
tpl_img_dir = "<{$web.img_dir}>";
</SCRIPT>
<script src="<{$web.img_dir}>/main_css.js"></script>
<script src="/<{$web.cms_dir}>/script/category_0.js"></script>
<script src="/<{$web.cms_dir}>/script/category_90000.js"></script>

</head>
<body bgcolor=#ffffff topmargin=0 marginheight=0 leftmargin=0 marginwidth=0>

<!-- ¶¥²¿²¿·Ö(º¬µ¼º½Ìõ£¬¶¥²¿Í¼Æ¬ÉèÖõÈ) -->
 
<{include file="top_nav.tpl.html" page_type="index" }>


 

<TABLE align=center  cellpadding='0' cellspacing='0' class="tb_w">
<TR>
	<TD valign=top class="page_left">
<!-- ×ó±ßÊ÷Ð½Ìõ -->

<{include file="vertical_nav_1.tpl.html"}>

	</TD>
	<TD valign=top class="page_center">
<!-- Öм䲿·Ö -->

<div class="main_title">
<{$web.name}>£º<{$web.desc}>
</div>
<div class="main_body" >



<TABLE class="focus_tb" align=center  cellpadding=0 cellspacing=0>
<TR>
	<TD class=td1 align=center><script>my_tag("index_main_part",1);</script>
</TD>
<TD class=td2 valign=top>
	
	<TABLE align=center  cellpadding=0 cellspacing=0 width=100% class="focus_tb_2">
	<tr class="tr1"><td colspan=2>½ñ ÈÕ Í· Ìõ <BR></td></tr>
	<{foreach name=new_article_data item=item_info from=$data_ary.new_article[6]}>
	<{if $smarty.foreach.new_article_data.iteration <= 6}>
	<TR class="tr2">
		<TD><{$smarty.foreach.new_article_data.iteration}>.&nbsp; <A HREF="<{$item_info.url}>"><{$item_info.title|cn_truncate:18:"...":true}></A></TD>
		<TD align=right><{$item_info.timestamp|date_format:"%m-%d"}></TD>
	</TR>
	<{/if}>
	<{/foreach}>

	<tr class="tr3"><td align=right colspan=2><a href="<{$data_ary.all_type.6.url}>">More</a></td></tr>
	</TABLE>

</TD>
</TR></TABLE>


	</div>
	</div>

	<CENTER><script>my_tag("banner_0",1);</script></CENTER>

<!-- Öм䲿·Ö£º¶¥¼¶À¸Ä¿Áбí -->
<{strip}>

<table width=100% cellpadding='2' cellspacing='0'><tr>
<{assign var="type_num" value="1"}>
<{foreach name=all_type item=single_type from=$data_ary.all_type}>
<{if $single_type.parent_id == 0 && $single_type.order_mark < 1000 && $single_type.id !=4 && $single_type.id != 6 && ( $single_type.property == 'list' || $single_type.property == 'cover' )}>
	<td valign=top style="width:50%;">
 
	<div  class="category_title">
	<table width=100% cellpadding=0 cellspacing=0 border=0>
	<TR>
		<TD class=td1><A HREF="<{$single_type.url}>"><{$single_type.title}></A></TD>
		<TD align=right class=td2><div class=more><a href="<{$single_type.url}>" title="¹²<{$web.type[$single_type.id].total_num}>ƪÎÄÕÂ">¸ü¶à&gt;&gt;</a></div></TD>
	</TR>
	</TABLE>
	</div>

	<div class="category_body" >

	<{assign var="image_article_id" value="0"}>
	<{assign var="article_num" value="10"}>

	<{* ´Ócommend_article_dataÀïÏÔʾһÕÅͼƬ£¬¿É»»³Énew_article_data *}>

	<{foreach name=commend_article_data item=item_info from=$data_ary.commend_article[$single_type.id]}>
	<{if $item_info.icon_url != '' && $image_article_id == 0 }>

	<TABLE align=center width=100% cellpadding=0 cellspacing=0 border=0>
	<TR>
		<TD valign=top class=td1><div class=s_img_div ><p><A HREF="<{$item_info.url}>"><img src="<{$item_info.icon_url}>"  onload="if ( this.width>62 ) {this.width=62;} if (this.height>62){this.height=62;}" border=0></a></p></div></TD>
		<TD valign=top class=td2><A HREF="<{$item_info.url}>"><{$item_info.title|cn_truncate:14:"..":true}></A><br>
		 <{$item_info.desc|cn_truncate:30:"...":true}> 
		</TD>
	</TR>
	</TABLE>


	<{assign var="image_article_id" value="`$item_info.id`"}>
	<{assign var="article_num" value="`$article_num-4`"}>

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


	<{* ÏÔʾ¸ÃÀ¸Ä¿×îеÄÎÄÕ£¬¿É»»³Écommend_article_data *}>

	

	<{foreach name=new_article_data item=item_info from=$data_ary.new_article[$single_type.id]}>
	<{if $smarty.foreach.new_article_data.iteration <= $article_num }>

	<{if $image_article_id == $item_info.id }>
		<{assign var="article_num" value="`$article_num+1`"}>
	<{else}>
		<span class=dot>&#8226;</span> <A HREF="<{$item_info.url}>"><{$item_info.title|cn_truncate:20:"..":true}></A>
			<{if $item_info.has_image == 1}>(ͼ)<{/if}>
		<BR>
	<{/if}>

	<{/if}>
	<{/foreach}>
	</div>
 
	</td>

	<{if $type_num%2 == 0}>
	</tr><tr><td align=center colspan=4><script>my_tag("banner_<{$type_num/2}>",1);</script></td></tr><tr>
	<{/if}>

	<{assign var="type_num" value="`$type_num+1`"}>

<{/if}>
<{/foreach}>
</tr></table>

<{if $smarty.foreach.all_type.iteration < 3}>
<br />&nbsp;<br />
<center><a href="/<{$web.cms_dir}>/admin/type_add.php?next_url=help_new_webmaster.php">µã»÷ÕâÀïΪÍøÕ¾Ìí¼ÓÐÂÀ¸Ä¿(ƵµÀ)</a>
<br />&nbsp;<br />
ÄúÌí¼ÓµÄÀ¸Ä¿ºÍÎÄÕ£¬½«»áÏÔʾÔÚÕâÀï
</center>
<{/if}>


<{/strip}>


	
</TD>
<TD valign=top class="page_right">
	
<!-- ÓÒ±ßÊ÷Ð½Ìõ -->

<{include file="vertical_nav_2.tpl.html"}>

</TD></TR></TABLE>


<!-- ÓÑÇéÁ´½Ó -->

<!-- link_num_pre_line=8²ÎÊý±íʾÿÐÐ8¸öÁ´½Ó -->
<{assign var="link_num_pre_line" value="8"}> 

<TABLE align=center  cellpadding='5' cellspacing='0' class="tb_w links" >
<TR class="tr1">
	<TD colspan="<{$link_num_pre_line-2}>" class=td1>
<{$data_ary.all_type.4.title}>:
</td><TD colspan=2 class=td2>

<a href="/<{$web.cms_dir}>/user/add_friend_link.php">ÉêÇëÓÑÇéÁ´½Ó&gt;&gt;</a> - <a href="<{$data_ary.all_type.4.url}>">¸ü¶àÓÑÇéÁ´½Ó&gt;&gt;</a>

</td></tr><tr class="tr2">
<!-- ÎÄ×ÖÁ´½Ó -->
<{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 ==''}>
	<td>
	<A HREF="<{$item_info.url}>"><{$item_info.title}>
	</td>
	<{if $link_num%$link_num_pre_line == 0}>
	</tr><tr class="tr2">
	<{/if}>
	<{assign var="link_num" value="`$link_num+1`"}>
<{/if}>
<{/foreach}>

</tr><tr class="tr3">

<!-- ͼƬÁ´½Ó -->
<{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 !=''}>
	<td>
	<A HREF="<{$item_info.url}>"><img src="<{$item_info.icon_url}>" width=88 height=31 border=0 alt="<{$item_info.title|strip_tags:false}>"></A>
	</td>
	<{if $link_num%$link_num_pre_line == 0}>
	</tr><tr class="tr3">
	<{/if}>
	<{assign var="link_num" value="`$link_num+1`"}>
<{/if}>
<{/foreach}>

</TR>
</TABLE>



<!-- Ò³µ×²¿·Ö -->
<div id="cp">
<{$data_ary.my_tag.copyright.body_1}>
</div>

<{$data_ary.my_tag.index_bottom_part.body_1}>



</body>
</html>
Return current item: HBcms