<?php
$page_title = "口座振替";
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="すべて" class="btn bg-default px50 hi22">&nbsp;
						<input type="button" id="btnSearchToday" value="本日" class="btn bg-default px50 hi22">&nbsp;
						<input type="button" id="btnSearch" value="検索" class="btn bg-default px50 hi22">
						<input type="button" id="btnCreate" value="振替" class="btn bg-default px50 hi22">
					</div>
				</div>
				<table class="conditions fontS w100p">
					<colgroup>
						<col class="w50p">
						<col class="w50p">
					</colgroup>
					<tr>
						<th>取引番号</th>
						<td><input type="text" id="transaction_number" name="transaction_number" value="<?php $this -> echoSTransactionNumber(); ?>" class="w100p"></td>
					</tr>
					<tr>
						<th>送金元口座番号</th>
						<td><input type="text" name="s_from_account" id="s_from_account" value="<?php $this -> echoSFromAccount(); ?>" class="w100p"></td>
					</tr>
					<tr>
						<th>送金先口座番号</th>
						<td><input type="text" name="s_to_account" id="s_to_account" value="<?php $this -> echoSToAccount(); ?>" class="w100p"></td>
					</tr>
					<tr>
						<th>口座カテゴリー</th>
						<td>
							<select id="test_account_flg" name="test_account_flg" class="w100p">
								<option value="">--- すべて ---</option>
								<?php $this -> echoTestAccountFlg(); ?>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<span class="th">日時指定</span>
							<p>
								<input type="text" name="s_from" id="s_from" value="<?php $this -> echoSFrom(); ?>" class="px110" placeholder="日付"> - <input type="text" name="s_to" id="s_to" value="<?php $this -> echoSTo(); ?>" class="px110" placeholder="日付">
							</p>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<span class="th">種別指定</span>
							<label><input type="checkbox" name="s_process_type[]" value="0" <?php $this -> echoSProcessType(0); ?>> ユーザー</label>&emsp;
							<label><input type="checkbox" name="s_process_type[]" value="1" <?php $this -> echoSProcessType(1); ?>> アドミン</label>&emsp;
							<label><input type="checkbox" name="s_process_type[]" value="2" <?php $this -> echoSProcessType(2); ?>> API</label>&emsp;
							<label><input type="checkbox" name="s_process_type[]" value="3" <?php $this -> echoSProcessType(3); ?>> バッチ</label>
						</td>
					</tr>
				</table>
				<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>
						<div class="article-heading">
							<h2><?php echo $page_title; ?></h2>
							<?php $this -> dispPager(); ?>
						</div>
<!-- 						<p class="red"><span class="fa fa-times-circle fa-lg"></span> No result.</p> -->
						<form id="acForm" action="" method="post">
						<table class="table col bdr default odd w50p fontXS calign mb20">
							<tr>
								<th class="w20p">通貨</th>
								<th class="w10p">件数（送金者）</th>
								<th class="w30p">金額（送金者）</th>
								<th class="w10p">件数（送金先）</th>
								<th class="w30p">金額（送金先）</th>
							</tr>
							<?php $this -> echoTotalList(); ?>
						</table>
						<table class="table col bdr default odd w100p fontXS calign">
							<tr>
								<th rowspan="2" class="w10p">処理時間</th>
								<th rowspan="2" class="w10p">取引番号</th>
								<th colspan="5" class="w30p">送信元情報</th>
								<th colspan="5" class="w30p">送信先情報</th>
								<th rowspan="2" class="w10p">種別</th>
								<th rowspan="2" class="w10p">為替レート</th>
							</tr>
							<tr>
								<th class="w13p">名前</th>
								<th class="w7p">口座番号</th>
								<th class="w3p">通貨</th>
								<th class="w7p">金額</th>
								<th class="w5p">手数料</th>
								<th class="w13p">名前</th>
								<th class="w7p">口座番号</th>
								<th class="w3p">通貨</th>
								<th class="w7p">金額</th>
								<th class="w5p">手数料</th>
							</tr>
							<?php $this -> echoList(); ?>
						</table>
						<input type="hidden" value="account_edit" id="action" name="action" />
						<input type="hidden" value="" id="type" name="type" />
						<input type="hidden" value="" id="t_id" name="t_id" />
						<input type="hidden" value="" id="detail_account" name="detail_account" />
						</form>
						<div class="article-bottom">
						<?php $this -> dispPager(); ?>
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
		<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="js/transfer.js"></script>
</body>
</html>
