MMCT TEAM
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  ]

Current File : /home/u490972518/domains/sssaup.com/public_html/print_scholarship.php
<?php
include("link/database.php");
$registration_no=$_REQUEST['registration_no'];
$session=$_REQUEST['session'];
$sel="select * from  scholarship where registration_no ='$registration_no' and session='$session' order by id desc";
$res=mysqli_query($conn,$sel);
$row=mysqli_fetch_array($res,MYSQLI_BOTH);
$session=$row['session'];
// $registration_no=$row['registration_no'];
 $sel12="select * from  student where registration_no ='$registration_no' and session='$session'";
$res12=mysqli_query($conn,$sel12);
$row12=mysqli_fetch_array($res12,MYSQLI_BOTH);

 $course_id=$row12['course'];


$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>Scholarship 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'];?>(<?php echo $row['year'];?>)</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 $row12['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 $row12['mother_name'];?></span></td><td width="20%"><span id="name2"> DOB</span></td><td><span id="name3"><?php echo  
date("d-m-Y", strtotime($row12['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 $row12['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">Aadhar 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 '2023';?></span></td>
</tr>

</table>
<table cellspacing="0" width="100%" border="1px" style='margin-top:10px'>
<tr>
<td colspan='9' align="center" style='background-color:black;color:white'><span id="name2">Income Certificate Details</span></td>

</tr>

<tr align="center">
<td><span id="name2">Application No. </span></td>
<td><span id="name3"><?php echo $row['in_app'];?></span></td>
<td><span id="name3">Certificate No.</span></td>
<td><span id="name3"><?php echo $row['in_cer'];?></span></td>
<td><span id="name3">Issue Date</span></td>
<td><span id="name3"><?php echo $row['in_date'];?></span></td>


</tr>
<tr align="center">
<td><span id="name2">Annual Income </span></td>
<td><span id="name3"><?php echo $row['income'];?></span></td>
<td><span id="name3"></span></td>
<td><span id="name3"></span></td>
<td><span id="name3"></span></td>
<td><span id="name3"></span></td>


</tr>


</table>
<table cellspacing="0" width="100%" border="1px" style='margin-top:10px'>
<tr>
<td colspan='9' align="center" style='background-color:black;color:white'><span id="name2">Caste Certificate Details</span></td>

</tr>

<tr align="center">
<td><span id="name2">Application No. </span></td>
<td><span id="name3"><?php echo $row['caste_app'];?></span></td>
<td><span id="name3">Certificate No.</span></td>
<td><span id="name3"><?php echo $row['caste_cer'];?></span></td>
<td><span id="name3">Issue Date</span></td>
<td><span id="name3"><?php echo $row['caste_date'];?></span></td>


</tr>



</table>
<table cellspacing="0" width="100%" border="1px" style='margin-top:10px'>
<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">Bank Name </span></td>
<td><span id="name3"><?php echo $row['bank'];?></span></td>
<td><span id="name3">Branch</span></td>
<td><span id="name3"><?php echo $row['branch'];?></span></td>
<td><span id="name3">Ifsc Code</span></td>
<td><span id="name3"><?php echo $row['ifsc'];?></span></td>


</tr>
<tr align="center">
<td><span id="name2">Account No. </span></td>
<td><span id="name3"><?php echo $row['account'];?></span></td>
<td><span id="name3"></span></td>
<td><span id="name3"></span></td>
<td><span id="name3"></span></td>
<td><span id="name3"></span></td>


</tr>



</table>

<table  cellspacing="0" width="100%" border="1px" style='margin-top:10px'>
<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  date("d-m-Y", strtotime($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>&emsp;&emsp;&emsp;&emsp;&emsp;

</body>
</html>
<?php }
else
{
    echo "<script>alert('Form Not filled or Invailid Registration No ');window.location.href='scholarship.php';</script>";
}

?>

MMCT - 2023