Server Address : 2a02:4780:a:760:0:37cc:13e2:3
Web Server : LiteSpeed
Uname : Linux uk-fast-web660.main-hosting.eu 5.14.0-570.55.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:27:51 EDT 2025 x86_64
PHP Version : 7.4.33
<?php
include_once "./includes/header.php";
if(Customer::checkLogin()){
?>
<script>
window.location.href = "index.php";
</script>
<?php
}
$msg = "";
if(isset($_REQUEST['submit'])){
$msg = $customerObj -> customerLogin($_REQUEST);
if($msg == "success"){
?>
<script>
window.location.href = "index.php";
</script>
<?php
}
}
?>
<!-- Start Hero Section -->
<?php $page_name = "login"; include_once "./includes/hero.php"?>
<!-- End Hero Section -->
<!-- Start Contact Form -->
<div class="untree_co-section">
<div class="container">
<div class="block">
<div class="row mb-5">
<div class="mx-auto text-center">
<h2 class="section-title">Login to get access to our exclusive products collection</h2>
</div>
</div>
<div class="row justify-content-center">
<div class="col-md-8 col-lg-8 pb-4">
<form method="post">
<div class="row">
<div class="col-8">
<div class="form-group">
<label class="text-black" for="email">Email</label>
<input type="email" class="form-control" name="email">
</div>
</div>
<div class="col-8">
<div class="form-group">
<label class="text-black" for="password">Password</label>
<input type="password" class="form-control" name="password">
</div>
</div>
<div class="col-8">
<div class="form-group">
<p class="text-danger"><?php echo $msg;?></p>
</div>
</div>
</div>
<button type="submit" name="submit" class="mt-3 btn btn-primary-hover-outline">Login</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Contact Form -->
<?php include_once "./includes/footer.php";?>