<!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">

<ul class="subnav subnav-tab">
	<li><a href="{-url:admin@option/edit_option_site-}">{-:@SITE-}</a></li>
	<li><a href="{-url:admin@option/edit_option_core-}">{-:@CORE-}</a></li>
	<li><a href="{-url:admin@option/edit_option_platform-}">{-:@PLATFORM-}</a></li>
	<li><a href="{-url:admin@option/edit_option_language-}">{-:@LANGUAGE-}</a></li>
	<li class="active"><a href="{-url:admin@option/edit_option_index-}">{-:@INDEX-}</a></li>
	<li><a href="{-url:admin@option/edit_option_upload-}">{-:@UPLOAD-}</a></li>
	<li><a href="{-url:admin@option/edit_option_image-}">{-:@IMAGE-}</a></li>
	<li><a href="{-url:admin@option/edit_option_interaction-}">{-:@INTERACTION-}</a></li>
	<li><a href="{-url:admin@option/edit_option_administrator-}">{-:@ADMINISTRATOR-}</a></li>
	<li><a href="{-url:admin@option/edit_custom_option-}">{-:@CUSTOM_OPTION-}</a></li>
</ul>

<form id="formEdit" class="form" action="" method="post">
	<div id="tabContent">
		<table class="formTable margin">
			<tr>
				<td class="inputTitle">{-:@INDEX_PAGING_SWITCH-} [index/paging_switch]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="index[paging_switch]"{-if:0==$_O['index']['paging_switch']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="index[paging_switch]"{-if:1==$_O['index']['paging_switch']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@INDEX_PAGING_SWITCH_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@INDEX_PAGE_SIZE-} [index/page_size]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input type="text" name="index[page_size]" validate="/\S+/" value="{-:$_O['index']['page_size']-}" class="control-input input-inline" size="4" maxlength="5">
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@INDEX_PAGE_SIZE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@INDEX_TEMPLATE-} [index/tpl]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<select name="index[tpl]" class="control-input input-inline">
						{-foreach:$_TPLS,$tpl-}
						<option value="{-:$tpl['file']-}"{-if:$tpl['file']==$_O['index']['tpl']-} selected="selected"{-:/if-}>{-:$tpl['name']-}</option>
						{-:/foreach-}
					</select>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@INDEX_TEMPLATE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@INDEX_TEMPLATE_PAGING-} [index/tpl_paging]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<select name="index[tpl_paging]" class="control-input input-inline">
						{-foreach:$_TPLS,$tpl-}
						<option value="{-:$tpl['file']-}"{-if:$tpl['file']==$_O['index']['tpl_paging']-} selected="selected"{-:/if-}>{-:$tpl['name']-}</option>
						{-:/foreach-}
					</select>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@INDEX_TEMPLATE_PAGING_TIP-}
				</td>
			</tr>
		</table>
	</div>

	<div id="operation">
		<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@option/edit_option_index_do-}" to="#formEdit">{-:@SUBMIT-}</span>
		<input class="btn" type="reset" value="{-:@RESET-}">
	</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>
<script src="{-:*__STYLE__-}js/option.js"></script>
</body>
</html>