Server : LiteSpeed System : Linux in-mum-web983.main-hosting.eu 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : u520472703 ( 520472703) PHP Version : 8.2.29 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Directory : /home/u520472703/domains/gadhiaassociate.com/public_html/admin/ |
<?php include "components/header.php"; ?>
<a class="btn btn-primary p-4 my-3 rounded-4" href="edit-admin.php?act=add"> <i class="glyphicon glyphicon-plus-sign"></i> Add New admin</a>
<h1>Admin</h1>
<p>This table includes <?php echo counting("admin", "id");?> Admins.</p>
<table id="sorted" class="table table-striped table-bordered">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Password</th>
<th>Status</th>
<th class="not">Edit</th>
<th class="not">Delete</th>
</tr>
</thead>
<?php
$admin = getAll("admin");
if($admin) foreach ($admin as $admins):
?>
<tr>
<td><?php echo $admins['id']?></td>
<td><?php echo $admins['username']?></td>
<td><?php echo $admins['password']?></td>
<td><?php echo $admins['status']?></td>
<td><a href="edit-admin.php?act=edit&id=<?php echo $admins['id']?>"><i class="glyphicon glyphicon-edit"></i></a></td>
<td><a href="save.php?act=delete&id=<?php echo $admins['id']?>&cat=admin" onclick="return navConfirm(this.href);"><i class="glyphicon glyphicon-trash"></i></a></td>
</tr>
<?php endforeach; ?>
</table>
<?php include "components/footer.php";?>