<?php $load = new load;if($load->isLogin())
{
echo ("<script>location.href='/'</script>");
}
else
{
?>
<body>
	<div class="loader"/></div>
	<div id="app">
		<section class="section">
			<div class="container mt-5">
				<div class="row">
					<div class="col-12 col-sm-8 offset-sm-2 col-md-6 offset-md-3 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4">
						<div class="card card-primary">
							<div class="p-3">
								<h4 id="resp" class="align-center">
									Administration clients</h4>
							</div>
							<div class="card-body">
								<form method="post" role="form" action="<?=siteUrl?>" id="loginForm" method="POST">
									<div class="form-group">
										<input type="email" name="username" class="form-control" placeholder="Email équipe">
											<div class="qz-input-icon">
												<span class="flaticon-mail"/>
											</div>
										</div>
										<div class="form-group">
											<input type="password" name="password" class="form-control" placeholder="Mot de passe équipe">
												<div class="qz-input-icon">
													<span class="flaticon-lock"/>
												</div>
											</div>
											<button type="submit" name="sub" onclick="login()" class="btn btn-primary btn-block">SE CONNECTER</button>
										</form>
									</div>
								</div>
							</div>
						</div>
					</div>
				</section>
			</div>
			<style>
				footer.main-footer {
				display: none;
				}
			</style>
			<?php }?>