|
Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.52 Web Server : LiteSpeed System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u490972518 ( 490972518) PHP Version : 5.6.40 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /home/u490972518/domains/sssaup.com/public_html/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include("link/database.php");
$application=$_REQUEST['flag'];
$sel="select * from exam where application ='$application' and exam_status='Yes'";
$res=mysqli_query($conn,$sel);
$row=mysqli_fetch_array($res,MYSQLI_BOTH);
$session=$row['session'];
$year=$row['year'];
$course_id=$row['course'];
$registration_no=$row['registration_no'];
$sel12="select * from student where registration_no ='$registration_no'";
$res12=mysqli_query($conn,$sel12);
$row12=mysqli_fetch_array($res12,MYSQLI_BOTH);
$sel121="select * from payment where student_registration ='$registration_no' and session='$session' and area='Exam' and status='SUCCESS'";
$res121=mysqli_query($conn,$sel121);
$row121=mysqli_fetch_array($res121,MYSQLI_BOTH);
$sel1="select * from course where id ='$course_id'";
$res1=mysqli_query($conn,$sel1);
$row1=mysqli_fetch_array($res1,MYSQLI_BOTH);
if($row)
{
?>
<html>
<head>
<script src="js/jquery-3.2.1.min.js"></script> <!--jquery-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<style>
#name2{font-weight:bold}
@media print {
#name2{font-weight:bold;font-size:13px}
#name3{font-size:13px}
body{
-webkit-print-color-adjust:exact;
}
p{font-size:11px}
td{font-size:12px}
td{text-transform: uppercase;}
}
</style>
<script>
$(document).ready(function(){
$("#pay").click(function(){
window.location.href='bil.php';
});
});
$(document).ready(function(){
$("#print").click(function(){
$("#pay").css("visibility","hidden");
$("#back").css("visibility","hidden");
$("#print").css("visibility","hidden");
window.print();
window.location.href='index.php';
});
$("#back").click(function(){
window.location.href='index.php';
});
});
</script>
<link href="css/student_print.css" rel="stylesheet" type="text/css">
</head>
<body>
<table frame="border" width="100%" >
<tr style='background-color:black;color:white'>
<td colspan='2'><span><img src="images/h1.jpg" height="150px" width="100%"/></span></td>
</tr>
</table>
<table cellspacing="0" width="100%" border="1px">
<h2 style='text-align:center;font-weight:bold'><u>Examination Form (<?php echo $session;?>)</u></h2>
<tr>
<td ><span id="name2">Form No.</span></td><td ><span id="name3"><?php echo $session?><?php echo $row['id'];?></span></td><td><span id="name2">Course</span></td><td ><span id="name2"><?php echo $row1['course'];?> </span></td><td align="right" rowspan="3"width="10%"><span><img src="center/code/img/<?php echo $row['image'];?>" style="height:150px;width:100px" ></span></td>
</tr>
<tr>
<td width="20%"><span id="name2">Student's Name</span></td><td width=""><span id="name3"><?php echo $row['student_name'];?></span></td><td width="20%"><span id="name2">Father's Name</span></td><td width=""><span id="name3"><?php echo $row['father_name'];?></span></td>
</tr>
<tr>
<td width="20%"><span id="name2"> Mother's Name</span></td><td><span id="name3"><?php echo $row['mother_name'];?></span></td><td width="20%"><span id="name2"> DOB</span></td><td><span id="name3"><?php echo $row['dob'] ;?></span></td>
</tr>
</table>
<table cellspacing="0" width="100%" border="1px">
<tr>
<td width="30%"><span id="name2">Gender</span></td><td width="30%"><span id="name3"><?php echo $row['gender'];?></span></td><td width="20%"> <span id="name2">Course Duration</span></td><td width="30%"><span id="name3"><?php echo $row12['duration'];?></span></td>
</tr>
<tr>
<td width="30%"><span id="name2">Adhar Number</span></td><td width="30%"><span id="name3"><?php echo $row['adhar'];?></span></td><td width="20%"><span id="name2">Email</span></td><td width="20%"><span id="name3"><?php echo $row['email'];?></span></td>
</tr>
<tr>
<td width="30%"><span id="name2">Center Name</span></td><td width="20%"><span id="name3"><?php echo $row['center'];?> </span> </td><td width="20%"><span id="name2"></span>Session</td><td width="20%"><span id="name3"><?php echo $row['session'];?></span></td>
</tr>
<tr>
<td width="30%"><span id="name2">Year</span></td><td width="20%"><span id="name3"><?php echo $year;?> </span> </td><td width="20%"><span id="name2"></span>Exam Fees Status</td><td width="20%"><span id="name3">Paid</span></td>
</tr>
</table>
<table cellspacing="0" width="100%" border="1px">
<tr>
<td colspan='9' align="center" style='background-color:black;color:white'><span id="name2">Qualification Details</span></td>
</tr>
<tr align="center">
<td colspan='1' style='font-weight:bold'>Exam</td><td colspan='1' style='font-weight:bold'>Year Of Passing</td><td colspan='1' style='font-weight:bold'>Board/University</td><td colspan='1' style='font-weight:bold'>Total Marks</td><td style='font-weight:bold'>Obtain Marks</td>
</tr>
<tr align="center">
<td><span id="name2">Secondary </span></td>
<td><span id="name3"><?php echo $row['y_10'];?></span></td>
<td><span id="name3"><?php echo $row['b_10'];?></span></td>
<td><span id="name3"><?php echo $row['t_10'];?></span></td>
<td><span id="name3"><?php echo $row['o_10'];?></span></td>
</tr>
<tr align="center">
<td><span id="name2">Sr Secondary </span></td>
<td><span id="name3"><?php echo $row['y_12'];?></span></td>
<td><span id="name3"><?php echo $row['b_12'];?></span></td>
<td><span id="name3"><?php echo $row['t_12'];?></span></td>
<td><span id="name3"><?php echo $row['o_12'];?></span></td>
</tr>
<tr align="center">
<td><span id="name2">Graduation </span></td>
<td><span id="name3"><?php echo $row['y_ba'];?></span></td>
<td><span id="name3"><?php echo $row['b_ba'];?></span></td>
<td><span id="name3"><?php echo $row['t_ba'];?></span></td>
<td><span id="name3"><?php echo $row['o_ba'];?></span></td>
</tr>
</table>
<?php
if($row121)
{
?>
<table cellspacing="0" width="100%" border="1px">
<tr>
<td colspan='9' align="center" style='background-color:black;color:white'><span id="name2">Bank Details</span></td>
</tr>
<tr align="center">
<td><span id="name2">TxnId</span></td>
<td><span id="name3"><?php echo $row121['clientTxnId'];?></span></td>
<td><span id="name2">BankTxnId</span></td>
<td><span id="name3"><?php echo $row121['bankTxnId'];?></span></td>
</tr>
<tr align="center">
<td><span id="name2">PaymentMode </span></td>
<td><span id="name3"><?php echo $row121['paymentMode'];?></span></td>
<td><span id="name2">TransDate</span></td>
<td><span id="name3"><?php echo $row121['transDate'];?></span></td>
</tr>
<tr align="center">
<td><span id="name2">Paid Amount With Tran. Charge </span></td>
<td><span id="name3"><?php echo $row121['paidAmount'];?> Rs.</span></td>
<td><span id="name2">Status</span></td>
<td><span id="name3"><?php echo $row121['status'];?></span></td>
</tr>
</table>
<?php
}
?>
<table cellspacing="0" width="100%" border="1px">
<tr>
<td align="center" style='background-color:black;color:white'><span id="name2">Corresponding Address</span></td><td align="center" style='background-color:black;color:white'><span id="name2">Permanent Address
</span></td>
</tr>
<tr align="center">
<td><span id="name3"><?php echo $row['address'];?></br><?php echo $row['city'];?> </br><?php echo $row['dist'];?></br><?php echo $row['state'];?></br><?php echo $row['mobile'];?></br><?php echo $row['pincode'];?></span></td>
<td><span id="name3"><?php echo $row['address'];?></br><?php echo $row['city'];?> </br><?php echo $row['dist'];?></br><?php echo $row['state'];?></br><?php echo $row['mobile'];?></br><?php echo $row['pincode'];?></span></td>
</tr>
</table>
<p> आवेदन पत्र में समस्त सूचनायें अपने पूर्ण विश्वास के साथ सही भरी है | कोई भी तथ्य असत्य पाए जाने पर या जान बूझ कर छिपाने जाने पर मेरा फॉर्म निरस्त कर दिए जाने पर मुझे कोई आपत्ति नहीं होगी | </p>
<table width="100%" >
<tr align="center">
<td width="35%" ></td><td width="30" style='font-weight:bold'></td><td width="35%"><span id="name3" style='font-weight:bold'> Student's Signature</span></td>
</tr>
<tr>
<td align="center">नोट - यह फॉर्म अपने केंद्र पर मार्कशीट के साथ जमा करें | <br/> DateTime - : <?php echo $row['date'].','.$row['time']?></p></td><td></td><td align="center"><span></td>
</tr>
</table>
<button id="print" style="margin-left:500px;" >Click For Print</button>     
</body>
</html>
<?php }
else
{
echo '<script type="text/javascript">alert("Exam Fees Not Submit"); window.location.href="examination.php";</script>';
}
?>