<?php
$page_title = "Deposit";
include_once('template/base_head.php');
?>

			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>
				<form id="searchForm" action="" method="post">
					<div class="aside-heading">
						<div class="btns">
							<input type="button" id="btnSearchAll" value="All" class="btn bg-default px50 hi22">&nbsp;
							<input type="button" id="btnSearchToday" value="Today" class="btn bg-default px50 hi22">&nbsp;
							<input type="button" id="btnSearch" value="Search" class="btn bg-default px50 hi22">
						</div>
					</div>
					<table class="conditions fontS w100p">
						<colgroup>
							<col class="w50p">
							<col class="w50p">
						</colgroup>
						<tr>
							<th>Transaction Number</th>
							<td><input type="text" id="transaction_number" name="transaction_number" value="<?php $this -> echoSTransactionNumber(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Email Address</th>
							<td><input type="text" id="s_email" name="s_email" value="<?php $this -> echoSEmail(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Account Number</th>
							<td><input type="text" id="s_account" name="s_account" value="<?php $this -> echoSUserAccount(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Import Name</th>
							<td><input type="text" id="s_file_name" name="s_file_name" value="<?php $this -> echoSFileName(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>Currency Type</th>
							<td>
								<select id="s_currency" name="s_currency" class="w100p">
									<option value="">--- All ---</option>
									<?php $this -> echoCurrencyList(); ?>
								</select>
							</td>
						</tr>
						<tr>
							<th>Account Category</th>
							<td>
								<select id="test_account_flg" name="test_account_flg" class="w100p">
									<option value="">--- All ---</option>
									<?php $this -> echoTestAccountFlg(); ?>
							</td>
						</tr>
						<tr>
							<th>Bank Name</th>
							<td><input type="text" id="s_bank" name="s_bank" value="<?php $this -> echoSBankName(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Specify Amount</span>
								<input type="text" id="s_min_amount" name="s_min_amount" value="<?php $this -> echoSMin(); ?>" class="px80"> - <input type="text" id="s_max_amount" name="s_max_amount" value="<?php $this -> echoSMax(); ?>" class="px80">
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Processing Date</span>
								<p>
									<?php $this -> dispProcessFlg(); ?>
									<input type="text" id="s_from" name="s_from" value="<?php $this -> echoSFrom(); ?>" class="px110" placeholder="Date">  -  <input type="text" id="s_to" name="s_to" value="<?php $this -> echoSTo(); ?>" class="px110" placeholder="Date">
								</p>
							</td>
						</tr>
					</table>
					<p class="calign"><input type="button" id="btnImport" value="Import" class="btn bg-grad hi25 px100"></p>
					<input type="hidden" value="" id="s_type" name="type" />
				</form>
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain">
				<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
					<article>
						<form id="acForm" action="" method="post">
							<div class="article-heading">
								<h2><?php echo $page_title; ?></h2>
								<?php $this -> dispPager(); ?>
							</div>
							<?php $this -> echoMessage(); ?>
							<table class="table col bdr default odd w30p fontXS calign mb20">
								<tr>
									<th class="w20p">Currency</th>
									<th class="w30p">Number</th>
									<th class="w50p">Amount</th>
								</tr>
								<?php $this -> echoTotalList(); ?>
							</table>
								<table class="table col bdr default odd w100p fontXS calign">
									<tr>
										<th class="w10p">Import Date</th>
										<th class="w15p">Transaction Number</th>
										<th class="w5p">Account Number</th>
										<th class="w5p">Currency</th>
										<th class="w5p">Amount</th>
										<th class="w5p">Fee</th>
										<th class="w20p">Bank Name</th>
										<th class="w10p">Processing Date</th>
										<th class="w15p">Import File</th>
										<th class="w5p">Error</th>
										<th class="w5p">Check</th>
									</tr>
									<?php $this -> echoList(); ?>
								</table>
								<input type="hidden" value="action" id="type" name="type" />
								<input type="hidden" value="deposit" name="action" />
								<input type="hidden" id="d_id" name="d_id" />
								<input type="hidden" id="file_name" name="file_name" />
								<input type="hidden" value="" id="detail_account" name="detail_account" />
							<div class="article-bottom">
								<?php $this -> dispPager(); ?>
							</div>
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->

		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/deposit.js"></script>
</body>
</html>
