0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
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 id="datatable-buttons" class="table table-striped table-bordered"> <thead> <tr> <th>Sl No</th> <th>Division</th> <th>Project code</th> <th>Title</th> <th>Verification Date</th> <th>Edit</th> </tr> </thead> <tbody> <tr><?php while($row=mysql_fetch_array($sql)) {//75 ?> <td><?php @$_SESSION['sl_no']=@$_SESSION['sl_no']+1; echo @$_SESSION['sl_no']; ?></td> <td><?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; ?></td> <td><?php echo $row['project_code']; ?></td> <td><?php echo $row['project_title']; ?></td> <td><?php echo $row['verify_date']; ?></td> <td><a class="btn btn-sm btn-success" href="project_verify_edit.php?id=<?php echo $row['project_id']; ?>"><i class="fa fa-pencil"></i></a></td> <!-- <td><a href="../USER/edit_payment.php?id=</?php echo $row['payment_id']; ?>"><img src="../images/edit.png" alt="edit" width="25" height="25" /></a></td> <td> <a href="../USER/delete_payment.php?id=</?php echo $row['payment_id']; ?>"><img src="../images/delete.jpg" alt="Delete" width="25" height="25" /></a></td>--> </tr> <?php }//75 ?> </table> <?php }//57 else {//57 ?><font color="#CC0000"><b><?php echo "No Details to display"; ?></b></font><?php }//57 }//53 }//50 ?>