
<?php include 'db.php';?>
<?php $currentPage=basename($_SERVER["PHP_SELF"]); ?>
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Pink Villa Admin</title>

    <!-- Custom CSS -->
    <link rel="stylesheet" href="../css/style.css">
    <!-- FontAwesome CSS -->
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css" integrity="sha512-2SwdPD6INVrV/lHTZbO2nodKhrnDdJK9/kg2XD1r9uGqPo1cUbujc+IYdlYdEErWNu69gVcYgdxlmVmzTWnetw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <!-- Bootstrap icons CSS -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
    <!-- Bootstrap CSS -->
       <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
 
    <!-- <link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous"> -->
    <!-- Google fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Homemade+Apple&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">

  </head>
  <body>
<nav class="navbar navbar-expand-lg bg-body-tertiary p-2 position-sticky top-0 z-2">
  <div class="container-fluid">
    <a class="navbar-brand fs-2 font-homemade text-primary" href="#">PinkVilla</a>
     <div class="search-bar">
 <i class="fa-solid fa-magnifying-glass"></i>
 <input type="text" placeholder="Search">
     </div>
    </div>
  </nav>
    
   
   
 <div class="container-fluid">
    <div class="main-wrapper">
        <div class="left-bar ">
<ul class="nav nav-pills mb-3 dashboard-pills" id="pills-tab" role="tablist">
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./index.php" class="nav-link dashboard-links-btn <?= ($currentPage=="index.php") ?  "active" :  ""; ?> " ><i class="fa-solid fa-chart-pie"></i> Dashboard</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./sales.php" class="nav-link dashboard-links-btn <?= ($currentPage=="sales.php") ?  "active" :  ""; ?> " ><i class="fa-solid fa-chart-simple "></i> Manage Sales</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./categories.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="categories.php") ?  "active" :  ""; ?>"><i class="fa-solid fa-folder-open"></i> Manage Categories</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./products.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="products.php") ?  "active" :  ""; ?>" ><i class="fa-solid fa-box"></i> Manage Products</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./tables.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="tables.php") ?  "active" :  ""; ?>"><i class="fas fa-chair"></i> Manage Tables</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./salestax.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="salestax.php") ?  "active" :  ""; ?>" ><i class="fa-solid fa-percent"></i> Manage Sales Tax</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./vouchers.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="vouchers.php") ?  "active" :  ""; ?>" ><i class="fa-solid fa-ticket"></i> Manage Vouchers</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./user.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="user.php") ?  "active" :  ""; ?>" ><i class="fa-solid fa-users"></i> Manage Users</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./waiters.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="waiters.php") ?  "active" :  ""; ?>" ><i class="fa-solid fa-user-tie"></i> Manage Waiters</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./expenses.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="expenses.php") ?  "active" :  ""; ?>" ><i class="fa-solid fa-money-bills"></i> Manage Expenses</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./riders.php" class="nav-link dashboard-links-btn" ><i class="fa-solid fa-person-biking"></i> Manage Riders</a>
  </li>
  <li class="nav-item dashboard-menu-item" role="presentation">
    <a href="./inventory.php" class="nav-link dashboard-links-btn  <?= ($currentPage=="inventory.php") ?  "active" :  ""; ?>" ><i class="fa-solid fa-cart-shopping"></i> Manage Inventory</a>
  </li>
 
</ul>
        </div>
        <div class="main-content">