Domain: amberpublishers.in
Server Adress: 86.38.243.169
privdayz.com
<?php
require('Common/Header.php');
$enroll_no = $f_s_d['enroll_no'];
$roll_no = $f_s_d['roll_no'];
// fee verification
// migration fee verification
$checkMigrationData = mysqli_query($conn, "SELECT * FROM `certificatedata` where enroll_no = '$enroll_no' and certi_name = 'Migration'");
if (mysqli_num_rows($checkMigrationData) > 0) {
$getMigrationFee = mysqli_fetch_assoc($checkMigrationData);
if ($getMigrationFee['fee'] == 0) {
$migration_response = paymentVerification($f_s_d['roll_no'], 'Migration');
if ($migration_response['payment_status'] == 'Success') {
$migration_db_colid = $getMigrationFee['col_id'];
$updateMigration = "UPDATE `certificatedata` SET `fee`='500' WHERE col_id = '$migration_db_colid'";
mysqli_query($conn, $updateMigration);
}
}
}
// Provisional Degree fee verification
$checkProvisional = mysqli_query($conn, "SELECT * FROM `certificatedata` where enroll_no = '$enroll_no' and certi_name =
'Provisional Degree'");
if (mysqli_num_rows($checkProvisional) > 0) {
$getProfisionalFee = mysqli_fetch_assoc($checkProvisional);
if ($getProfisionalFee['fee'] == 0) {
$Profisional_response = paymentVerification($f_s_d['roll_no'], 'Provisional Degree');
if ($Profisional_response['payment_status'] == 'Success') {
$Profisional_db_colid = $getProfisionalFee['col_id'];
$updateProfisional = "UPDATE `certificatedata` SET `fee`='300' WHERE col_id = '$Profisional_db_colid'";
mysqli_query($conn, $updateProfisional);
}
}
}
?>
<!-- Content Wrapper -->
<!-- ----------Top bar start------------ -->
<!-- ----------Top bar End------------ -->
<!-- Begin Page Content -->
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card shadow">
<div class="card-header">
<h4 class="text-primary font-weight-bold" style="font-size:18px">Application Status</h4>
</div>
<div class="card-body">
<table class="table table-bordered DataTable" id="student-data-table" width="100%" cellspacing="0">
<thead class="text-light" style="background-color:#008080;">
<tr>
<th class="text-center">Certificate<i class="invisible">_</i>Name</th>
<th class="text-center">Date </th>
<th class="text-center">Time</th>
<th class="text-center">Fee</th>
<th class="text-center">Status</th>
<!-- <th class="text-center">Action</th> -->
</tr>
</thead>
<tbody>
<?php
$get_certi_status = mysqli_query($conn, "SELECT * FROM `certificatedata` where enroll_no = '$f_s_d[enroll_no]' ");
if (mysqli_num_rows($get_certi_status) != 0) {
while ($f = mysqli_fetch_assoc($get_certi_status)) {
if ($f['certi_name'] == 'Migration') {
if ($f['fee'] != 0) {
$fee = "<span class='text-success font-weight-bold'>$f[fee]</span>";
} else {
$fee = "<a href='migration_apply.php' class='text-danger'>Pending</a>";
}
} elseif ($f['certi_name'] == 'Provisional Degree') {
if ($f['fee'] != 0) {
$fee = "<span class='text-success font-weight-bold'>$f[fee]</span>";
} else {
$fee = "<a href='pd_apply.php' class='text-danger'>Pending</a>";
}
} else {
$fee = 'Not Required';
}
echo "
<tr>
<td class='text-center'>$f[certi_name]</td>
<td class='text-center'>$f[date]</td>
<td class='text-center'>$f[time]</td>
<td class='text-center'>$fee</td>
<td class='text-center'>$f[status]</td>
</tr>
";
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-12">
<div class="card shadow">
<div class="card-header">
<h4 class="text-primary font-weight-bold" style="font-size:18px">Scrutiny Status</h4>
</div>
<div class="card-body">
<table class="table table-bordered DataTable" id="student-data-table" width="100%" cellspacing="0">
<thead class="text-light" style="background-color:#008080;">
<tr>
<th class="text-center">Paper Code</th>
<th class="text-center">Date </th>
<th class="text-center">Time</th>
<th class="text-center">Status</th>
<!-- <th class="text-center">Action</th> -->
</tr>
</thead>
<tbody>
<?php
$get_scrutiny_status = mysqli_query($conn, "SELECT * FROM `scrutiny` where enroll_no = '$f_s_d[enroll_no]' ");
if (mysqli_num_rows($get_scrutiny_status) != 0) {
while ($f = mysqli_fetch_assoc($get_scrutiny_status)) {
$P_code = show_json_string($f['paper_code']);
echo "
<tr>
<td class='text-center'>$P_code</td>
<td class='text-center'>$f[date]</td>
<td class='text-center'>$f[time]</td>
<td class='text-center'>$f[status]</td>
</tr>
";
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<?php require('Common/Footer.php') ?>
</body>
</html>
