{{include file='head.tpl' inline}}
</head>
<body id="body-login">
	<div id="header">
		<div id="logo-sellsmart"><a href="admin.php"><img src="templates/admin/images/logo-sellsmart.png" alt="sellsmart - sklep internetowy"/></a></div>
		<div id="version">{{$config.version}}</div>
	</div>
	<div id="panel-login">
		{{if $bIncorrect}}
			<div id="error">
				{{$lang.Wrong_login_or_pass}}
				<div id="back"><a href="admin.php">&laquo; {{$lang.return}}</a></div>
			</div>
		{{else}}
			<form method="post" action="admin.php?p=login" name="form">
				<fieldset>
					<table>
						<tr>
							<th colspan="2"><strong>{{$lang.Logging_in}}</strong><input type="hidden" name="sLoginPageNext" value="{{$_SERVER.REQUEST_URI}}" /></th>
						</tr><tr>
							<th>{{$lang.Login}}:</th><td><input type="text" name="sLogin" class="input" value="" />     </td>
						</tr><tr>
							<th>{{$lang.Password}}:</th><td><input type="password" name="sPass" class="input" value="" />     </td>
						</tr>
						{{if !empty( $_POST )}}
							<tr>
								<th>{{$lang.Do_action_before_lost_session}}:</th><td><input type="checkbox" name="sPostContent" value="{{base64_encode( serialize( $_POST ) )}}" /> <img class="tTip info" src="templates/images/info.png"  title="{{$lang.help_Do_action_before_lost_session}}" /></td>
							</tr>
						{{/if}}
						<tr>
							<th colspan="2"><input type="submit" id="submit" value="{{$lang.login}}" /></th>
						</tr>
					</table>
				</fieldset>
			</form>
		{{/if}}
	</div>
	<div>
		<div id="footer"></div>
	</div>
</body>
</html>