<?php
$page_title = "Add New Function";
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>Code</th>
									<td><input type="text" name="code" id="code" value="" class="px110" ></td>
								</tr>
								<tr>
									<th>Function Name</th>
									<td><input type="text" name="name" id="name" value="" class="px110" ></td>
								</tr>
								<tr>
									<th>Category</th>
									<td><select name="category_list" id="category_list" onchange="myFunction()"><?php $this -> echoFunctionCategoryList(); ?></select></td>
								</tr>
								<tr>
									<th>Access</th>
									<td><?php $this -> echoFunctionAccess(); ?></td>
								</tr>
	
							</table>
							<p class="calign">
								<a id="btnList" class="btn bg-default">&laquo; Back</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="/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="regist"/>
						<!-- /Language Transition Data -->
					</form>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
		<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/admin_function.js"></script>
</body>
</html>
