| Server IP : 172.64.80.1 / Your IP : 172.70.131.125 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_backup/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();
//echo $asession;
//echo $school;
echo '<div align="right"><a href="javascript:history.go(-1)"> Go to Previous page</a></div>';
$sql=$db->query("select * from rawscore where asession='$asession' and school like '%$school%' and dept='$dept' and level='$level'");
// $sql->rowCount();
?>
<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>Session</th>
<th>Department</th>
<th>Matric No</th>
<th>Level</th>
<th>Course Code</th>
<th>Score</th>
<!-- <th>Date Created</th>-->
<th>Grade</th>
<th>C. Point</th>
<th>Status Change</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 $asesion= $row['asession'];?></td>
<td><?php echo $row['dept'];?></td>
<td><?php echo $matNo= $row['matno'];?></td>
<td><?php
$matNo= $row['matno'];
//$sql_dept=$db->query("select * from dept where sn='$deptID'");
//$sql_dept_fetch=$sql_dept->fetch(PDO::FETCH_BOTH);
echo $row['level'];
?></td>
<td><?php echo $courseCode=$row['courseCode']; ?></td>
<td><?php echo $row['score'];?></td>
<td><?php echo $TransID=$row['grade'];?></td>
<!-- <td><?php // echo $row['dateCreated'];?></td>-->
<td><?php echo $row['cpoint'];?></td>
<td>
<?php
if ($a='True'){
echo '<a href="viewRawScore.php?matNo='.$matNo.'&asession='.$asession.'&courseCode='.$courseCode.'"target="_blank">Edit Score</a><br>';
echo '<a href="viewRawCGPA.php?matNo='.$matNo.'&asession='.$asession.'&level='.$level.'"target="_blank">Edit CGPA</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');
?>