0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS
/
ADMIN
/
[
Home
]
File: search_user_ctrl.php
<?php require_once "../lib/config.php"; //require_once BASE_DIR."/lib/db/DBconnection.php"; require_once BASE_DIR."/lib/db/connection.php"; class UserSearch { //7 public function printUserDetails($sql1) {//10 $sql=mysql_query($sql1); if(mysql_affected_rows()>0) {//14 ?> <div align="center"><b>User Details</b> </div> <table width="731" height="84" border="1" align="center"> <tr> <th width="48" height="42">S No</th> <th width="146">User Name </th> <th width="273">Email</th> <th width="159"><p>Verify Date</p> <p>(Transaction closed date)</p></th> <th width="71"> <div align="center">Edit </div></th> </tr><?php while($row=mysql_fetch_array($sql)) {//32 ?> <tr> <th><?php @$_SESSION['sl_no']=@$_SESSION['sl_no']+1; echo @$_SESSION['sl_no']; ?></th> <th><?php echo $row['user_name']; ?></th> <th><?php echo $row['email']; ?></th> <th></a> <?php echo $row['verify_date']; ?></th> <th><a href="../ADMIN/edit_user.php?id=<?php echo $row['user_id']; ?>&name=<?php echo $row['user_name'];?>"><img src="../images/business_user_edit.png" alt="edit" width="25" height="25" /></a><a href="../../ADMIN/edit_user.php?id=<?php echo $row['user_id']; ?>&name=<?php echo $row['user_name'];?>"></a><a href="../../ADMIN/edit_user.php?id=<?php echo $row['user_id']; ?>&name=<?php echo $row['user_name'];?>"></a></th> </tr> <?php }//32 ?> </table> <?php }//14 else {//14 ?><font color="#CC0000"><b><?php echo "No User to display"; ?></b></font><?php }//14 }//10 }//7 ?>