Location: PHPKode > projects > HBcms > hbcms/template/zh-gb2312.tpl_9.gray/article_detail.tpl.html
<html><head><meta http-equiv="Content-type" content="text/html; charset=gb2312">

<title><{$data_ary.article_info.title|strip_tags:true}> - <{$data_ary.type_info.title}> - <{$web.name}></title>

<{if $data_ary.article_info.keyword != ''}>
<META NAME="Keywords" CONTENT="<{$data_ary.article_info.keyword}>">
<{/if}>

<{if $data_ary.article_info.desc != ''}>
<META NAME="Description" CONTENT="<{$data_ary.article_info.desc}>">
<{/if}>

<style>
body,td{font-size:9pt;}
</style>
<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_<{$data_ary.type_info.id}>.js"></script>
</head>

<body >

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

 


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

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


	</TD>
	<TD valign=top>
<{*  Öм䲿·Ö  *}>
 
<div class="main_title"><CENTER><{$data_ary.article_info.title}></CENTER></div>
<div class="main_body">
<{strip}>
<CENTER><div class=article_info><{if $data_ary.article_info.author != ''}>
Ô­×÷Õß:
	<{if $data_ary.article_info.user_id >0 }>
		<A HREF="/<{$web.cms_dir}>/user/add_msg.php?to_user_id=<{$data_ary.article_info.user_id}>&to_user_name=<{$data_ary.article_info.author}>" target=_blank title="¸øËý/ËûÁôÑÔ"><{$data_ary.article_info.author}></a>
	<{else}>
		<{$data_ary.article_info.author}>
	<{/if}>
<{/if}>
&nbsp;
Ìí¼Óʱ¼ä:
<{$data_ary.article_info.add_date|date_format:"%Y-%m-%d"}>
&nbsp;
Ô­ÎÄ·¢±í:
<{$data_ary.article_info.write_date|date_format:"%Y-%m-%d"}>
&nbsp;
<span id="article_hits">ÈËÆø:
<{$data_ary.article_info.hits+1}></span>
<{ if $data_ary.article_info.from!= '' }>
&nbsp;
À´Ô´£º
<{$data_ary.article_info.from}>
<{/if}></div>
</CENTER>
<hr class=list_r>

 <table class="jump_page_box">
<{*  ³¤ÆªÎÄÕ·ÖÒ³ÏÂÀ­²Ëµ¥ÏÔʾ  *}>
<{if $data_ary.article_info.page_ary.total_page > 1}>

<tr><td align=right>

±¾ÎÄÕ¹²<{math equation="x / y" x=$data_ary.article_info.size y=2 format="%d"}>×Ö£¬·Ö<{$data_ary.article_info.page_ary.total_page}>Ò³£¬µ±Ç°µÚ<{$data_ary.article_info.page_ary.current_page}>Ò³£¬¿ìËÙ·­Ò³£º<select onchange="location.href=this.value">
<{foreach name=pg_title item=item_info from=$data_ary.article_info.page_ary.data}>
<option value="<{$item_info.url}>"

<{if $smarty.foreach.pg_title.iteration == $data_ary.article_info.page_ary.current_page}>
 selected 
<{/if}>

><{$item_info.title}></A></option>
<{/foreach}>
</select>
<BR>&nbsp;<BR>
</td></tr>

<{/if}>

<tr> <TD>
<CENTER>
<SCRIPT>my_tag("gg_468_60",1);</SCRIPT>
</CENTER><BR>

<{$data_ary.article_info.body}>


<{*  Èç¹ûÊÇÉÌÆ·£¬ÏÔʾÔÚÏß¹ºÂòµÄÐÅÏ¢  *}>

<{if $data_ary.article_info.goods_status>0 }>
	<CENTER><div class=buy><P>
	<B>ÔÚÏß¹ºÂò£º</B>
	&nbsp;
	Êг¡¼Û£º<B><s><{$data_ary.article_info.market_price}> Ôª</s></B>
	&nbsp;
	<FONT  COLOR="red">»áÔ±¼Û£º<B><{$data_ary.article_info.member_price}> Ôª</B></FONT>
	<{if $data_ary.article_info.member_price < $data_ary.article_info.market_price }>
		£¨ÕÛ¿Û£º<{math equation="(x / y)*100" x=$data_ary.article_info.member_price y=$data_ary.article_info.market_price format="%2.0f"}>%£©

		&nbsp;
		½ÚÊ¡£º<FONT  COLOR="red"><{math equation="x - y" x=$data_ary.article_info.market_price y=$data_ary.article_info.member_price}></font> Ôª
	<{/if}>

	<{if $data_ary.article_info.goods_status>=5 }>
		&nbsp;
		<a href="/<{$web.cms_dir}>/user/shopping.php?id=<{$data_ary.article_info.id}>#main" target=_blank><B>¹ºÂò</B></a>
		<BR>&nbsp;<BR>
		<a href="/<{$web.cms_dir}>/user/shopping.php?id=<{$data_ary.article_info.id}>#main" target=_blank><IMG SRC="<{$web.img_dir}>/buy.gif" WIDTH="175" HEIGHT="69" BORDER="0" ALT="¹ºÂò"></a>
	<{else}>
		<BR>&nbsp;<BR>
		<FONT COLOR="#0000AA">ºÜ±§Ç¸£¬Ä¿Ç°¸ÃÉÌƷȱ»õ£¬ÔÝʱÎÞ·¨¹ºÂò</FONT>
	<{/if}>
	</div>
	</CENTER>
