UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
fill_former_equipment_details.php
<?php require_once "../panelassets/config.php"; /*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);*/ $farmerid= $_POST['farmer_id']; $query = "SELECT feid ,equipmentname,qty FROM v_farmerequipmentdetails where farmerid ='".$farmerid."' and isdeleted=0"; $filter_query = $query; $statement = $connect->prepare($query); $statement->execute(); $total_data = $statement->rowCount(); $statement = $connect->prepare($filter_query); $statement->execute(); $result = $statement->fetchAll(); $total_filter_data = $statement->rowCount(); $sno=1; if ($total_filter_data ==0) { $msg="No Record Found"; echo $msg; return; } $output = ' <table class="table"> <tr style="border: 1px solid black;"> <th style="border: 1px solid black;">S.No.</th> <th style="border: 1px solid black;">Equipment</th> <th style="border: 1px solid black;">Qty</th> <th style="border: 1px solid black;"></th> </tr> '; if ($total_data > 0) { foreach ($result as $row) { $output .= ' <tr> <td style="border: 1px solid black;">'.$sno.'</td> <td style="border: 1px solid black;">'.$row["equipmentname"].'</td> <td style="border: 1px solid black;">'.$row["qty"].'</td> <td style="border: 1px solid black;" align="right"><button onclick="remove('.$row["feid"].');"><i class="fa fa-trash icon_9"></i></button></td> </tr> '; $sno=$sno+1; } } else { $output .= ' <tr> <td colspan="8" align="center">Data Not Found</td> </tr> '; } $output .= ' </table> <br /> '; echo $output; ?>
Copyright © 2025 - UnknownSec