Location: PHPKode > projects > HBcms > hbcms/template/zhtw-big5.tpl_3/article_detail.tpl.html
<html><head><meta http-equiv="Content-type" content="text/html; charset=big5">
<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;}

.bg_yellow{background: url("<{$web.img_dir}>/bg_yellow.gif");background-position: top;background-repeat: repeat-x;}
.bg_blue{background: url("<{$web.img_dir}>/bg_blue.gif");background-position: top;background-repeat: repeat-x;}
.bg_green{background: url("<{$web.img_dir}>/bg_green.gif");background-position: bottom;}

</style>
<link rel="stylesheet" href="<{$web.img_dir}>/main_css.css" type="text/css">
<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 bgcolor=#ffffff topmargin=0 marginheight=0 leftmargin=0 marginwidth=0>

<{*  ºô¯¸logo©M³»³¡¾î´T¼s§i  *}>
<TABLE width=100% border=0  cellpadding='0' cellspacing='0' align=center>
<TR>
	<TD><script>my_tag("web_logo",1);</script></TD>
	<TD width=100%><script>my_tag("top_text",1);</script></TD>
</TR>
</TABLE>
<{*  ¾É¯è±ø  *}>
<TABLE width=100% border=0  cellpadding='0' cellspacing='0' align=center >
<TR class="nav">
	<TD width=7 align=left valign=top><img src="<{$web.img_dir}>/nav_left.gif" width=7 height=26 align=absmiddle></td>

	<TD background="<{$web.img_dir}>/nav_bg.gif" nowrap="nowrap" align=center>
<{strip}>
<{if $data_ary.my_tag.top_nav.body_1|strip == '' }>
	<A HREF="/" target=_self>­º­¶</A>
	<{foreach name=all_type item=single_type from=$web.type}>
	<{if $single_type.parent_id == 0 && $single_type.id >5}>
	&nbsp;|&nbsp;<A HREF="<{$single_type.url}>" target=_self><{$single_type.title}></A> 
	<{/if}>
	<{/foreach}>
<{else}>
	<{$data_ary.my_tag.top_nav.body_1}>
<{/if}>
<{/strip}>
</td>
	<TD width=7 align=right valign=top><img src="<{$web.img_dir}>/nav_right.gif" width=7 height=26 align=absmiddle></td>
</tr>
  <tr> 
    <td height="3" colspan=20></td>
  </tr>
</table>
<center><script>my_tag("top_banner",1);</script></center>

<{*  ±zªº¦ì¸m  *}>
<TABLE width=100% border=0 align=center cellpadding="0" cellspacing="0">
<TR bgcolor="#FEEAEC" class=h23>
	<TD>
<img src="<{$web.img_dir}>/jt_red.gif" width=14 height=14 align=absmiddle> ±zªº¦ì¸m¡G<A HREF="/"><{$web.name}></A>
<{foreach name="type_nav_name" item="type_nav" from=$data_ary.parent_type_ary}>
 ¡÷ <A HREF="<{$type_nav.url}>"><{$type_nav.title}></A>
<{/foreach}>
 ¡÷ ¥¿¤å
</TD>
	<TD align=right><script>my_tag("my_text_001",1);</script></TD>
</TR>
  <tr> 
    <td height="3" bgcolor="#FF8896" colspan=20></td>
  </tr>
  <tr> 
    <td height="5" colspan=20></td>
  </tr>
</TABLE>



<TABLE align=center width=100% cellpadding="0" cellspacing="0">
<TR>
	<TD valign=top  width=180>
<{*  ¥ªÃ䳡¤À  *}>

	<table width="99%"  border="0" cellpadding="0" cellspacing="0">
      <tr bgcolor="#CDD885" class="h23">
        <td align=center><img src="<{$web.img_dir}>/jt_green.gif" width="9" height="9"> <font color="#697800"><strong>±ÀÂˤ峹</strong></font></td>
      </tr>
	  <tr>
	  <td class=bg_green>

<TABLE BORDER=0>
<{foreach name=commend_article_data item=item_info from=$data_ary.commend_article}>
<{if $smarty.foreach.commend_article_data.iteration <= 15}>
<tr>
	<TD class="pleft5">¡P<A HREF="<{$item_info.url}>" title="<{$item_info.title|strip_tags:true}>"><{$item_info.title|cn_truncate:11:"":true}></A></TD>
