<!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>
<script type="text/javascript" src="../js/calendar/Calendar.js"></script>
<link id="calCss" type="text/css" href="../js/calendar/blue/blue.css" rel="Stylesheet" />
<script type="text/javascript" language="javascript"> 
//普通日历
$(function(){
	$("#search_start_date").datepicker();
	$("#search_end_date").datepicker();
})
</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> $langPreRecordView </tpl></h1>
 <i></i>
	</div>
	<b></b>
	</div><div id="own_main_rightop">
</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>
      <table border="1" cellpadding="0" cellspacing="0" bordercolor="#DEEBEF" style="overflow:visible; margin-top:10px" >
	  
		<tr class="tr_dotted">
          <td height="30" colspan="8" align="right"  style="padding-right:5px"><a href="own_predeposit.php?action=pay">
          <tpl> $langPrePay </tpl></a> | <a href="own_predeposit.php?action=cash_set"><tpl> $langPreCash </tpl></a> | <a href="own_predeposit.php?action=list"><tpl> $langPreDetailView </tpl></a> | <tpl> $langPreRecordView </tpl> | <a href="own_predeposit.php?action=cash_list"><tpl> $langPreCashView </tpl></a></td>
        </tr>
		<tr class="tr_FAFAFA">
		  <td height="30" colspan="8">
		<form action="own_predeposit.php" method="get">
		  <input type="hidden" name="action" id="action" value="record_list" />
		  	<table border="1" cellpadding="0" cellspacing="0" bordercolor="#DEEBEF" width="100%">
				<tr class="tr_FAFAFA">
					<td height="30" align="center" valign="middle" bgcolor="#F5F9FA">
						<tpl> $langPreDetailCreateTime </tpl>：<input type="text" name="search_start_date" style="border:solid 1px #B0DF82;cursor:pointer; width:100px; background:#FFF url(../js/calendar/blue/cal_btn.gif) no-repeat right; height:18px; padding-right:19px; "   class="new_input" id="search_start_date" size="15"  readonly="readonly" /> <tpl> $langPreSearchTo </tpl>
						<input type="text" name="search_end_date" style="border:solid 1px #B0DF82;cursor:pointer; width:100px; background:#FFF url(../js/calendar/blue/cal_btn.gif) no-repeat right; height:18px; padding-right:19px; "   class="new_input" id="search_end_date" size="15"  readonly="readonly" /> 

				  </td>
					<td height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPreCashType </tpl>：

						<select name="search_record_type" id="search_record_type">
							<option value=""></option>
							<option value="offline"><tpl> $langPreCashTypeOffline </tpl></option>
							<option value="alipay"><tpl> $langPreCashTypeAlipay </tpl></option>
							<option value="tenpay"><tpl> $langPreCashTypeTenpay </tpl></option>
						</select>
				  </td>
					<td height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPreState </tpl>：
						<select name="search_record_state" id="search_record_state">
							<option value=""></option>
							<option value="0"><tpl> $langPreRecordStateZero </tpl></option>
							<option value="1"><tpl> $langPreRecordStateOne </tpl></option>
							<option value="2"><tpl> $langPreRecordStateTwo </tpl></option>
						</select>
				  </td>
				</tr>
				<tr class="tr_FAFAFA">
				  <td height="30" colspan="3" align="right" bgcolor="#FCFEFE" style="padding-right:5px"><input type="submit" value="<tpl> $langPreSearch </tpl>" class="new_anniu" /></td>
				</tr>
			</table>
			</form>
		  </td>
        </tr>
        <tr class="tr_FAFAFA">
		  <th height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPreDetailCreateTime </tpl></th>
          <th height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPrePayment </tpl></th>
          <th height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPrePayAmount </tpl></th>
		  <th height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPreState </tpl></th>
          <th height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPreAction </tpl></th>
        </tr>
	 <tpl> if $record_array[0].predeposit_r_id neq '' </tpl>
        <tpl> section name=i loop=$record_array </tpl>
        <tr class="tr_dotted">
		  <td height="30" align="center" valign="middle" bgcolor="#FCFEFE"><tpl> $record_array[i].create_time </tpl></td>
          <td height="30" align="center" valign="middle" bgcolor="#FCFEFE">
		  	<tpl> if $record_array[i].payment_type eq '1' </tpl><!-- 线下 -->
		  		<tpl> $langPreCashTypeOffline </tpl>
			  <tpl> else </tpl>
				<tpl> if $record_array[i].payment eq 'alipay' </tpl>
					<tpl> $langPreCashTypeAlipay </tpl>
				<tpl> /if </tpl>
				<tpl> if $record_array[i].payment eq 'tenpay' </tpl>
					<tpl> $langPreCashTypeTenpay </tpl>
				<tpl> /if </tpl>
			  <tpl> /if </tpl>
		  </td>
          <td height="30" align="center" valign="middle" bgcolor="#FCFEFE">
		  	<tpl> if $record_array[i].payment_type eq '1' </tpl><!-- 线下 -->
		  		<tpl> $record_array[i].sender_amount </tpl>
			  <tpl> else </tpl>
				<tpl> $record_array[i].online_amount </tpl>
			  <tpl> /if </tpl>
		  </td>
		  <td height="30" align="center" valign="middle" bgcolor="#FCFEFE">
		  	<tpl> assign var=one value=$record_array[i].record_state </tpl>
			<tpl> $predeposit_record_state[$one] </tpl>
		  </td>
          <td height="30" align="center" valign="middle" bgcolor="#FCFEFE">
		  	<a href="own_predeposit.php?action=record_view&id=<tpl> $record_array[i].predeposit_r_id </tpl>">
		  	<tpl> $langPreView </tpl></a>
		  <tpl> if $record_array[i].payment_type eq '0' && $record_array[i].record_state eq '0' </tpl>
		  	<a target="_blank" href="own_predeposit.php?action=record_online_pay&id=<tpl> $record_array[i].predeposit_r_id </tpl>"><tpl> $langPrePay </tpl></a>
		  <tpl> /if </tpl>
		  </td>
        </tr>
		<div style="clear:both"></div>
        <tpl> /section </tpl>
	<tpl> /if </tpl>
		<tr class="tr_dotted">
          <td height="30" colspan="8" align="right" valign="middle"  style="padding-right:5px"><tpl> $langPreMemberAvailable </tpl><tpl> $member_array.available_predeposit|default:'0' </tpl></td>
        </tr>
		<tr class="tr_dotted">
          <td height="30" colspan="8" align="right" valign="middle"  style="padding-right:5px"><tpl> $page_list </tpl></td>
        </tr>
      </table>
		 <div style="clear:both"></div>
  </div>
   <div style="clear:both"></div>
  </div> <tpl> include file ='../../../html/footer.html' </tpl>
  </div>
</body>
</html>