UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
stmedicosoftware
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
load_selected_followup.php
<?php require_once "config.php"; session_start(); /*$connect = new PDO("mysql:localhost=3306; dbname=stbookingslotdb", "root", ""); /*function get_total_row($connect) { $query = " SELECT * FROM tbl_webslesson_post "; $statement = $connect->prepare($query); $statement->execute(); return $statement->rowCount(); } $total_record = get_total_row($connect);*/ $limit = '1000'; $page = 1; if($_POST['page'] > 1) { $start = (($_POST['page'] - 1) * $limit); $page = $_POST['page']; } else { $start = 0; } $from=$_POST['fromdate']; $to= $_POST['todate']; $consultant=$_POST['consultant']; $fromdateArray = array(); $fromdateArray=explode('-',$from); $todateArray = array(); $todateArray=explode('-',$to); $fromdateformat = intval($fromdateArray[2])."-".intval($fromdateArray[1])."-".intval($fromdateArray[0]); $todateformat = intval($todateArray[2])."-".intval($todateArray[1])."-".intval($todateArray[0]); $query="Select follo.id, follo.uhid,follo.visitid, DATE_FORMAT(follo.followupdate,'%d-%m-%Y') as followupdate ,follo.consultantid,follo.name,follo.age,follo.ageinyear,follo.mobileno,follo.gender,regis.token,follo.userid,follo.creationdatetime,follo.isdeleted,follo.modificationdatetime from followuptb as follo,tokenregistertb as regis where follo.mobileno=regis.mobileno and follo.followupdate between '".$from."' and '".$to."' and follo.consultantid='".$consultant."'"; $filter_query = $query . ' LIMIT '.$start.', '.$limit.''; $statement = $connect->prepare($query); $statement->execute(); $total_data = $statement->rowCount(); $result = $statement->fetchAll(); $statement = $connect->prepare($filter_query); $statement->execute(); //$result = $statement->fetchAll(); $total_filter_data = $statement->rowCount(); if($total_filter_data ==0) { $msg="No record found"; echo $msg; return; } $output = ' <table id="datatablesSimple" class="table table-striped table-bordered"> <tr> <th></th> <th>Date</th> <th>Name</th> <th>Age </th> <th>Year</th> <th>Gender</th> <th>Mobile No.</th> <th></th> </tr> '; if($total_data > 0) { $index=1; foreach($result as $row) { $output .= ' <tr> <td> <input type="checkbox" name='.$index.' id='.$index.' value="" class="dt-checkboxes"></td> <td>'.$row["followupdate"].'</td> <td>'.$row["name"].'</td> <td>'.$row["age"].'</td> <td>'.$row["ageinyear"].'</td> <td>'.$row["gender"].'</td> <td>'.$row["mobileno"].'</td> <td>'.$row["token"].'</td> </tr> '; $index=$index+1; } } else { $output .= ' <tr> <td colspan="8" align="center">No Data Found</td> </tr> '; } $output .= ' </table>'; echo $output; ?>
Copyright © 2025 - UnknownSec