<!DOCTYPE html>
<html lang="en"> 
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> 
<title><?php echo (isset($page_title) ? ucwords($page_title) : ""); ?>  </title>
<meta property="og:url" content="https://http://vinayakwebtech.com/" />
<meta property="og:type" content="website" />
<meta content='Vinayak Webtech | +91 90336 22526' property='og:title'/>
<meta content='Vinayak Webtech | +91 90336 22526' property='og:description'/>
<meta property="og:image" content="<?php echo $this->config->item('front_url'); ?>assets/images/icon.jpg" />
<link rel="shortcut icon" href="<?php echo $this->config->item('front_url'); ?>assets/images/icon.png" type="image/x-icon">
<link rel="icon" href="<?php echo $this->config->item('front_url'); ?>assets/images/icon.png" type="image/x-icon"> 
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/libs/simplebar/simplebar.min.css"> 
<link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" id="bootstrap-style" rel="stylesheet" type="text/css"> 
<link href="<?php echo base_url(); ?>assets/css/icons.min.css" rel="stylesheet" type="text/css"> 
<link href="<?php echo base_url(); ?>assets/css/app.min.css" id="app-style" rel="stylesheet" type="text/css"> 
<script type="text/javascript">
    var BASEURL = "<?php echo base_url(); ?>";
    var CONTROLLER = "<?php echo (isset($controller) ? $controller : ""); ?>";
</script>
</head>
<body>
<div class="position-relative min-vh-100">
    <div class="row gx-0">
        <div class="col-xl-4">
            <div class="row justify-content-center align-items-center p-10 min-vh-100 bg-body-secondary position-relative">
                <div class="col-md-9 col-lg-9 col-xl-9 col-xxl-9">
                    <a href="#" class="text-nowrap d-block w-100">
                        <img src="<?php echo $this->config->item('front_url'); ?>assets/images/dr-pink-logo.png" class="dark-logo" height="70" alt="Logo-Dark">
                    </a>
                    <h4 class="mb-3 mt-8">Welcome Back!</h4> 
                    <p class="text-muted mb-5">Sign in to your account to manage website.</p> 
                    <form class="custom-validation" action="" method="post" id="login_form">
                        <div class="mb-3">
                            <label for="username" class="form-label">Username</label>
                            <input type="email" class="form-control" name="username" placeholder="Enter username" tabindex="1" required>        
                        </div>
                        <div class="mb-3">
                            <label for="password" class="form-label">Password</label>
                            <input type="password" class="form-control" name="password" id="password" placeholder="Enter password" tabindex="2" required> 
                        </div> 
                        <div class="mt-5 mb-3 d-flex gap-2 flex-wrap justify-content-between align-items-center">
                            <div class="form-check">
                                <input type="checkbox" class="form-check-input" id="customControlInline">
                                <label class="form-check-label" for="customControlInline">Remember me</label>
                            </div>
                            <a href="#" class="text-muted ms-auto forgot-password cust1"><i class="mdi mdi-lock me-1"></i> Forgot your password?</a>
                        </div>
                        <button type="submit" class="btn btn-primary login-btn w-100">Sign In</button> 
                        <div class="mt-2">  
                            <div class="alert alert-success alert-dismissible">
                                <div class="alert-icon"><i class="mdi mdi-check-all mr-2"></i></div>
                                <div class="alert-content">
                                    <span class="alert-success-msg"></span>
                                </div>
                                <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                            </div> 
                            <div class="alert alert-danger alert-dismissible">
                                <div class="alert-icon"><i class="mdi mdi-block-helper mr-2"></i></div>
                                <div class="alert-content">
                                    <span class="alert-danger-msg"></span>
                                </div>
                                <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
                            </div> 
                        </div>
                        <div class="text-muted-2 pt-14">
                            <p>Copyright © <script>document.write(new Date().getFullYear())</script>. All rights reserved by <a href="https://vinayakwebtech.com/" class="cust1" target="_blank">JEET INFO</a></p>
                        </div>
                    </form>
                    
                </div>
            </div>
        </div>
        <div class="col-xl-8 d-none d-md-block bg-1" >  </div>
    </div>
</div>
<script src="<?php echo base_url(); ?>assets/libs/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="<?php echo base_url(); ?>assets/libs/jquery/jquery.min.js"></script>
<script src="<?php echo base_url(); ?>assets/libs/metismenu/metisMenu.min.js"></script>
<script src="<?php echo base_url(); ?>assets/libs/simplebar/simplebar.min.js"></script>
<script src="<?php echo base_url(); ?>assets/libs/eva-icons/eva.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/scroll-top.init.js"></script>
<script src="<?php echo base_url(); ?>assets/libs/parsleyjs/parsley.min.js"></script> 
<script src="<?php echo base_url(); ?>assets/js/forms/form-validation.init.js"></script>
<script src="<?php echo base_url(); ?>assets/js/app.js"></script>
<?php
if (isset($extra_js) && is_array($extra_js) && count($extra_js) > 0) {
    foreach ($extra_js as $js) {
        echo '<script src="' . base_url() . 'assets/js/custom/' . $js . '.js" ></script>';
    }
}
?>
</body>
</html>