<!doctype html>
<html dir="{-:*_LD_-}">
<head>
<meta charset="utf-8" />
<title>{-:@MANAGE-}</title>
{-include:meta-}
<script>
var GV = {
	_LD_ : '{-:*_LD_-}',
	LANG_NAME : '{-:*LANG_NAME-}',
	URL : {
		'CHECK_NEW_VERSION' : '{-url:admin@index/_check_new_version-}'+'&'+Math.random(),
		'SOFT_AUTHOR_URL' : '{-:*SOFT_AUTHOR_URL-}'
	}
};
</script>
</head>
<body>

<div class="container margin">
	<div id="softTitle">
		<h2 id="logaWelcome">{-:@LOGA_WELCOME|soft_name~*SOFT_NAME-}</h2>
		<div id="logaSlogan">{-:@LOGA_SLOGAN-}</div>
		<div id="logaLogo" class="ta_c">
			<i class="icon-loga"></i>
			<div id="logaVersion">{-:*SOFT_CODENAME-} <small>{-:*SOFT_VERSION-}</small></div>
		</div>
	</div>

	<ul class="subnav subnav-tab" data-switcher="{'connect':'#tabContent'}">
		<li><a href="#">{-:@SOFT_INFO-}</a></li>
		<li><a href="#">{-:@SYSTEM_ENV-}</a></li>
		<li><a href="#">{-:@AUTHORIZATION-}</a></li>
	</ul>
	<div id="tabContent" class="switcher">
		<ul class="margin list-unstyled">
			<li>{-:@SOFT_NAME-}: <span class="badge">{-:*SOFT_NAME-}</span></li>
			<li>{-:@SOFT_CODENAME-}: <span class="badge">{-:*SOFT_CODENAME-}</span></li>
			<li>{-:@SOFT_VERSION-}: <span class="badge">{-:*SOFT_VERSION-}</span> <span class="btn btn-sm check_new_version">{-:@CHECK_NEW_VERSION-}</span> <span id="check_result"></span></li>
			<li>{-:@SOFT_CHARSET-}: <span class="badge">{-:*SOFT_CHARSET-}</span></li>
			<li>{-:@SOFT_AUTHOR-}: <a target="_blank" href="{-:*SOFT_AUTHOR_URL-}"><i class="icon-asthis"></i> {-:*SOFT_AUTHOR-}</a></li>
		</ul>
		<ul class="margin list-unstyled">
			<li>
				{-:@OS-}: <span class="badge">{-:$_SE['os']-}</span>
				{-:@SERVER_SOFTWARE-}: <span class="badge">{-:$_SE['server_software']-}</span>
			</li>
			<li>
				{-:@PHP_VERSION-}: <span class="badge">{-:$_SE['php_version']-}</span>
				{-:@GD_VERSION-}: <span class="badge">{-:$_SE['gd_version']-}</span>
			</li>
			<li>
				{-:@MYSQL_VERSION-}: <span class="badge">{-:$_SE['mysql_version']-}</span>
				{-:@UPLOAD_MAX_SIZE-}: <span class="badge">{-:$_SE['upload_max_size']-}</span>
			</li>
			<li>
				{-:@SAFE_MODE-}: <span class="badge">{-:$_SE['safe_mode']-}</span>
			</li>
			<li>
				{-:@REGISTER_GLOBALS-}: <span class="badge">{-:$_SE['register_globals']-}</span>
			</li>
			<li>
				{-:@MAGIC_QUOTES_GPC-}: <span class="badge">{-:$_SE['magic_quoter_gpc']-}</span>
			</li>
			<li>
				{-:@ALLOW_URL_FOPEN-}: <span class="badge">{-:$_SE['allow_url_fopen']-}</span>
			</li>
		</ul>
		<div class="margin">
		{-if:!empty($LICENCE)-}
			<ul class="list-unstyled">
				<li>{-:@LICENCE_DOMAIN-}: <span class="badge">{-:$LICENCE['domain']-}</span></li>
				<li>{-:@LICENCE_KEY-}: <span class="badge">{-:$LICENCE['key']-}</span></li>
				<li>{-:@LICENCE_TYPE-}: <span class="badge">{-if:1==$LICENCE['type']-}{-:@BUSINESS_EDITION-}{-elseif:2==$LICENCE['type']-}{-:@BUSINESS_COLLABORATION_EDITION-}{-else:-}{-:@AUTHORIZED_EDITION-}{-:/if-}</span></li>
			</ul>
			<div class="alert">{-:@AUTHORIZED_TIP|url~*SOFT_AUTHORIZATION_URL-}</div>
		{-else:-}
			<form class="form" method="post" action="" id="formUploadLicence" enctype="multipart/form-data">
				<fieldset>
					<div class="form-group">
						<div class="input-file" data-input-file="{target: '>input:first'}">
							<input type="text" class="control-input input-inline" disabled="disabled" placeholder="{-:@SELECT_LICENCE_FILE-}">
							<input type="file" name="licence_file">
						</div>
						<input name="timeKey" type="hidden" value="{-:$_TK['timeKey']-}">
						<input name="token" type="hidden" value="{-:$_TK['token']-}">
						<span to="#formUploadLicence" action="{-url:admin@index/upload_licence_file_do-}" class="btn btn-default submit">{-:@UPLOAD_LICENCE_FILE-}</span>
					</div>
				</fieldset>
			</form>
			<div class="alert">{-:@UNAUTHORIZED_TIP|url~*SOFT_AUTHORIZATION_URL-}</div>
		{-:/if-}
		</div>
	</div>

</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/system_info.js"></script>
</body>
</html>