<?php 

ob_start();

include 'connection.php';

include 'sahavas_function.php';

session_start();

if (!isset($_SESSION['is_logged_in'])) {

    header("Location:login.php");

    die();

    }

date_default_timezone_set('Asia/Calcutta');

$today = date("d/m/y");

$today1 = date("d-m-Y");

$today2 = date("Y-m-d");



$time = date("h:i A");


?>

<?php

 $query8s = "select * from company_master  ";

$result8s = mysqli_query($conn,$query8s);	

while($row=mysqli_fetch_array($result8s))

{

$company_name=$row['company_name'];

}	?>





<!DOCTYPE html>

<html>

<!-- Mirrored from themesdesign.in/xadmino/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 03 Feb 2021 12:04:34 GMT -->

<head>

<meta charset="utf-8" />

<title><?php echo $company_name?></title>

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

<meta content="Admin Dashboard" name="description" />

<meta content="ThemeDesign" name="author" />

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<link rel="shortcut icon" href="assets/images/favicon.png">

<link href="assets/plugins/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />

<link href="assets/plugins/datatables/responsive.bootstrap.min.css" rel="stylesheet" type="text/css" />

<link href="assets/plugins/datatables/dataTables.bootstrap.min.css" rel="stylesheet" type="text/css"/>

<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">

<link href="assets/css/icons.css" rel="stylesheet" type="text/css">

<link href="assets/css/style.css" rel="stylesheet" type="text/css">

<link href="vendors/bower_components/select2/dist/css/select2.min.css" rel="stylesheet" type="text/css">

<link href="vendors/bower_components/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet" type="text/css">

<link href="vendors/bower_components/multiselect/css/multi-select.css" rel="stylesheet" type="text/css">

<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','../../www.google-analytics.com/analytics.js','ga');ga('create','UA-86308552-1','auto');ga('send','pageview');</script>



<link href="assets/plugins/summernote/summernote.css" rel="stylesheet" />



<link rel="stylesheet" type="text/css" href="assets/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css">



<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">



<link href="assets/css/icons.css" rel="stylesheet" type="text/css">

<link href="assets/css/style.css" rel="stylesheet" type="text/css">



 <style type="text/css">

@media print

    {

    	#non-printable { display: none; }

    	#printable { display: block; }

    }

</style>

 <script type="text/javascript" >

   function preventBack(){window.history.forward();}

    setTimeout("preventBack()", 0);

    window.onunload=function(){null};

</script>

</head>

<body class="fixed-left">

<div id="wrapper">

  <div class="topbar">

    <div class="topbar-left">

      <div class="text-center" id="non-printable"> <a href="index.php" class="logo"><img src="assets/images/logo_white_2.png"></a> <a href="index.php" class="logo-sm"><img src="assets/images/logo_sm.png" height="36"></a></div>

    </div>

    <div class="navbar navbar-default" role="navigation">

      <div class="container">

        <div class="">

          <div class="pull-left">

            <button type="button" class="button-menu-mobile open-left waves-effect waves-light"> <i class="ion-navicon"></i> </button>

            <span class="clearfix"></span></div>

        

          <ul class="nav navbar-nav navbar-right pull-right">

            

            <li class="hidden-xs"> <a href="#" id="btn-fullscreen" class="waves-effect waves-light"><i class="fa fa-crosshairs"></i></a></li>

            <li class="dropdown"> <a href="#" class="dropdown-toggle profile waves-effect waves-light" data-toggle="dropdown" aria-expanded="true"><img src="assets/images/users/avatar-1.jpg" alt="user-img" class="img-circle"> </a>

              <ul class="dropdown-menu">

                <!--<li><a href="javascript:void(0)"> Profile</a></li>

                <li><a href="javascript:void(0)"><span class="badge badge-success pull-right">5</span> Settings </a></li>-->

               <!-- <li class="divider"></li>-->

                <li><a href="logout.php"> Logout</a></li>

              </ul>

            </li>

          </ul>

        </div>

      </div>

    </div>

  </div>

  <div class="left side-menu">

    <div class="sidebar-inner slimscrollleft">

      <div class="user-details">

        <div class="text-center"> <img src="assets/images/users/avatar-1.jpg" alt="" class="img-circle"></div>

        <div class="user-info">

          <div class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"><?php echo $first_name?></a>

            

          </div>

          <p class="text-muted m-0"><i class="fa fa-dot-circle-o text-success"></i> Online</p>

        </div>

      </div>

      <div id="sidebar-menu">

        <? link_chek();?>

      </div>

      <div class="clearfix"></div>

    </div>

  </div>

  

  <style>

    .box{

        color:fff;

        display: none;

        margin-top: 5px;

    }

    .red{  }

    .Hold{  }

	.OK{  }

	.Customers_Budget{  }

	.Customers_Sale{  }

	.Auto_Approval_Of_Discount{  }

    .blue{ background: #0000ff; }

</style>

  <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>

<script>

$(document).ready(function(){

    $("select").change(function(){

        $(this).find("option:selected").each(function(){

            var optionValue = $(this).attr("value");

            if(optionValue){

                $(".box").not("." + optionValue).hide();

                $("." + optionValue).show();

            } else{

                $(".box").hide();

            }

        });

    }).change();

});

</script>

