uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
mail
/
..
/
js
/
..
/
admin
/
product_user_list.php
/
/
<?php $title = "admin sale report"; include 'header.php'; ?> <h3>Product User List</h3> <?php echo getMessage();?> <table border="1" class="table_style"> <thead> <tr> <th> S.no </th> <th> P Name </th> <th> Packing </th> <th> MRP </th> <th> BV </th> <th> P. Cost </th> <th> Delete </th> </tr> </thead> <tbody> <?php $query = "Select * from product_user order by pname"; include_once('lib/ps_pagination.php'); /* * Create a PS_Pagination object * * $conn = MySQL connection object * $sql = SQl Query to paginate * 10 = Number of rows per page * 5 = Number of links * "param1=valu1¶m2=value2" = You can append your own parameters to paginations links */ $pager = new PS_Pagination($connection, $query, 20, 5); /* * Enable debugging if you want o view query errors */ $pager->setDebug(true); /* * The paginate() function returns a mysql result set * or false if no rows are returned by the query */ $rs = $pager->paginate(); if(!$rs) exit(""); $sno=1; while($row = mysqli_fetch_object($rs)){ echo "<tr><td>$sno</td> <td>$row->pname</td> <td>$row->pack</td> <td>$row->mrp</td> <td>$row->bv</td> <td>$row->cost</td> <td><a href='delete.php?table=product_user&recid=$row->recid&rfn=recid&file=1&redirect=product_user_list.php'>Delete</a></td> <tr> "; $sno++; } ?> </tbody> </table> <?php //Display the full navigation in one go echo $pager->renderFullNav(); ?> <br/> <?php include('footer.php'); ?>
/home2/wtmwscom/public_html/mail/../js/../admin/product_user_list.php