<?php 

include 'DB/conn.php';
 
session_start(); 
// print_r($_SESSION);
// exit();
// if (isset($_COOKIE['userID'])) {
//     $_SESSION['userID'] = $_COOKIE['userID'];
//     setcookie("userID", "", time() - 3600);
//     //   unset($_COOKIE['userID']); 
//     setcookie('userID', null, -1, '/');
// }


// if (isset($_COOKIE['username'])) {
//     $_SESSION['username'] = $_COOKIE['username'];
//     setcookie("username", "", time() - 3600);
//     // unset($_COOKIE['username']); 
//     setcookie('username', null, -1, '/');
// }

// if (isset($_COOKIE['isLogin'])) {
//     $_SESSION['isLogin'] = $_COOKIE['isLogin'];
//     setcookie("isLogin", "", time() - 3600);
//     // unset($_COOKIE['isLogin']); 
//     setcookie('isLogin', null, -1, '/');
// } 
 


?>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">
    <title>Stock Inspection | Oliac</title>
    <link rel="icon" type="image/x-icon" href="assets/img/favicon.ico"/>
    <link href="assets/css/loader.css" rel="stylesheet" type="text/css" />
    <script src="assets/js/loader.js"></script>

    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="https://fonts.googleapis.com/css?family=Quicksand:400,500,600,700&display=swap" rel="stylesheet">
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="assets/css/plugins.css" rel="stylesheet" type="text/css" />
    <!-- END GLOBAL MANDATORY STYLES -->

    <!-- BEGIN PAGE LEVEL PLUGINS/CUSTOM STYLES -->
    <link href="plugins/apex/apexcharts.css" rel="stylesheet" type="text/css">
    <link href="assets/css/dashboard/dash_1.css" rel="stylesheet" type="text/css" class="dashboard-analytics" />
    <!-- END PAGE LEVEL PLUGINS/CUSTOM STYLES -->
    <link rel="stylesheet" type="text/css" href="plugins/table/datatable/datatables.css">
    <link rel="stylesheet" type="text/css" href="plugins/table/datatable/dt-global_style.css">
    <link href="plugins/notification/snackbar/snackbar.min.css" rel="stylesheet" type="text/css" />
    
    <link href="plugins/sweetalerts/sweetalert2.min.css" rel="stylesheet" type="text/css" />
    <link href="plugins/sweetalerts/sweetalert.css" rel="stylesheet" type="text/css" />
    <link href="assets/css/components/custom-sweetalert.css" rel="stylesheet" type="text/css" />
    <style>
        .select2-container{
            padding-left: 0px !important;
    padding-right: 0px !important;
        }
        .mb-4, .my-4 {
     margin-bottom: 1rem!important; 
}
.inbox-chkbox{
    display: none !important;
}
    </style>

    <script>

        if(!localStorage.getItem('isLogin')){
           // window.location.replace("login.php")
        }

    </script>
</head>