<?php
$page_title = "FAQ";
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">
				&nbsp;
			</div>
			&nbsp;
		</aside>
		<!-- /サイドバー -->
		<!-- メインカラム -->
		<div id="colMain">
			<div class="mainIn">
				<?php include_once('template/base_nav.php'); ?>
				<form id="acForm" action="" method="post">
					<article>
						<div class="article-heading">
							<h2><?php echo $page_title; ?></h2>
						</div>
						<?php $this -> echoMessage(); ?>
						<table class="table col bdr default odd w60p fontXS m_auto mb20">
							<colgroup>
								<col class="w20p">
								<col class="w80p">
							</colgroup>
							<tr>
								<th>Title</th>
								<td><input type="text" name="faq_title" id="faq_title" value="<?php $this -> echoTitle(); ?>" class="w100p"></td>
							</tr>
							<tr>
								<th>Content</th>
								<td>
									<textarea rows="40" class="w100p" name="faq_body" id="faq_body"><?php $this -> echoBody(); ?></textarea>
								</td>
							</tr>
							<tr>
								<th>Language</th>
								<td>
									<label class="newslist"><input type="radio" name="faq_lang" id="faq_lang" value="1" <?php $this -> echoLangageValue(1); ?>> en</label>
									<label class="newslist"><input type="radio" name="faq_lang" id="faq_lang" value="4" <?php $this -> echoLangageValue(4); ?>> id</label>
									<label class="newslist"><input type="radio" name="faq_lang" id="faq_lang" value="0" <?php $this -> echoLangageValue(0); ?>> ja</label>
									<label class="newslist"><input type="radio" name="faq_lang" id="faq_lang" value="2" <?php $this -> echoLangageValue(2); ?>> sc</label>
									<label class="newslist"><input type="radio" name="faq_lang" id="faq_lang" value="3" <?php $this -> echoLangageValue(3); ?>> tc</label>
								</td>
							</tr>
						</table>
						<p class="calign">
							<a id="btnList" class="btn bg-default">&laquo; Back</a>&emsp;
							<input type="button" id="btnConfirm" value="Preview" class="btn bg-grad px100 hi25">&emsp;
							<?php $this -> echoButton(); ?>
						</p>
						<div class="article-bottom">
						</div>
					</article>
					<input type="hidden" value="" id="type" name="type" />
					<input type="hidden" value="<?php $this -> echoFaqId(); ?>" id="faq_id" name="faq_id" />
				</form>
			</div>
		</div>
		</div>
		<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/faq.js"></script>
	</body>
</html>