MMCT TEAM
Server IP : 2a02:4780:11:1359:0:1d43:a566:2  /  Your IP : 216.73.216.31
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/ppschool.org.in/public_html/code/../jq1/../mjcacademy/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/ppschool.org.in/public_html/code/../jq1/../mjcacademy/print2.php
<html>
			<head>
			<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
			<?php 
				include("../link/databaseconnection.php"); 
				session_start();
			$lg=$_SESSION['admin'];
			$class=$_POST['class'];
			$session=$_POST['session'];
			
		
				
				?>
					<style>


	
  


 #div {
        float: left;
        column-gap: 5px;
   }
   
  
.top-left {
  position: absolute;
  top: 156px;
  left: 19px;
  font-size:11px;
  font-weight:bold;
  width:190px;
 
} 
#pic {
  position: absolute;
  top: 125px;
  left: 25px;
  border:1px solid;
  border-radius:6px;
  
}
#name {
  position: absolute;
  top: 185px;
  text-align:center;
  
  margin-left:97px;
  font-size:10px;
  font-weight:bold;
  color:yellow;
  -webkit-print-color-adjust: exact; 
  
}
#fname {
  position: absolute;
  top: 196px;
  left: 80px;
  font-size:8px;
   width:90%;
  
}
td{ font-size:9px;
    
  color: #ffffff;
  -webkit-print-color-adjust: exact; 

}
#dob {
  position: absolute;
  top: 275px;
  left: 80px;
  font-size:9px;
   width:90%;
  
}
#class {
  position: absolute;
  top: 290px;
  left: 80px;
  font-size:9px;
   width:90%;
  
}
#mob {
  position: absolute;
  top: 315px;
  left: 80px;
  font-size:9px;
   width:90%;
  
}
#add {
  position: absolute;
  top: 330px;
  left: 80px;
  font-size:9px;
   width:90%;
  
}
#fwidth {
  
  width:250;
  
  
}

#se1 {
  position: absolute;
  top: 120px;
  left: 28px;
  font-size:12px;
  font-weight:bold;
}
#class1 {
  position: absolute;
  top: 151px;
  left: 30px;
  font-size:12px;
  font-weight:bold;
  
  
}
#se {
  position: absolute;
  top: 137px;
  left: 28px;
  font-size:10px;
}
#sch {
  position: absolute;
  top: 210px;
  left: 217px;
  font-size:9px;
  font-weight:bold;
  color:white;
  -webkit-print-color-adjust: exact; 
}
#session {
  position: absolute;
  top: 115px;
  left: 20px;
  font-size:10px;
  font-weight:bold;
  color:red;
}
#qr {
  position: absolute;
  top: 210px;
  left: 185px;
  
}
#sign {
  position: absolute;
  top: 270px;
  left: 135px;
  
}
#br {
  
  top: 270px;
  left: 135px;
  
}


					</style>
			</head>
<body>
<div class="container-fluid">
	
		<div class="row">
		<!--menu-->
		
		<!--menu--close-->
		<?php
		$f = "0";
if(!file_exists($f)){
	touch($f);
	$handle =  fopen($f, "w" ) ;
	fwrite($handle,0) ;
	fclose ($handle);
}
 
include('libs/phpqrcode/qrlib.php'); 
		 $sel="select * from  registration where subject='PLAY GROUP' and status='' and session='$session' or  subject='NURSERY' and status='' and session='$session' or  subject='LKG' and status='' and session='$session' or  subject='UKG' and status='' and session='$session' ";
	$res=mysqli_query($conn,$sel);
	$s=1;
	while($row=mysqli_fetch_array($res,MYSQLI_BOTH))
		
	{
		
		$email = $row['sr'];
	$subject =  $row['name'];
	$father =  $row['fname'];
	$filename = $row['id'];
	$class =  $row['subject'];
	$vill =  $row['village'];
	$dist =  $row['dist'];
	//$link =  $cl;
	$tempDir = 'temp/'; 
	$r='Sr No : '.$email .  ', Name : '.$subject  .', Father : '.$father. ', Class : '.$class .', Add  :'.$vill. $dist  ;
	$codeContents = $r; 
	QRcode::png($codeContents, $tempDir.''.$filename.'.png', QR_ECLEVEL_L, 5);
		?><div class='col-sm-2' id='div' style='border-bottom: 30px solid #FFFFFF ;height:280px;width:275px;margin-top:0px'>
		<img src='../images/apple.png' style='height:280px;width:275px'>
		<img src='../code/img/<?php echo $row['picture'];?>' style='height:70px;width:60px' id='pic'>
		<img src="temp/<?php echo $filename.'.png';?>" style='height:30px;width:30px' id='qr'>
		
	
		<p id='sch' class='c' style='color:white'> <span id='u'><?php echo $email;?></span></p>
	<p  class='c'><span id='name' ><?php echo $row['name'];?></span></p>
		<div class='row' id='fname'>
		
		<table><tr><td>F.NAME</td><td style='color:#FFF5EE;'>: <?php echo $row['fname'];?></td></tr>
		<tr><td>DOB</td><td>: <?php echo $row['dob'];?></td></tr>
		<tr><td>CLASS</td><td>: <?php echo $row['subject'];?></td></tr>
		<tr><td>Add</td><td>: <?php echo $row['village'];?></td></tr>
		<tr><td colspan='2'> <span style='margin-left:10px'><?php echo $row['mobile'];?></span></td></tr>
		
		</table>
		</div>
	
	
		
			
		
		</div>
		<?php if($s==10){?>
		 <span id='br'></span>
  
		<?php
	}
	$s++;
	}
	
		?>
		
		</div>
		</html>

MMCT - 2023