| Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 Path : /home/u901718425/domains/panel.urbanpillar.in/public_html/ |
| Current File : /home/u901718425/domains/panel.urbanpillar.in/public_html/inquiry.php |
<?php
include_once "cdn/globle.php";
$roll = (in_array('roll',array_keys($_SESSION)) && in_array('Inquery',array_keys($_SESSION['roll'])) ? array_values($_SESSION['roll']['Inquery']) : []);
if(isset($_SESSION['roll_name']) && $_SESSION['roll_name'] != 'user' && in_array('view',$roll) ){
?>
<!doctype html>
<html lang="en">
<?php
include 'widgets/head.php';
?>
<body class="d-flex">
<?php
include 'widgets/aside.php';
?>
<div class="page overflow-y-auto" style="width: calc(100% - 280px); height:100vh;">
<?php
include 'widgets/header.php';
?>
<div class="body d-flex flex-wrap pb-4">
<nav class="d-flex w-100 m-4">
<div class="nav nav-tabs w-100" id="nav-tab" role="tablist">
<button class="nav-link active" id="new" data-bs-toggle="tab" data-bs-target="#nav-home" type="button" role="tab" aria-controls="nav-home" aria-selected="true">New</button>
<button class="nav-link" id="processing" data-bs-toggle="tab" data-bs-target="#nav-profile" type="button" role="tab" aria-controls="nav-profile" aria-selected="false">In Process</button>
<button class="nav-link" id="done" data-bs-toggle="tab" data-bs-target="#nav-contact" type="button" role="tab" aria-controls="nav-contact" aria-selected="false">Done</button>
</div>
</nav>
<div class="container m-4 shadow rounded-4 bg-white p-3 overflow-hidden row">
<div class="col-6">
<div class="fs-6 fw-semibold ">Inquiry</div>
<div class="d-flex text-secondary fs-6 my-2" >
<span class="material-icons-outlined text-success fs-6 fw-bold ">
done
</span> <span class="text-dark inquiry-count"> </span>
New Inquiry
</div>
</div>
<div class="col-6 d-flex justify-content-end ">
<div class="input-group w-50" style="height:40px;">
<input type="search" id="search-box" class="form-control rounded" placeholder="Search" aria-label="Search" aria-describedby="search-addon" />
<button type="button" id="search-box-button" class="btn btn-outline-primary" data-mdb-ripple-init>search</button>
</div>
</div>
<table class="table align-middle mb-0 bg-white ">
<thead class="bg-white border-1 border-light fs-8" style="height:50px;">
<tr>
<th class=" text-secondary py-2">NAME</th>
<th class=" text-secondary py-2">PROJECT</th>
<th class=" text-secondary py-2">NUMBER</th>
<th class=" text-secondary py-2">STATUS</th>
<th class=" text-secondary py-2">DATE</th>
</tr>
</thead>
<tbody id="inquiry-data">
</tbody>
</table>
<div class="pagination d-flex py-3 justify-content-between ">
<div class="d-flex w-25 fs-7 align-items-center ">
Showing <div id="start" class="px-2"> 1 </div> to <div id="end" class="px-2"> 10 </div> of <div class="inquiry-count-all px-2"></div> entries
</div>
<nav aria-label="...">
<ul class="pagination pagination-sm mb-0" id="pagination">
<li class="page-item disabled">
<a class="page-link" href="#" tabindex="-1">Previous</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item active">
<a class="page-link" href="#">2</a>
</li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item">
<a class="page-link" href="#">Next</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="/js/inquiry.js"></script>
<?php
include 'widgets/footer.php';
?>
</div>
</body>
</html>
<?php
}else{
header('location: /login');
}
?>