UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
testappnew
/
cpanel
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
list_appointment.php
<?php include "top.php";?> <div id="layoutSidenav_content"> <main> <div class="container-fluid px-4"> <h1 class="mt-4">Appointment List</h1> <ol class="breadcrumb mb-4 justify-content-between"> <li class="breadcrumb-item active">List of booked appointment.</li> <a class="btn btn-primary" href="add_appointment.php">Add Appointment</a> </ol> <div class="card mb-4"> <div class="card-header"> <i class="fas fa-table me-1"></i> Appointment </div> <div class="card-body"> <?php require_once "../config.php"; $curdate=date('Y-m-d'); $sql= "Select app.appid,app.appno,DATE_FORMAT(app.appdate, '%d-%m-%Y') as appdate,app.name,app.age,app.gender,app.mobileno,cons.AccountName as consultant,case when isdeleted=0 then 'Booked' else 'Cancel' end as isdeleted from appointmenttb as app,accountmastertb as cons where app.consultantid=cons.accountmasterid and app.appdate='".$curdate."'"; $result=mysqli_query($conn, $sql) or die("Query Failed."); if (mysqli_num_rows($result)>0) { ?> <table id="datatablesSimple"> <thead> <tr> <th width="10%">ID</th> <th width="10%">App No</th> <th width="10%">App Date</th> <th width="10%">Name</th> <th width="10%">Age</th> <th width="10%">Gender</th> <th width="10%">Mobile No</th> <th width="10%">Consultant</th> <th width="10%">App. Type</th> <th width="10%"></th> </tr> </thead> <tbody> <?php $serial= 1; while ($row = mysqli_fetch_assoc($result)) { ?> <tr> <td><?php echo $row['appid']; ?> </td> <td> <?php echo $row['appno']; ?> </td> <td> <?php echo $row['appdate']; ?> </td> <td> <?php echo $row['name']; ?> </td> <td> <?php echo $row['age']; ?> </td> <td> <?php echo $row['gender']; ?> </td> <td> <?php echo $row['mobileno']; ?> </td> <td> <?php echo $row['consultant']; ?> </td> <td> <?php echo $row['isdeleted']; ?> </td> <td align="center"> <div class="dropdown" align="left"> <p> <a href='add_appointment.php?id=<?php echo $row["appid"]; ?>&op=<?php echo "Cancel"; ?>'><i class=" glyphicon glyphicon-pencil"></i> Cancel</a></p> </div> </div> </td> </tr> <?php $serial++; } } ?> </tbody> </table> </div> </div> </div> </main> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec