0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
CPMS
/
ADMIN
/
[
Home
]
File: project_verify_ctrl.php
<?php require_once "../lib/config.php"; require_once BASE_DIR."/lib/db/connection.php"; @$_SESSION['sl_no']=0; $sql="select * from addproject"; search_advancetakenentry::printsearch_advancetakenentryDetails($sql); class search_advancetakenentry { //50 public function printsearch_advancetakenentryDetails($sql1) {//53 $sql=mysql_query($sql1); if(mysql_affected_rows()>0) {//57 ?> <table width="880" height="83" border="1" align="center" bordercolor="#CC0000"> <tr bgcolor="#853008"> <th width="34" height="42"><font color="#F7E7BD">S no</font></th> <th width="97"><font color="#F7E7BD">Division</font></th> <th width="103"><p><font color="#F7E7BD">Project code</font></p> </th> <th width="298"><font color="#F7E7BD">Title</font></th> <th width="105"><font color="#F7E7BD">Verification Date</font></th> <th width="30"><font color="#F7E7BD">Edit</font></th> </tr> <tr><?php while($row=mysql_fetch_array($sql)) {//75 ?> <th ><?php @$_SESSION['sl_no']=@$_SESSION['sl_no']+1; echo @$_SESSION['sl_no']; ?></th> <th><?php $user_id= $row['user_id']; $sql_user="select user_name from user where user_id='$user_id'"; $sql_user=mysql_query($sql_user); while($row_user=mysql_fetch_array($sql_user)) { $division_name = $row_user['user_name']; } echo $division_name; ?></th> <th><?php echo $row['project_code']; ?></th> <th><?php echo $row['project_title']; ?></th> <th><?php echo $row['verify_date']; ?></th> <th><a href="project_verify_edit.php?id=<?php echo $row['project_id']; ?>"><img src="../images/edit.png" alt="edit" width="25" height="25" /></a></th> <!-- <th><a href="../USER/edit_payment.php?id=</?php echo $row['payment_id']; ?>"><img src="../images/edit.png" alt="edit" width="25" height="25" /></a></th> <th> <a href="../USER/delete_payment.php?id=</?php echo $row['payment_id']; ?>"><img src="../images/delete.jpg" alt="Delete" width="25" height="25" /></a></th>--> </tr> <?php }//75 ?> </table> <?php }//57 else {//57 ?><font color="#CC0000"><b><?php echo "No Details to display"; ?></b></font><?php }//57 }//53 }//50 ?>