<!doctype html>
<html dir="{-:*_LD_-}" class="full-height">
<head>
<meta charset="utf-8" />
<title>{-:@MANAGE_LOGIN-}</title>
{-include:meta-}
<script>
var GV = {
	_LD_ : '{-:*_LD_-}',
	LANG_NAME : '{-:*LANG_NAME-}',
	URL : {
		VCODE: '{-url:admin@common/_captcha_img?name=vcode-}'
	}
};
</script>
</head>

<body id="login" class="full-height">
<div class="align-center vertical-align full-height" style="width:320px">
	<div class="vertical-align-middle text-center animation-scale-up">
		<h1 id="loginLogo"><i class="icon-loga icon-2x"></i></h1>
		<form id="formAdminLogin" class="panel panel-box form" action="{-url:admin@login/login_do-}" method="post">
			<fieldset class="margin-top">
			{-if:C('LANG.DETECT')-}
				<div class="form-group">
					<select id="langset" class="control-input">
						{-foreach:$_LS,$alias,$lang-}
							<option value="{-url:admin@common/_toggle_lang?l={$alias}-}"{-if:$alias==LANG_NAME-} selected="selected"{-:/if-}>{-:$lang-}</option>
						{-:/foreach-}
					</select>
				</div>
			{-:/if-}
				<div class="form-group">
					<div class="input-icon">
						<i class="icon-envelope"></i><input name="email" validate="/\S+/" required="required" type="text" placeholder="{-:@EMAIL-}" class="control-input" autocomplete="off">
					</div>
				</div>
				<div class="form-group">
					<div class="input-icon">
						<i class="icon-key"></i><input id="password_origin" validate="/\S+/" required="required" type="text" placeholder="{-:@PASSWORD-}" class="control-input" autocomplete="off">
						<input id="password" name="password" type="hidden">
					</div>
				</div>
			{-if:$mcs-}
				<div class="form-group row">
					<div class="width-sm-2-1">
						<div class="input-icon">
							<i class="icon-keyboard"></i><input id="vcodeInput" name="vcode" validate="/\S+/" required="required" type="text" placeholder="{-:@CAPTCHA-}" autocomplete="off" value="" class="control-input" size="5" maxlength="5">
						</div>
					</div>
					<div class="width-sm-2-1"><span id="vcodeImg"></span></div>
				</div>
			{-:/if-}
				<input name="timeKey" type="hidden" value="{-:$_TK['timeKey']-}">
				<input name="token" type="hidden" value="{-:$_TK['token']-}">
				<button type="submit" class="btn btn-info btn-block">{-:@SUBMIT-}</button>
			</fieldset>
		</form>
		<div><small>&copy;{-php:echo date('Y');-} <a href="{-:*SOFT_AUTHOR_URL-}" target="_blank">{-:*SOFT_AUTHOR-}</a>, Powered by <dfn title="{-:*SOFT_VERSION-} {-:*SOFT_CHARSET-}">{-:*SOFT_NAME-} {-:*SOFT_CODENAME-}</dfn></div>
	</div>
</div>
<script src="{-:*__RES__-}js/loga.js"></script>
<script src="{-:*__RES__-}js/jquery.js"></script>
<script src="{-:*__RES__-}js/md5.js"></script>
<script src="{-:*__RES__-}fea/js/fea.min.js"></script>
<script src="{-:*__STYLE__-}js/common.js"></script>
<script src="{-:*__STYLE__-}js/login.js"></script>
</body>
</html>