<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo $pageTitle; ?></title>
    <link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/css/plugins/dataTables/dataTables.responsive.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/css/animate.css?version=1.1" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/css/style.css?version=1.1" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/css/plugins/clockpicker/clockpicker.css" rel="stylesheet"/>
    <link href="<?php echo base_url(); ?>assets/css/plugins/datapicker/jquery-ui.datepicker.css" rel="stylesheet"/>
    <link href="<?php echo base_url(); ?>assets/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css"
          rel="stylesheet"/>
    <link href="<?php echo base_url(); ?>assets/css/plugins/select2/select2.min.css" rel="stylesheet"/>
    <link href="<?php echo base_url(); ?>assets/css/plugins/toastr/toastr.min.css" rel="stylesheet"/>
    <link href="<?php echo base_url(); ?>assets/css/plugins/sweetalert/sweetalert.css" rel="stylesheet"/>
    <link rel="shortcut icon" href="<?php echo base_url(); ?>assets/img/Logo_small.ico">
    <script src="<?php echo base_url(); ?>assets/js/jquery-2.1.1.js"></script>
    <script src="<?php echo base_url(); ?>assets/js/jquery.validate.js"></script>
</head>
<body>
<div id="wrapper">
    <?php $this->load->view("applicant_portal/navbar"); ?>
    <div id="page-wrapper" class="gray-bg">
        <?php $this->load->view("applicant_portal/top_menu"); ?>
        <div class="wrapper wrapper-content">
            <div class="msg">
                <?php
                if ($this->session->flashdata('Success') != false) {
                    echo '<div role="alert" class="alert alert-success alert-dismissible">';
                    echo '<button aria-label="Close" data-dismiss="alert" class="close" type="button"><span aria-hidden="true">×</span></button>';
                    echo '<p>' . $this->session->flashdata('Success') . '</p>';
                    echo '</div>';
                } elseif ($this->session->flashdata('Error') != false) {
                    echo '<div role="alert" class="alert alert-danger alert-dismissible">';
                    echo '<button aria-label="Close" data-dismiss="alert" class="close" type="button"><span aria-hidden="true">×</span></button>';
                    echo '<p>' . $this->session->flashdata('Error') . '</p>';
                    echo '</div>';
                } elseif ($this->session->flashdata('Info') != false) {
                    echo '<div role="alert" class="alert alert-info alert-dismissible">';
                    echo '<button aria-label="Close" data-dismiss="alert" class="close" type="button"><span aria-hidden="true">×</span></button>';
                    echo '<p>' . $this->session->flashdata('Info') . '</p>';
                    echo '</div>';
                }
                ?>
            </div>
            <?php echo $_content; ?>
        </div>
        <div class="footer">
            <div class="pull-right">
                <strong> Developed By
                    <a target="_blank" href="http://www.atilimited.net">
                        <span style="color: red;">ATI</span>
                        <span style="color: green;">Limited</span>
                    </a></strong>
            </div>
            <div>
                <strong>Copyright</strong> KYAU &copy; <?php echo date('Y'); ?>
            </div>
        </div>
    </div>
    <?php $this->load->view("applicant_portal/theme_settings"); ?>
</div>
<?php $this->load->view("applicant/common/applicant_common_js.php"); ?>
<script src="<?php echo base_url(); ?>assets/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/metisMenu/2.4.0/metisMenu.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/dataTables/dataTables.bootstrap.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/dataTables/dataTables.tableTools.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/dataTables/dataTables.responsive.js"></script>
<script src="<?php echo base_url(); ?>assets/js/inspinia.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/pace/pace.min.js"></script>
<!-- Select2 -->
<script src="<?php echo base_url(); ?>assets/js/plugins/select2/select2.full.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/clockpicker/clockpicker.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/jquery-ui/jquery-ui.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/toastr/toastr.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/plugins/sweetalert/sweetalert.min.js"></script>
</body>
</html>
<script type="text/javascript">
    $(document).ready(function () {
        var path = window.location.href;
        path = path.replace(/\/$/, "");
        path = decodeURIComponent(path);
        $(".sidebar-menu a").each(function () {
            var href = $(this).attr('href');
            if (path === href) {
                $(this).parents('li').addClass('active');
                $(this).parents('ul').addClass('in');
                /*$(this).parents('ul').prev('li').removeClass('collapsed');*/
            }
        });
    });

</script>
