ÿØÿà JPEG ÿþ;
| Server IP : 68.65.120.201 / Your IP : 216.73.216.221 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/./././././././taxhyuvu/././././public_html/admin/ |
Upload File : |
<?php
Session_start();
if(isset($_SESSION['adminlogedin']) && $_SESSION['adminlogedin']==true) {
$email= $_SESSION['Email_Address03092372779'];
$user= $_SESSION['user03092372779'];
if($user == "a")
{
include("aside.php");
}
elseif($user == "e")
{
include("emoside.php");
}
else{
echo '<script>window.open("login", "_self")</script>';
}
?>
<?php
$pow="SELECT * FROM `adminsignup` ORDER BY `ID` Desc;";
$power = mysqli_query($con,$pow);
?>
<title>Admin</title>
<style>
.hasham p, b
{
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
color: black;
}
.datatable-table th a {
font-size: 1.2rem;
}
.hasham a
{
color:black;
}
.card-header { background-color: rgb(243 241 255);
}
.btn {
background: #d3d0e7 !important;
color: black !important;
border-color: #6e6695 !important;
font-weight: 600;
}
.btn:hover{border: 1px solid black !important;
}
.datatable-table > tbody > tr > td, .datatable-table > tbody > tr > th, .datatable-table > tfoot > tr > td, .datatable-table > tfoot > tr > th, .datatable-table > thead > tr > td, .datatable-table > thead > tr > th {
font-size: 1.2rem !important;
color: black !important;
}
</style>
<div id="layoutSidenav_content">
<main>
<div class="card-header" style="margin-top:2%;">
<p style="color:black; padding-top: 3px; font-size: 2rem; Font-weight:Bold; text-align:center; margin-top:0px; padding:20px;">Admin / Employees List </p>
</div>
<div class="card-body" style="margin-top: 1%;">
<table id="datatablesSimple" class="hasham">
<thead>
<tr>
<th>Sr. #</th>
<th>Full Name</th>
<th>Designation</th>
<th>Phone No</th>
<th>Email Address</th>
<!-- <th>Password</th> -->
<th>Action</th>
<th>View</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Sr. #</th>
<th>Name</th>
<th>Designation</th>
<th>Phone No</th>
<th>Email Address</th>
<th>Action</th>
<th>View</th>
</tr>
</tfoot>
<tbody>
<?php
$s=1;
foreach ($power as $P ) {?>
<tr>
<td><p><?php echo $s++?></p></td>
<td><?php echo $P['Full_Name']?></td>
<td><p><?php $das=$P['user'];
if($das=='e'){echo 'Emloyee';}
elseif($das=='a'){echo 'Admin';}
?></p></td>
<td><p><?php echo $P['Phone_Number']?></p></td>
<td><?php echo $P['Email_Address']?></td>
<!-- <td><p>25/04/2021</p></td> -->
<td><b>
<?php $app=$P['approve'];
$id=$P['Id'];
if($app=='n'){ ?>
<a href="appupdate?new= <?php echo $id?>"><button class="btn btn-info" style="">New Account</button></b></a>
<?PHP }
elseif($app=='c'){?>
<a href="appupdate?can= <?php echo $id?>" ><button class="btn btn-danger" style="background: #ffc0c0 !important;">Cancelled</button></b></a>
<?php }
else{ ?>
<a href="appupdate?app= <?php echo $id?>" ><button class="btn btn-sucess" style="background:#b8ffb8 !important;">Approved</button></b></a>
<?php }?>
</td></b>
<td><b><a href="profile?id=<?php echo $P['Id'] ?>" ><i class="fas fa-eye"></i></b></a></td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
</main>
<footer class="py-4 bg-light mt-auto">
<div class="container-fluid px-4">
<div class="d-flex align-items-center justify-content-between small">
<div class="text-muted">Copyright © Your Website 2023</div>
<div>
<a href="#">Privacy Policy</a>
·
<a href="#">Terms & Conditions</a>
</div>
</div>
</div>
</footer>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<script src="js/scripts.js"></script>
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/umd/simple-datatables.min.js" crossorigin="anonymous"></script>
<script src="js/datatables-simple-demo.js"></script>
</body>
</html>
<?php }
else{ echo '<script>window.open("login", "_self")</script>'; } ?>