<!doctype html>
<html dir="{-:*_LD_-}">
<head>
<meta charset="utf-8" />
<title>{-:@MANAGE-}</title>
{-include:../meta-}
<script>
var GV = {
	_LD_ : '{-:*_LD_-}',
	LANG_NAME : '{-:*LANG_NAME-}'
};
</script>
</head>

<body>
<div class="container margin">

<form id="formAdd" action="" method="post">
<ul class="subnav subnav-tab">
	<li class="active"><a href="#">{-:@ADD_CATEGORY-}</a></li>
</ul>
<div id="tabContent">
	<table class="formTable">
		<tr>
			<td class="inputTitle">{-:@ALIAS-}</td>
			<td class=""></td>
		</tr>
		<tr>
			<td class="inputArea">
				<input type="text" name="fc_alias" validate="/[a-z_]+/" value="" class="control-input input-inline" maxlength="64" size="30">
			</td>
			<td class="inputTip">
				<span class="text-danger">*</span> {-:@FC_ALIAS_TIP-}
			</td>
		</tr>
		<tr>
			<td class="inputTitle">{-:@NAME-}</td>
			<td class=""></td>
		</tr>
		<tr>
			<td class="inputArea">
			{-if:C('LANG.DETECT')-}
				<dl class="atab1">
				<ul class="subnav subnav-pill margin-bottom" data-switcher="{'connect':'#tabContent_fcname'}">
					<li><a href="#">{-:*LANG_NAME|get_langName-}</a></li>
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}<li><a href="#">{-:$lang-}</a></li>{-:/if-}
				{-:/foreach-}
				</ul>
				<div id="tabContent_fcname" class="switcher">
					<div class="tabCntnt">
						<input type="text" name="fc_name[{-:*LANG_NAME-}]" validate="/\S+/" value="" class="control-input input-inline" maxlength="64" size="30">
					</div><!--/.tabCntnt-->
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}<div class="tabCntnt">
						<input type="text" name="fc_name[{-:$alias-}]" validate="/\S+/" value="" class="control-input input-inline" maxlength="64" size="30">
					</div><!--/.tabCntnt-->{-:/if-}
				{-:/foreach-}
				</div>
			{-else:-}
				<input type="text" name="fc_name[{-:*LANG_NAME-}]" validate="/\S+/" value="" class="control-input input-inline" maxlength="64" size="30">
				{-foreach:$_LS,$alias,$lang-}
					{-if:$alias!==LANG_NAME-}
						<input type="hidden" name="fc_name[{-:$alias-}]" value="">
					{-:/if-}
				{-:/foreach-}
			{-:/if-}
			</td>
			<td class="inputTip">
				<span class="text-danger">*</span> {-:@FC_NAME_TIP-}
			</td>
		</tr>
		<tr>
			<td class="inputTitle">{-:@DISPLAY_ORDER-}</td>
			<td class=""></td>
		</tr>
		<tr>
			<td class="inputArea">
				<input type="text" name="fc_display_order" validate="/\S+/" value="50" class="control-input input-inline" size="4" maxlength="5">
			</td>
			<td class="inputTip">
				<span class="text-danger">*</span> {-:@FC_DISPLAY_ORDER_TIP-}
			</td>
		</tr>
	</table>
</div>
<div id="operation" class="margin">
	<input name="timeKey" type="hidden" value="{-:$_TK['timeKey']-}">
	<input name="token" type="hidden" value="{-:$_TK['token']-}">
	<span class="btn btn-info submit" action="{-url:admin@flink_category/add_category_do-}" to="#formAdd">{-:@SUBMIT-}</span>
	<input class="btn" type="reset" value="{-:@RESET-}">
	<a class="btn" href="{-url:admin@flink_category/list_category-}">{-:@BACK-}</a>
</div><!--/#operation-->
</form>

</div>
<script src="{-:*__RES__-}js/loga.js"></script>
<script src="{-:*__RES__-}js/jquery.js"></script>
<script src="{-:*__RES__-}fea/js/fea.min.js"></script>
<script src="{-:*__STYLE__-}js/common.js"></script>
<script src="{-:*__STYLE__-}js/admin.js"></script>
</body>
</html>