<!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 class="active"><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><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">{-:@TIMEZONE-} [core/timezone]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<select class="control-input input-inline" name="core[timezone]">
					{-foreach:$_TZL,$k,$v-}
						<option value="{-:$k-}"{-if:$k==$_O['core']['timezone']-} selected="selected"{-:/if-}>{-:$v-}</option>
					{-:/foreach-}
					</select>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@CORE_TIMEZONE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@TIME_FORMAT-} [core/time_format]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input type="text" name="core[time_format]" validate="/\S+/" value="{-:$_O['core']['time_format']-}" class="control-input" maxlength="50" size="20">
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@CORE_TIME_FORMAT_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@HOST_PREFIX_SWITCH-} [core/host_prefix_switch]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="core[host_prefix_switch]"{-if:0==$_O['core']['host_prefix_switch']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="core[host_prefix_switch]"{-if:1==$_O['core']['host_prefix_switch']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@HOST_PREFIX_SWITCH_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@REWRITE_SWITCH-} [core/rewrite_switch]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="core[rewrite_switch]"{-if:0==$_O['core']['rewrite_switch']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="core[rewrite_switch]"{-if:1==$_O['core']['rewrite_switch']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@REWRITE_SWITCH_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@STRIP_SPACE-} [core/strip_space]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="core[strip_space]"{-if:0==$_O['core']['strip_space']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="core[strip_space]"{-if:1==$_O['core']['strip_space']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@STRIP_SPACE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@GZIP_SWITCH-} [core/gzip_switch]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="core[gzip_switch]"{-if:0==$_O['core']['gzip_switch']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="core[gzip_switch]"{-if:1==$_O['core']['gzip_switch']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@GZIP_SWITCH_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@CACHE_EXPIRE-} [core/cache_expire]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input type="text" name="core[cache_expire]" validate="/\S+/" value="{-:$_O['core']['cache_expire']-}" class="control-input" maxlength="20" size="10">
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@CACHE_EXPIRE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@COOKIE_PREFIX-} [core/cookie_prefix]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input type="text" name="core[cookie_prefix]" validate="/\S+/" value="{-:$_O['core']['cookie_prefix']-}" class="control-input" maxlength="96" size="20">
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@COOKIE_PREFIX_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@COOKIE_EXPIRE-} [core/cookie_expire]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input type="text" name="core[cookie_expire]" validate="/\S+/" value="{-:$_O['core']['cookie_expire']-}" class="control-input" maxlength="20" size="10">
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@COOKIE_EXPIRE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@COOKIE_CLIENT_CHECK-} [core/cookie_client_check]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="core[cookie_client_check]"{-if:0==$_O['core']['cookie_client_check']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="core[cookie_client_check]"{-if:1==$_O['core']['cookie_client_check']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@COOKIE_CLIENT_CHECK_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@SESSION_MASTER_DOMAIN-} [core/session_master_domain]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input type="text" name="core[session_master_domain]" value="{-:$_O['core']['session_master_domain']-}" class="control-input" maxlength="255" size="40">
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@SESSION_MASTER_DOMAIN_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@SESSION_CLIENT_CHECK-} [core/session_client_check]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="core[session_client_check]"{-if:0==$_O['core']['session_client_check']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="core[session_client_check]"{-if:1==$_O['core']['session_client_check']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@SESSION_CLIENT_CHECK_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@SECURITY_CODE-} [core/security_code]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<input id="security_code" type="text" name="core[security_code]" validate="/\S+/" value="{-:$_O['core']['security_code']-}" class="control-input input-inline" maxlength="96" size="20"> <span class="btn generate_security_code">{-:@REGENERATE-}</span>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@SECURITY_CODE_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@DEBUG_SWITCH-} [core/debug_switch]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="core[debug_switch]"{-if:0==$_O['core']['debug_switch']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="core[debug_switch]"{-if:1==$_O['core']['debug_switch']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@DEBUG_SWITCH_TIP-}
				</td>
			</tr>
			<tr>
				<td class="inputTitle">{-:@DEBUG_INFO-} [core/debug_info]</td>
				<td class=""></td>
			</tr>
			<tr>
				<td class="inputArea">
					<label><input type="radio" value="0" name="core[debug_info]"{-if:0==$_O['core']['debug_info']-} checked="checked"{-:/if-}> {-:@OFF-}</label>
					<label><input type="radio" value="1" name="core[debug_info]"{-if:1==$_O['core']['debug_info']-} checked="checked"{-:/if-}> {-:@ON-}</label>
				</td>
				<td class="inputTip">
					<span class="text-danger">*</span> {-:@DEBUG_INFO_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_core_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>