<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<set currPort = "{{((empty(@PORT)) || (@PORT == 80) || (@PORT == 443)) ? '' : ':'.@PORT}}" />
	<base href="{{@SCHEME.'://'.@HOST.@currPort.@BASE.'/'}}"/>
	<title>{{ @lang_login }} | mySimpleAds</title>

	<link href="{{ IncludeAsset('assets/img/favicon.ico') }}" rel="icon" type="image/x-icon" />

	<link rel="stylesheet" href="{{ IncludeAsset('assets/lib/bootstrap/css/bootstrap.min.css') }}">

	<link rel="stylesheet" href="{{ IncludeAsset('assets/css/main.css') }}">
	<link rel="stylesheet" href="{{ IncludeAsset('assets/css/theme.css') }}">
	<link rel="stylesheet" href="{{ IncludeAsset('assets/css/theme-'.@THEME.'.css') }}">

	<link rel="stylesheet" href="{{ IncludeAsset('assets/lib/magic/magic.min.css') }}">
</head>
<body class="login">
<div class="container">
	<repeat group="{{ \FlashMessage::instance()->getMessages() }}" value="{{ @msg }}">
		<div class="login-alert alert alert-{{ @msg.status }} alert-dismissable">
			<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
			{{ @msg.text }}
		</div>
	</repeat>
	<div class="text-center">
		<img src="{{ @LOGO_URL }}" alt="mySimpleAds">
	</div>
	<div class="tab-content">
		<div id="login" class="tab-pane active">
			<form action="index.php?login" class="form-signin" method="post">
				<p class="text-center">
					{{ @lang_enter_your_username_and_password }}
				</p>
				<input type="text" name="username" id="username" placeholder="{{ @lang_username_or_email }}" class="form-control" <check if="{{ @DEMO==1 }}">value="admin"</check>>
				<input type="password" name="password" id="password" placeholder="{{ @lang_password }}" class="form-control" <check if="{{ @DEMO==1 }}">value="password"</check>>
				<input type="checkbox" name="remember_me" id="remember_me" checked="checked" value="1"> {{ @lang_remember_me }}<br
					/>
				<input type="hidden" name="return" id="return" value="{{ @return | raw }}"/>
				<button class="btn btn-lg btn-primary btn-block" type="submit">{{ @lang_sign_in }}</button>
			</form>
		</div>
		<div id="forgot" class="tab-pane">
			<form action="index.php?forgotpassword" class="form-signin" method="post">
				<p class="text-muted text-center">{{ @lang_enter_your_e_mail }}</p>
				<input type="text" name="mail" id="mail" placeholder="{{ @lang_e_mail }}" class="form-control">
				<button class="btn btn-lg btn-danger btn-block" type="submit">{{ @lang_recover_password }}</button>
			</form>
		</div>
	</div>
	<div class="text-center">
		<ul class="list-inline">
			<li> <a class="text-muted" href="#login" data-toggle="tab">{{ @lang_sign_in }}</a> </li>
			<li> <a class="text-muted" href="#forgot" data-toggle="tab">{{ @lang_recover_password }}</a> </li>
		</ul>
	</div>
</div><!-- /container -->
<div id="footer">
	<p>&copy; <a href="http://www.clippersoft.net/?utm_source=mysimpleads_login&utm_medium=mysimpleads&utm_campaign=mysimpleads">mySimpleAds Ad Server</a></p>
</div>
<script src="{{ IncludeAsset('assets/lib/jquery.min.js') }}"></script>
<script src="{{ IncludeAsset('assets/lib/bootstrap/js/bootstrap.js') }}"></script>
<script src="{{ IncludeAsset('assets/js/login.js') }}"></script>
</body>
</html>
