<?php
$page_title = "取り引きロッグ";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>
				<div class="aside-heading">
					<div class="btns">
						<input type="button" id="btnSearch" value="検索" class="btn bg-default px50 hi22">
					</div>
				</div>
				<form id="searchForm" action="" method="post">
					<table class="conditions fontS w100p">
						<colgroup>
							<col class="w50p">
							<col class="w50p">
						</colgroup>
						<tr>
							<td colspan="2">
								<span class="th">Solutions</span>
								<?php $this -> dispSolutions(); ?>
							</td>
						</tr>
						<?php if($this -> getMethod() == 'From_DB'){ ?>
						<tr>
							<th>IPアドレス</th>
							<td><input type="text" id="ip_address" name="ip_address" value="<?php $this -> echoIP(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>番組コード</th>
							<td><input type="text" id="p_num" name="p_num" value="<?php $this -> echoProgramCode(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>URL</th>
							<td><input type="text" id="url" name="url" value="<?php $this -> echoURL(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>POST</th>
							<td><input type="text" id="post" name="post" value="<?php $this -> echoPost(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">日付け</span>
									<input type="text" id="s_from" name="s_from" value="<?php $this -> echoTagFrom(); ?>" class="px110" placeholder=""> - <input type="text" id="s_to" name="s_to" value="<?php $this -> echoTagTo(); ?>" class="px110" placeholder="">
							</td>
						</tr>
						<?php } ?>
					</table>
				</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>
						<?php //$this -> echoMessage(); ?>
						<form id="searchForm" action="" method="post">
							<table class="table col bdr default odd w100p fontXS calign m_auto">
								<?php if($this -> getMethod() != 'From_DB'){ ?>
								<tr>
									<th class="w45p">Solutions</th>
									<th class="w35p">リクエスト</th>
									<th class="w35p">返信</th>

								</tr>
								<?php $this -> echoList(); ?>
								<?php }else{ ?>
									<tr>
										<th class="w10p">IPアドレス</th>
										<th class="w10p">番組コード</th>
										<th class="w5p">URL</th>
										<th class="w60p">POST</th>
										<th class="w10p">日付け</th>
									</tr>
									<?php $this -> echoListDB(); ?>
								<?php  } ?>
							</table>
							<input type="hidden" value="action" id="type" name="type" />
							<input type="hidden" value="account_list" name="action" />
							<input type="hidden" value="" id="f_id" name="f_id" />
							<input type="hidden" value="" id="type_flg" name="type_flg" />
						</form>
						<div class="article-bottom">
							<?php $this -> dispPager(); ?>
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/transaction_logs.js"></script>
</body>
</html>