</tr>
<{/if}>
<{/foreach}>
</table>

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


<BR>
	<table width="99%"  border="0" cellpadding="0" cellspacing="0">
      <tr bgcolor="#70B7C0" class="h23">
        <td align=center><img src="<{$web.img_dir}>/jt_blue.gif" width="9" height="9"> <font color="#F0FFFF"><strong>³Ì·s¤å³¹</strong></font></td>
      </tr>
	  <tr>
	  <td class=bg_blue>

<TABLE BORDER=0>
<{foreach name=new_article_data item=item_info from=$data_ary.new_article}>
<{if $smarty.foreach.new_article_data.iteration <= 15}>
<tr>
	<TD class="pleft5">¡P<A HREF="<{$item_info.url}>" title="<{$item_info.title|strip_tags:true}>"><{$item_info.title|cn_truncate:11:"":true}></A></TD>
</tr>
<{/if}>
<{/foreach}>
</table>

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


<BR>

	<table width="99%"  border="0" cellpadding="0" cellspacing="0">
      <tr bgcolor="#DA9D5B" class="h23">
        <td align=center><img src="<{$web.img_dir}>/jt_yellow.gif" width="9" height="9"> <font color="#FFFFE6"><strong>¼öªù¤å³¹</strong></font></td>
      </tr>
	  <tr>
	  <td class=bg_yellow>

<TABLE BORDER=0>
<{foreach name=hot_article_data item=item_info from=$data_ary.hot_article}>
<{if $smarty.foreach.hot_article_data.iteration <= 15}>
<tr>
	<TD class="pleft5">¡P<A HREF="<{$item_info.url}>" title="<{$item_info.title|strip_tags:true}>"><{$item_info.title|cn_truncate:11:"":true}></A></TD>
</tr>
<{/if}>
<{/foreach}>
</table>

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





	</TD>
	<TD valign=top>
<{*  ¤¤¶¡³¡¤À  *}>
<{strip}>
	<table width="99%"  border="0" cellpadding="0" cellspacing="0">
      <tr bgcolor="#FF9726" class="h23">
        <td align=center><img src="<{$web.img_dir}>/jt_yellow_2.gif" width="54" height="23" align=absmiddle> <font color="#FFF7F2"><strong><{$data_ary.article_info.title}></strong></font></td>
      </tr>
	  <tr>
	  <td align=center>
