<?php
$page_title = "機能編集";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>

			</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 w50p fontXS m_auto lalign">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>コード</th>
									<td><input type="text" name="code" id="code" value="<?php $this -> echoFunctionCode(); ?>" class="px110" ></td>
								</tr>
								<tr>
									<th>機能名</th>
									<td><input type="text" name="name" id="name" value="<?php $this -> echoFunctionName(); ?>" class="px110" ></td>
								</tr>
								<tr>
									<th>カテゴリー</th>
									<td><select name="category_list" id="category_list"><?php $this -> echoFunctionCategoryList(); ?></select></td>
								</tr>
								<tr>
									<th>アクセス</th>
									<td><?php $this -> echoFunctionAccess(); ?></td>
								</tr>
	
							</table>
							<p class="calign">
								<a id="btnList" class="btn bg-default">&laquo; 戻る</a>&emsp;
								<!--<input type="button" id="btnConfirm" value="プレビュー" 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 -> echoFunctionCategoryId(); ?>" id="category_id" name="category_id" />
						<input type="hidden" value="<?php $this -> echoFlId(); ?>" id="fl_id" name="fl_id" />
					
						<!-- Language Transition Data (Anton) 04/23/2016 -->
						<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/en/admin_function"/>
						<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
						<input class="lang-trans-data" type="hidden" id="lang_data_type" value="edit"/>
						<!-- /Language Transition Data -->
					</form>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
		<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="js/admin_function.js"></script>
</body>
</html>
