MMCT TEAM
Server IP : 2a02:4780:11:1359:0:1d43:a566:2  /  Your IP : 216.73.216.199
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 : OFF
Directory (0755) :  /home/u490972518/domains/swrampyarejan.in/public_html/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/swrampyarejan.in/public_html/admin/eightprint.php
<?php
$session=$_POST['session'];
$board=$_POST['board'];
$class=$_POST['class'];
$section=$_POST['section'];
 //$month=$_POST['month'];
include('../link/databaseconnection.php');
session_start();
			$lg=$_SESSION['admin'];
			if(!$lg)
			{
				header("location:index.php");
			}
			
			
$sel="select * from pgukgadmit where year='$session'  and class='$class'";
$res=mysqli_query($conn,$sel);
$row=mysqli_fetch_array($res,MYSQLI_BOTH);
$exam=$row['name'];
$sel1="select *from registration where session='$session' and subject='$class'";
$res1=mysqli_query($conn,$sel1);
$sel3="select *from registration where  session='$session' and subject='$class' and section='$section'";
$res3=mysqli_query($conn,$sel3);
$row3=mysqli_fetch_array($res3,MYSQLI_BOTH);
$rol=$row3['application'];

?>




<html>
<head>


<script>
$(document).ready(function(){
    $('#example').DataTable({
        dom: 'Bfrtip',
        buttons: ['copy', 'csv', 'excel', 'pdf', 'print']
    });
	
});
</script>
<style>
#header
{
	height:70px;
	background-color:red;
	width:495px;
}
#logo
{
	height:70px;
	background-color:green;
	width:70px;
	float-left;
}
#name
{
	height:70px;
	background-color:yellow;
	width:420px;
	float-left;
}
</style>
<style type="text/css" media="print">

@page 
    {
        size: auto;   /* auto is the initial value */
        margin: 10mm;  /* this affects the margin in the printer settings */
    }
   td{font-size:10px;
        
        text-transform: uppercase;
        
    }
    #a{text-transform: capitalize;}
    #b{text-transform: lowercase;}
</style>
</head>
<body>
<?php
$s=2017;
$r=1;
$p=0;
while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH))
{
$rol1=$row1['application'];
$app=$row1['application'];
  $application=$row1['application'];
  $code=$row1['code'];
  
  $subject=$row1['subject'];
  $class=$subject;

?>

<center>
    <table frame="border"  width="100%" id="example">
<tr align="">
<td align="center"><img src="../images/logo.png" style=""height="60px" width="60px"/></td><td colspan="2"><center><p style="font-weight:bold;text-align:center"><u>ADMIT CARD</u> 
<BR/>J Dawn Wasco School Khojapur Azamgarh<br/><span style="font-size:11px" id='b'> Cont.: &nbsp; 7318565965 , 9198040300</span> </p></center>


</td>
</tr>



</table>


<table border="1px" width="100%" cellspacing="0">
<tr align="left">
<td><h4>Class:&nbsp;<?php echo $row1['subject'];?>/<?php echo $row1['section'];?></h4></td><td colspan="2"><h4>  <?php echo $exam;?>&emsp;  <?php echo $session;?> </h4></td><td ><h4>App. Number:&nbsp;<?php echo $row1['id'];?></h4></td>
</tr>
<tr align="left">
<td>Name</td><td colspan="2"><p><?php echo $row1['name'];?></p></td><td rowspan="3"><img src="../code/img/<?php echo $row1['picture'];?>" height="70px" width="100px"/></td>
</tr>
<tr align="left">
<td>Father Name</td><td colspan="2"><p><?php echo $row1['fname'];?></p></td>
</tr>
<tr align="left">
<td>Mother Name</td><td colspan="2"><p><?php echo $row1['mname'];?></p></td>
</tr>

<tr align="center">
<td colspan="5"><h5>SUBJECT</h5></td>
</tr>
<table cellspacing="0" border="1px" width="100%">
<tr align="left">
<td><?php echo $row['sub1'];?></td><td><?php echo $row['date1'];?></td><td ><?php echo $row['sub2'];?></td><td><?php echo $row['date2'];?></td><td ><?php echo $row['sub3'];?></td><td><?php echo $row['date3'];?></td>
</tr>
<tr align="left">
<td><?php echo $row['sub4'];?></td><td><?php echo $row['date4'];?></td><td ><?php echo $row['sub5'];?></td><td><?php echo $row['date5'];?></td><td ><?php echo $row['sub6'];?></td><td><?php echo $row['date6'];?></td>
</tr>
<tr align="left">
<td><?php echo $row['sub7'];?></td><td><?php echo $row['date7'];?></td><td ><?php echo $row['sub8'];?></td><td><?php echo $row['date8'];?></td><td ><?php echo $row['sub9'];?></td><td><?php echo $row['date9'];?></td>
</tr>
<tr align="left">
<td><?php echo $row['sub10'];?></td><td><?php echo $row['date10'];?></td><td><?php echo $row['sub11'];?></td><td><?php echo $row['date11'];?></td><td></td><td></td>
</tr>

<tr>
<td colspan="2" align="center"><h4>Principal Signature</h4><br/></td><td colspan="3" align="center"><h4>Examination Incharge sign</h4><br/></td><td><b>Dues&nbsp;= <?php  $re_fee_van;?> 




</b></td>

</tr>


</table>
<center>

<?php
?><br/><?php
$r++;
$p++;
if($p==3)
{
   ?> <div style="page-break-before: always"></div> <?php
   $p=0;
}
}

?>
<?php 
?>
</body>
</html>

MMCT - 2023