<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<tpl> $NCharset </tpl>" />
<link href="<tpl> $template_dir </tpl>/member/css/layout.css" rel="stylesheet" type="text/css" />
<tpl>include file ='../head.config.html'</tpl>
<link id="calCss" type="text/css" href="../js/calendar/blue/blue.css" rel="Stylesheet" />
<script type="text/javascript" src="../js/calendar/Calendar.js"></script>
</head>
<body> <tpl>include file ='../header.html'</tpl> 

<div id="container761">
  <div class="own_member_main">
 <tpl>include file ='own_menu.html'</tpl>
<div class="member_right">
	<div class="new_main_left">
		<div class="new_main_left1">
			<h1 class="new_text">
				<tpl> $langOwnStaticsProduct </tpl>
			</h1>
			<i></i>
		</div>
		<b></b>
	</div>
	<div id="own_main_rightop">
		<tpl> $langOwnStaticsProductRemark </tpl>
	</div>
<div id="own_main_rightop_line" style="margin-top:-3px;">
	<b class="b4"></b>
	<b class="b3"></b>
	<b class="b2"></b>
	<b class="b1"></b>
	</div>
	<div id="item_list_border">
	<form action="own_statics.php" method="get">
	<input type="hidden" name="action" id="action" value="product" />
	<!-- <input type="hidden" name="" id="" value="" /> -->
      <table border="1" cellpadding="0" cellspacing="0" bordercolor="#DDE0E3" style="overflow:visible; margin-top:10px" >
	  	<tr><td colspan="10"></td></tr>
		<tr><td colspan="10" align="right">
			<select name="sel_type" id="sel_type" onchange="form.submit();">
				<option value="end_time_desc" <tpl> if $condition.sel_type eq 'end_time_desc' </tpl>selected="selected"<tpl> /if </tpl>><tpl> $langOwnStaticsProductEndTime </tpl></option>
				<option value="storage_asc" <tpl> if $condition.sel_type eq 'storage_asc' </tpl>selected="selected"<tpl> /if </tpl>><tpl> $langOwnStaticsProductStorage </tpl></option>
				<option value="price_asc" <tpl> if $condition.sel_type eq 'price_asc' </tpl>selected="selected"<tpl> /if </tpl>><tpl> $langOwnStaticsProductPrice </tpl></option>
				<option value="view_num_asc" <tpl> if $condition.sel_type eq 'view_num_asc' </tpl>selected="selected"<tpl> /if </tpl>><tpl> $langOwnStaticsProductViewNum </tpl></option>
				<option value="sold_num_asc" <tpl> if $condition.sel_type eq 'sold_num_asc' </tpl>selected="selected"<tpl> /if </tpl>><tpl> $langOwnStaticsProductSoldNum </tpl></option>
				<option value="sold_sum_asc" <tpl> if $condition.sel_type eq 'sold_sum_asc' </tpl>selected="selected"<tpl> /if </tpl>><tpl> $langOwnStaticsProductSoldSum </tpl></option>
			</select>
		</td></tr>
        <tr class="tr_FAFAFA">
          <!-- <th align="center" valign="middle">&nbsp;</th> -->
          <th width="32%" align="center" valign="middle"><tpl> $langOwnStaticsProductName </tpl></th>
		  <th width="13%" align="center" valign="middle"><tpl> $langOwnStaticsProductSellType </tpl></th>
          <th width="13%" align="center" valign="middle"><tpl> $langOwnStaticsProductStorageNum </tpl></th>
          <th width="12%" align="center" valign="middle"><tpl> $langOwnStaticsPrice </tpl></th>
		  <th width="12%" align="center" valign="middle"><tpl> $langOwnStaticsViewNum </tpl></th>
		  <th width="12%" align="center" valign="middle"><tpl> $langOwnStaticsSoldNum </tpl></th>
		  <th width="14%" align="center" valign="middle"><tpl> $langOwnStaticsSoldSum </tpl></th>
        </tr>
        <tpl> section name=i loop=$product_array </tpl>
        <tr class="tr_dotted">
          <td align="center" valign="middle" style="color:#FF0000; padding:8px">
		  <tpl> if $product_array[i].p_recommended == "1" </tpl><tpl> $langCCommend </tpl><tpl> /if </tpl>
		  <tpl> if $ifhtml eq '1' && $product_array[i].html_url neq '' </tpl>
		  		<a target="_blank" href="<tpl> $product_array[i].html_url </tpl>">
				<tpl> $product_array[i].p_name </tpl></a>&nbsp;&nbsp;<span style="color:#FF9900; width:30px"><tpl> $product_array[i].p_sell_type_name </tpl></span>
		  <tpl> else </tpl>
		  		<a href="../home/product.php?action=view&pid=<tpl> $product_array[i].p_code </tpl>" target="_blank"><tpl> $product_array[i].p_name </tpl></a>&nbsp;&nbsp;<span style="color:#FF9900; width:30px"><tpl> $product_array[i].p_sell_type_name </tpl></span>
		  <tpl> /if </tpl>
		  <!-- 商品是否违规 -->
		  <tpl> if $product_array[i].p_irregularities eq '1' </tpl>
		  <tpl> $langProductIrregularities </tpl><tpl> $langProductUnder </tpl>
		  <tpl> /if </tpl>
		  </td>
		  <td align="center" valign="middle">
		  	<tpl> if $product_array[i].p_sell_type eq '0' </tpl>
				<tpl> $langOwnStaticsSellTypeZero </tpl>
			<tpl> /if </tpl>
			<tpl> if $product_array[i].p_sell_type eq '1' </tpl>
				<tpl> $langOwnStaticsSellTypeOne </tpl>
			<tpl> /if </tpl>
			<tpl> if $product_array[i].p_sell_type eq '2' </tpl>
				<tpl> $langOwnStaticsSellTypeTwo </tpl>
			<tpl> /if </tpl>
		  </td>
          <td align="center" valign="middle"><tpl> $product_array[i].p_storage </tpl></td>
          <td align="center" valign="middle" ><span class="fontred"><strong>
            <tpl> if $product_array[i].p_cur_price != '0.00' </tpl><tpl> $product_array[i].p_cur_price </tpl><tpl> $langCYuan </tpl> /</strong></span><br /><tpl> /if </tpl>
          <tpl> $product_array[i].p_price </tpl><tpl> $langCYuan </tpl>
		  </td>
		  <td align="center" valign="middle" >
		  	<tpl> $product_array[i].p_view_num </tpl>
		  </td>
		  <td align="center" valign="middle" >
		  	<tpl> $product_array[i].p_sold_num </tpl>
		  </td>
		  <td align="center" valign="middle" >
		  	<tpl> $product_array[i].p_sold_sum </tpl>
		  </td>
        </tr>	 
		<div style="clear:both"></div>
        <tpl> /section </tpl>
      </table>
	  </form>
	  <tpl> if $product_array[0].p_code neq '' </tpl>
		<div style="clear:both"></div>
		<div style="float:right; padding:10px"><tpl> $page_list </tpl></div>
	  <tpl> /if </tpl>
	</div>
	<div id="reviewed_buyedproduct" style="width:100%; height:100px; float:left; background-image:background-repeat:repeat-x; background-position:left top; margin-top:10px">
</div>
</div>
  <tpl> include file ='../../../html/footer.html' </tpl></div>
  </div>
</body>
</html>
<script>
$(function(){
   $("#start_time").datepicker();
   $("#end_time").datepicker();
})
</script>