UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
stmedicosoftware
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
load_collection.php
<?php require_once "config.php"; $from=$_POST['fromdate']; $to= $_POST['todate']; $consultant=$_POST['consultant']; $category=$_POST['category']; $paymentmode=$_POST['paymentmode']; if($consultant=="Select Consultant Doctor") $consultant=''; if($category=="Select Category") $category=''; if($paymentmode=="Select PaymentMode") $paymentmode=''; $sql="SELECT DATE_FORMAT(transactiondate,'%d-%m-%Y') as transactiondate ,filetype,showfileno,fileno,suhid,name,chargename,total,discount,recamt,paymentmode,bankname from v_dailycollection where (transactiondate between '".$from."' and '".$to."') and ( '".$paymentmode."'='' or paymentmode='".$paymentmode."') and ( '". $consultant."'='' or examinedby='". $consultant."') and ('".$category."'='' or chargename='".$category."') order by transactiondate DESC "; $resultset = mysqli_query($conn, $sql) or die("database error:". mysqli_error($conn)); $data = array(); while( $rows = mysqli_fetch_assoc($resultset) ) { $data[] = $rows; } $results = array( "sEcho" => 1, "iTotalRecords" => count($data), "iTotalDisplayRecords" => count($data), "aaData" => $data ); echo json_encode($results); ?>
Copyright © 2025 - UnknownSec