<?php
session_start();
include "connect.php";



		$id = intval($_REQUEST['id']);
		
		
		

?>

						<div class="table-responsive">
														<!--begin::Table-->
														<table class="table align-middle table-row-dashed fs-6 gy-5 mb-0">
															<!--begin::Table head-->
															<thead>
																<tr class="text-start text-gray-400 fw-bold fs-7 text-uppercase gs-0">
																	 <th>Step No
                            </th>
                            <th>Step
                            </th>
							<th>Document
                            </th>
							
                           

							
																	
																	
																</tr>
															</thead>
															<!--end::Table head-->
															<!--begin::Table body-->
															<tbody class="fw-semibold text-gray-600">
															<?php
															$i=1;
															$tt1=0;
															$evepay = "select * from res_collegedefferalsteps_detail where camdid=$id";
															$repay = mysqli_query($conn, $evepay);
															$i=1;
															while($rtpay = mysqli_fetch_assoc($repay))
															{
															$cdstep=$rtpay['cdstep'];
															$cdsdocument1=$rtpay['cdsdocument1'];
															if($cdsdocument1 != '')	
					{						
					$cdsdocument1 = "<a href='./docs/$cdsdocument1' target='_blank'>View</a>";
					}
															
															
															?>
																<tr>
																	
																	 <td>
                              <?php echo $i++;?>
                            </td>
                            <td>
                              <?php echo $cdstep;?>
                            </td>
							 <td>
                              <?php echo $cdsdocument1;?>
                            </td>
							
                            
							
																	
																</tr>
															<?php } ?>
																</tbody>
															<!--end::Table head-->
														</table>
																			