<{/if}>




<{*  ³¤ÆªÎÄÕ·ÖÒ³Á¬½ÓÏÔʾ  *}>
<{if $data_ary.article_info.page_ary.total_page > 1}>

<BR>&nbsp;<BR>
<table align=center><tr><td  class=page_links>
<CENTER><B><FONT COLOR=red>±¾ÎÄÕ¸ü¶àÄÚÈÝ</FONT></B>£º<{$data_ary.article_info.page_ary.links|replace:" ":" - "}></CENTER>
</td>	</tr></TABLE>

<{/if}>

<br />&nbsp;<br />
<TABLE border=0 class="this_page_url" align=center>
<TR>
	<TD><div class="button_001" style="width:300px;" onclick="window.clipboardData.setData('text','http://<{$web.domain}><{$data_ary.article_info.url}>');alert('ÍøÖ·¸´ÖƳɹ¦£¬Òѱ£´æµ½¼ôÌù°å£¬Äú¿ÉÒÔʹÓÃCtrl+VÕ³ÌùÔÚQQ»òMSNÖÐ');">µãÕâÀ︴ÖƱ¾Ò³µØÖ··¢Ë͸øÄúQQ/MSNÉϵĺÃÓÑ</div></TD>
</TR>
</TABLE>

 


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

</td> 
 </tr>
</table>




<{*  ÉÏһƪ£¬ÏÂһƪÎÄÕ¡£×î¶à¿ÉÏÔʾÉÏϸ÷10ƪÎÄÕ  *}>
<div class="button_001">Ïà¹ØÎÄÕÂ</div>
<hr class=list_r> 
<TABLE BORDER=0 align=center class="relate_aritcle">
<tr>
<td valign=top>
<table>
<{foreach name=prev_articles item=item_info from=$data_ary.prev_articles}>
<tr>
<TD>
&#8226; <A HREF="<{$item_info.url}>"><{$item_info.title|cn_truncate:20:"":true}></A>
</TD>
</tr>

<{/foreach}>
</table>
</td>


<td valign=top>
<table>
<{foreach name=next_articles item=item_info from=$data_ary.next_articles}>
<tr>
<TD>
&#8226; <A HREF="<{$item_info.url}>"><{$item_info.title|cn_truncate:20:"":true}></A>
</TD>
</tr>

<{/foreach}>
</table>
</td>

</tr>

</table>

<{* ÎÄÕÂÁôÑÔÆÀÂÛ²¿·Ö *}>
<BR>
<a name=comment></a>
<div class="button_001">Ïà¹ØÆÀÂÛ</div>
<hr class=list_r> 
<TABLE BORDER=0 class="relate_comment">
<{foreach name=comment item=item_info from=$data_ary.comment}>
<tr>
	<TD>ÆÀÂÛÈË£º
	<{if $item_info.user_id > 0}>
		<A HREF="/<{$web.cms_dir}>/user/add_msg.php?to_user_id=<{$item_info.user_id}>&to_user_name=<{$item_info.user_name}>" target=_blank title="¸øËý/ËûÁôÑÔ"><{$item_info.author}></A>
	<{else}>
		<{$item_info.author}>
	<{/if}>
	</TD>
	<TD><{$item_info.add_date|date_format:"%Y-%m-%d"}></TD>
</tr>
<tr>
	<TD colspan=2>
	<{$item_info.body}>
	<{if $item_info.editor_note != '' }>
		<BLOCKQUOTE><B>¹ÜÀíÔ±´ð¸´£º</B><{$item_info.editor_note}></BLOCKQUOTE>
	<{/if}>
	<hr class=list_r> 
	</TD></tr>
<{/foreach}>
<{ if $smarty.foreach.comment.iteration >= $web.comment_num }>
	<tr><TD colspan=2 align=right>
	 <A HREF="/<{$web.cms_dir}>/user/guestbook.php?article_id=<{$data_ary.article_info.id}>&article_title=<{$data_ary.article_info.title}>" target=_blank>¸ü¶à&gt;&gt;</a>&nbsp;&nbsp;
	<!-- <hr class=list_r>  -->
	</TD></tr>
<{/if}>
</table>


<{/strip}>


<SCRIPT LANGUAGE="JavaScript">
comment_author = 'ÆÀÂÛÈË';
comment_content = 'ÆÀÂÛÄÚÈÝ';
to_user_id = <{$data_ary.article_info.user_id}>;
article_id = <{$data_ary.article_info.id}>;
</SCRIPT>
<span id="comment_form"></span>



<br>
<div class="relate_category"> ±¾ÎÄÕÂËùÊô·ÖÀࣺ<A HREF="/">Ê×Ò³</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}>

<{if $data_ary.type_info_2.title != ''}>
&nbsp; <A HREF="<{$data_ary.type_info_2.url}>"><{$data_ary.type_info_2.title}></A>
<{/if}>
</div>



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

<{include file="vertical_nav_2.tpl.html"}>
	</TD>
</TR>
</TABLE>



<{*  Ò³µ×²¿·Ö  *}>
<div id="cp">
<script>my_tag("copyright",1);</script>
</div>




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