<BR>
<{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="µ¹¦o/¥L¯d¨¥"><{$data_ary.article_info.author}></a>
	<{else}>
		<{$data_ary.article_info.author}>
	<{/if}>
<{/if}>
&nbsp;
²K¥[®É¶¡:
<{$data_ary.article_info.add_date|date_format:"%Y-%m-%d"}>
&nbsp;
­ì¤åµoªí®É¶¡:
<{$data_ary.article_info.write_date|date_format:"%Y-%m-%d"}>
&nbsp;
<span id="article_hits">¤H®ð:
<{$data_ary.article_info.hits+1}></span>
<{ if $data_ary.article_info.from!= '' }>
&nbsp;
¨Ó·½¡G
<{$data_ary.article_info.from}>
<{/if}>
<hr  >
 <TABLE >
<{*  ªø½g¤å³¹¤À­¶¤U©Ôµæ³æÅã¥Ü  *}>
<{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"}>¦r¡A¤À<{$data_ary.article_info.page_ary.total_page}>­¶¡A·í«e²Ä<{$data_ary.article_info.page_ary.current_page}>­¶¡A§Ö³t½­¶¡G<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}>


<{*  ¦pªG¬O°Ó«~¡AÅã¥Ü¦b½uÁʶRªº«H®§  *}>

<{if $data_ary.article_info.goods_status>0 }>
	<CENTER><P>
	<B>¦b½uÁʶR¡G</B>
	&nbsp;
	¥«³õ»ù¡G<B><s><{$data_ary.article_info.market_price}> ¤¸</s></B>
	&nbsp;
	<FONT  COLOR="red">·|­û»ù¡G<B><{$data_ary.article_info.member_price}> ¤¸</B></FONT>
	<{if $data_ary.article_info.member_price < $data_ary.article_info.market_price }>
		¡]§é¦©¡G<{math equation="(x / y)*100" x=$data_ary.article_info.member_price y=$data_ary.article_info.market_price format="%2.0f"}>%¡^

		&nbsp;
		¸`¬Ù¡G<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>ÁʶR</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="150" HEIGHT="40" BORDER="0" ALT="ÁʶR"></a>
	<{else}>
		<BR>&nbsp;<BR>
		<FONT COLOR="#CC0000">«Ü©êºp¡A¥Ø«e¸Ó°Ó«~¯Ê³f¡A¼È®ÉµLªkÁʶR</FONT>
	<{/if}>

	</CENTER>
<{/if}>



<{*  ªø½g¤å³¹¤À­¶³s±µÅã¥Ü  *}>
<{if $data_ary.article_info.page_ary.total_page > 1}>

<BR>&nbsp;<BR>
<CENTER><FONT COLOR=red><B>¤å³¹¤º®e¤À­¶</B></FONT>¡G<{$data_ary.article_info.page_ary.links|replace:" ":" | "}></CENTER>

<{/if}>

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

</CENTER>

</td> 
 </TR>
</table>
<{/strip}>
<{*  ¤W¤@½g¡A¤U¤@½g¤å³¹¡C³Ì¦h¥iÅã¥Ü¤W¤U¦U10½g¤å³¹  *}>
¬ÛÃö¤å³¹¡G
<{strip}>
<TABLE BORDER=0 width=88% align=center>
<tr>

<td valign=top>
<table>
<{foreach name=prev_articles item=item_info from=$data_ary.prev_articles}>
<tr>
<TD>
¡P<A HREF="<{$item_info.url}>"><{$item_info.title}></A>
</TD>
</tr>

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


<td valign=top>
<table>
<{foreach name=next_articles item=item_info from=$data_ary.next_articles}>
<tr>
<TD>
¡P<A HREF="<{$item_info.url}>"><{$item_info.title}></A>
</TD>
</tr>

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

</tr>

</table>
<{* ¤å³¹¯d¨¥µû½×³¡¤À *}>
<BR>
<a name=comment></a>
¬ÛÃöµû½×¡G
<hr>
<TABLE BORDER=0 width=95%>
<{foreach name=comment item=item_info from=$data_ary.comment}>
<tr>
	<TD>µû½×¤H¡G
	<{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="µ¹¦o/¥L¯d¨¥"><{$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>ºÞ²z­ûµª´_¡G</B><{$item_info.editor_note}></BLOCKQUOTE>
	<{/if}>
	<HR>
	</TD></tr>
<{/foreach}>
</table>


<{/strip}>


<SCRIPT LANGUAGE="JavaScript">
comment_author = 'µû½×¤H';
comment_content = 'µû½×¤º®e';
to_user_id = <{$data_ary.article_info.user_id}>;
</SCRIPT>
<span id=comment_form></span>
<br>
<img src="<{$web.img_dir}>/jt_yellow_3.gif" width=24 height=9 align=absmiddle> ¥»¤å³¹©ÒÄݤÀÃþ¡G<A HREF="/">­º­¶</A>
<{foreach name="type_nav_name" item="type_nav" from=$data_ary.parent_type_ary}>
 ¡÷ <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}>


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


	</TD>
	<TD valign=top width=180>
	<{*  ¥kÃ䳡¤À  *}>
	
	<table width="99%"  border="0" cellpadding="0" cellspacing="0">
      <tr bgcolor="#70B7C0" class="h23">
        <td align=left width=36 valign=top><img src="<{$web.img_dir}>/jt_blue_2.gif" width="36" height="22"></td>
		<td><font color="#F0FFFF"><strong><script>my_tag("my_text_002",1);</script></strong></font></td>
      </tr>
	  <tr>
	  <td colspan=2 bgcolor="#F2F9F9" align=center>

<script>my_tag("gg_160_600",1);</script>

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


<BR>
<TABLE width=99%>
<TR bgcolor="#94DBE7">
	<TD height=25 background="<{$web.img_dir}>/jt_blue_3.gif" style="background-repeat: no-repeat;" align=center><B><a href="/">ªð¦^ºô¯¸­º­¶</a></B></TD>
</TR>
<tr>
<td bgcolor="#F2F9F9">
<script>my_tag("feedback_text",1);</script>

</td></tr>
</TABLE>

<BR>





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

<P>&nbsp;<P>

<{*  ­¶©³³¡¤À  *}>

<script>my_tag("copyright",1);</script>


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