<!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> $langPreCashView </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> | <a href="own_predeposit.php?action=record_list"><tpl> $langPreRecordView </tpl></a> | <tpl> $langPreCashView </tpl></td>
        </tr>
		<tr class="tr_FAFAFA">
		  <td height="30" colspan="5">
		  <form action="own_predeposit.php" method="get">
		  	<input type="hidden" name="action" id="action" value="cash_list" />
		  	<table border="1" cellpadding="0" cellspacing="0" bordercolor="#DEEBEF" width="100%">
				<tr class="tr_FAFAFA">
					<td height="30" align="center" bgcolor="#F5F9FA">
						<tpl> $langPreCashSearchDate </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" class="new_input" 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; "  id="search_end_date" size="15"  readonly="readonly" /> 
				  </td>
					<td height="30" align="center" bgcolor="#F5F9FA"><tpl> $langPreCashType </tpl>：
						<select name="search_cash_type" id="search_cash_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" bgcolor="#F5F9FA"><tpl> $langPreState </tpl>：
						<select name="search_cash_state" id="search_cash_state">
							<option value=""></option>
							<option value="0"><tpl> $langPreDetailStateZero </tpl></option>
							<option value="1"><tpl> $langPreDetailStateOne </tpl></option>
							<option value="2"><tpl> $langPreDetailStateTwo </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> $langPreCashSearchDate </tpl></th>
          <th height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPreCashType </tpl></th>
          <th height="30" align="center" valign="middle" bgcolor="#F5F9FA"><tpl> $langPreCashAmount </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 $cash_array[0].predeposit_c_id neq '' </tpl>
        <tpl> section name=i loop=$cash_array </tpl>
        <tr class="tr_dotted">
		  <td height="30" align="center" valign="middle" bgcolor="#FCFEFE"><tpl> $cash_array[i].create_time </tpl></td>
          <td height="30" align="center" valign="middle" bgcolor="#FCFEFE">
		  	<tpl> if $cash_array[i].payment_type eq '1' </tpl><!-- 提现方式- -->
				<tpl> $langPreCashTypeOffline </tpl>
			<tpl> else </tpl>
				<tpl> if $cash_array[i].payment eq 'alipay' </tpl>
					<tpl> $langPreCashTypeAlipay </tpl>
				<tpl> /if </tpl>
				<tpl> if $cash_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> $cash_array[i].amount </tpl></td>
		  <tpl> assign var=one value=$cash_array[i].record_state </tpl>
		  <td height="30" align="center" valign="middle" bgcolor="#FCFEFE"><tpl> $predeposit_detail_state[$one] </tpl></td>
          <td height="30" align="center" valign="middle" bgcolor="#FCFEFE"><a href="own_predeposit.php?action=cash_view&id=<tpl> $cash_array[i].predeposit_c_id </tpl>">
          <tpl> $langPreView </tpl></a></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>