<?php include_once './functions/signin.php' ?>
<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="robots" content="noindex,nofollow">

	<title>St Jude Wellness</title>
    <link rel="apple-touch-icon" sizes="76x76" href="../assets/images/logo-res.ico">
    <link rel="icon" type="image/png" href="../assets/images/logo-res.ico">
	<link href="../assets/css/bootstrap5.min.css" rel="stylesheet">
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/css/bootstrap-select.min.css">
	<link href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet">
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css" integrity="sha384-tViUnnbYAV00FLIhhi3v/dWt3Jxw4gZQcNoSCxCIFNJVCx7/D55/wXsrNIRANwdD" crossorigin="anonymous">
	<link href="../assets/css/owl.carousel.css" rel="stylesheet">
	<link href="../assets/css/owl.carousel.theme.min.css" rel="stylesheet">
	<link href="../assets/css/main.css" rel="stylesheet">
	<!-- <link href="./assets/css/style.css" rel="stylesheet"> -->


	<!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->

</head>

<body data-spy="scroll" data-target="#main-navbar">

	<nav class="navbar navbar-expand-lg navbar-default fixed-top shadow">
		<div class="container">
			<a class="navbar-brand" href="#">
				<img class="img-responsive" src="../assets/images/logo-3.png" alt="logo">
			</a>
			<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
				<span class="navbar-toggler-icon"></span>
			</button>
			<div class="collapse navbar-collapse" id="navbarSupportedContent">
				<ul class="nav navbar-nav ms-auto">
					<li class="nav-item active"><a class="nav-link" href="./">Home <span class="sr-only"></span></a></li>
					<li class="nav-item"><a class="nav-link" href="about">About</a></li>
					<li class="nav-item"><a class="nav-link" href="contact">Contact</a></li>
					<li class="nav-item"><a class="nav-link" href="therapy">Therapy</a></li>
					<li class="nav-item"><a class="nav-link" href="consultation">Consultation</a></li>
					<li class="nav-item"><a class="nav-link" href="blog">Blog</a></li>
				</ul>
			</div>
		</div>
		</div>
	</nav>

	<section id="intro-box" class="lgsec">

		<!-- <div class=" lgsec"> -->
		<div class="container mx-0 sp-50 d-flex align-items-center">
			<div class="card m-auto shadow login-box">
				<!-- <div class="container my-3"> -->
				<?php
				if (isset($result['errorMessage'])) {
					echo '<p class="errorMsg text-white">' . $result['errorMessage'] . '</p>';
				}
				if (isset($result['successMessage'])) {
					echo '<p class="bg-dan text-white">' . $result['successMessage'] . '</p>';
				}
				?>
				<h3 class="text-center"><strong>Admin Login</strong></h3>
				<form method="POST" action="login.php" class=" mx-0">
					<div class="form-group my-4">
						<label for="exampleInputEmail1">Username</label>
						<input type="text" class="form-control" id="username" name="username" aria-describedby="emailHelp" placeholder="Username">
					</div>
					<div class="form-group">
						<label for="exampleInputPassword1">Password</label>
						<input type="password" class="form-control" id="password" name="password" placeholder="Password">
					</div>
					<div class="form-group">
						<input type="checkbox" class="form-check-input" id="exampleCheck1" onclick="showPassword()">
						<label class="form-check-label" for="exampleCheck1">show password</label>
					</div>
					<button type="submit" class="btn btn-primary my-3" name="submit">Login</button>
				</form>
				<!-- </div> -->
				<div class="card-footer">
					<div class="d-flex justify-content-center links">
						Don't have an account?
						<a href="./signUp.php" class="form_link">Sign Up</a>
					</div>
				</div>
				<!-- </div> -->
			</div>
		</div>
		<!-- </div> -->
	</section>

	<!-- alaid-footer -->
	<footer class="alaid-footer">
		<div class="container">
			<div class="row">
				<div class="col-sm-6">
					<p>
						@ St Jude-wellness, All Right Reserved. <script>document.write(new Date().getFullYear());</script> - Powered by <a href="mailto:anonymous.inview@gmail.com" target="_blank">Alaid</a>
					</p>
				</div>
				<div class="col-sm-6">
					<div class="alaid-footer-social">
						<a href="https://www.facebook.com/jude.n.okeke"><i class="ion-social-facebook"></i></a>
						<a href="https://www.linkedin.com/in/okeke-jude-nnamdi-a5615910/"><i class="ion-social-linkedin-outline"></i></a>
						<a href="#"><i class="ion-social-twitter"></i></a>
					</div>
				</div>
			</div>
		</div>
	</footer>

	<!-- Scripts -->
	<script src="../assets/js/jquery-1.12.3.min.js"></script>
	<script src="../assets/js/bootstrap5.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.10.0/js/bootstrap-select.min.js"></script>
	<script src="../assets/js/owl.carousel.min.js"></script>
	<script src="../assets/js/script.js"></script>
	<script src="../assets/js/bg.js"></script>
</body>

</html>

</html>