| Server IP : 172.64.80.1 / Your IP : 172.70.50.62 Web Server : Apache System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64 User : federalpolyede.edu.ng_idh35skikv ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/admin_main/ |
Upload File : |
<?php
/**
* Created by PhpStorm.
* User: adisa
* Date: 2016-03-24
* Time: 05:21 PM
*/
require_once('headMain_ord.php');
// require_once('../connect.php');
extract($_POST);
$db=db_connect();
// $sql_fetch=$sql->fetch(PDO::FETCH_BOTH);
//if(isset($_GET['ict'])){
// $filter=$_GET['ict'];
// $sql=$db->query("select * from stddata where formType='$filter'");
//
//}else{
$sql=$db->query("select * from vw_hnd_proposed");
//}
?>
<div class="row">
<div class="col-lg-10">
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-12" >
<div class="panel panel-info">
<div class="panel-heading">
Application Details
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="dataTable_wrapper">
<table class="table table-striped table-bordered table-hover" id="dataTables-example" >
<thead>
<tr>
<?php
if (isset($_GET['id'])){
if ($_GET['id']==1){
echo '<td colspan="10" class="alert alert-success" align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Password Changed Successfully';
}elseif($_GET['id']==2){
echo ' <td colspan="10" class="alert alert-success" align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>Department Changed Successfully';
}elseif($_GET['id']==3){
echo ' <td colspan="10" class="alert alert-success" align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>Form Already Filled';
}elseif($_GET['id']==4){
echo ' <td colspan="10" class="alert alert-danger" align="center" ><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>An Error Occurred';
}
}
?>
</tr>
<tr >
<th>S/N</th>
<th>FormNo</th>
<th>Full Name</th>
<th>Course Applied</th>
<th>ND Course</th>
<th>ND Institution</th>
<th>Year of Graduation</th>
<!-- <th>Date Created</th>-->
<th>IT Placement</th>
<th>IT Period</th>
<th>ND Matric No</th>
<th>ND Result</th>
<th>CBT Score</th>
<th>O'Level</th>
<th>O'Level</th>
</tr>
</thead>
<tbody>
<?php
$i=0;
while ($row=$sql->fetch(PDO::FETCH_BOTH)){
?>
<tr class="odd gradeX">
<td><?php echo $i +1;?></td>
<td><?php echo $formNo= $row['formNo'];?></td>
<td><?php echo $row['fullName'];?></td>
<td><?php echo $row['courseApplied'];?></td>
<td><?php echo $row['nd_Course'];?></td>
<td><?php echo $row['ndInstitution'];?></td>
<td><?php echo $row['ndGraduated'];?></td>
<td><?php echo $row['itPlacement'];?></td>
<td><?php echo $row['itPeriod'];?></td>
<td><?php echo $row['ndMatNo'];?></td>
<td><?php echo $row['O_level'];?></td>
<td><?php echo $row['cbtScore'];?></td>
<td><?php echo $row['oLevel'];?></td>
<td>
<?php
$a='True';
if ($a=='True'){
echo '<a href="passwordChanged.php?id='.$formNo.'"target="_blank">Reset Password</a>';
echo '<br><a href="changeDetails.php?id='.$formNo.'"target="_blank">Change Details</a>';
}else{
// echo '<a href="print/rotherFeePrint.php?id='.$orderID.'&ptype='.$pt.'"target="_blank">Re-Print Reciept</a>';
}
++$i;
}
?>
</td>
</tr>
</tbody>
</table>
</form>
<p> </p>
</fieldset></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
<?php
include('footMain.php');
?>