MMCT TEAM
Server IP : 2a02:4780:11:1359:0:1d43:a566:2  /  Your IP : 216.73.216.20
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/js/../mjcacademy/app/../admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u490972518/domains/ppschool.org.in/public_html/js/../mjcacademy/app/../admin/print_t.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>


		@media print {
   #div {
        float: left;
        column-gap: 10px;
        margin-left:-5px;
        
   }	
   #u {
        text-transform:uppercase;
	
		font-weight:bold;
		
   }
    .up {
     
        text-transform:capitalize
		
   }
  position: relative;
  text-align: center;
  color: #ecf0f1;
  #session {
  
  color:blue;
}

#col{color:red}

#u{color:white!important;}
#po{color:white!important;}
#name{color:white!important;}
#sch{color:red!important;}
#fwidth1{color:red!important;}
#class{color:blue!important;}
#se{color:blue!important;}
#class1{color:red!important;}
#se1{color:red!important;}
}
#u{color:white!important;}
#po{color:white!important;}
#fwidth{color:blue!important;}
#fwidth12{color:blue!important;}
#class{color:blue!important;}
#sch{color:red!important;}
#fwidth1{color:red!important;}
#se{color:blue!important;}
#class1{color:red!important;}
#se1{color:red!important;}
 #div {
        float: left;
       
   }
.top-left {
  position: absolute;
  top: 156px;
  left: 19px;
  font-size:11px;
  font-weight:bold;
  width:190px;
 
} 
#pic {
  position: absolute;
  top: 110px;
  left: 84px;
  border:1px solid;
  border-radius:50%;
  
}
#name {
  position: absolute;
  top: 207px;
  text-align:center;
  margin-left:40px;
  font-size:12px;
  font-weight:bold;
  color:white;
   -webkit-print-color-adjust: exact; 
  
}
#po {
  position: absolute;
  top: 231px;
  text-align:center;
 
  margin-left:135px;
  font-size:11px;
  font-weight:bold;
 text-transform:uppercase;
   -webkit-print-color-adjust: exact; 
}

#f {
  position: absolute;
  top: 260px;
  text-align:center;
 
  margin-left:80px;
  font-size:9px;
  font-weight:bold;
  
}
#fwidth {
  
  width:200px;
 
  
  
}

#fwidth12 {
  
  width:180px;
 
  
  
}
#class {
  position: absolute;
  top: 199px;
  left: 35px;
  font-size:12px;
  font-weight:bold;
  
}
#se1 {
  position: absolute;
  top: 153px;
  left: 28px;
  font-size:12px;
  font-weight:bold;
}
#class1 {
  position: absolute;
  top: 182px;
  left: 30px;
  font-size:11px;
  font-weight:bold;
  
  
}
#se {
  position: absolute;
  top: 150px;
  left: 10px;
  font-size:11px;
    transform: rotate(90deg);
  font-weight:bold;
}
#sch {
  position: absolute;
  top: 169px;
  left: 35px;
  font-size:12px;
  font-weight:bold;
}
#session {
  position: absolute;
  top: 125px;
  left: 20px;
  font-size:10px;
  font-weight:bold;
  color:red;
}
#qr {
  position: absolute;
  top: 145px;
  left: 187px;
  
}
#sign {
  position: absolute;
  top: 270px;
  left: 135px;
  
}
#br {
  
  top: 270px;
  left: 135px;
  
}
#fname {
  position: absolute;
  top: 260px;
  left: 20px;
  font-size:9px;
   text-transform: :uppercase;
    -webkit-print-color-adjust: exact; 
  
}
#mobile {
  position: absolute;
  top: 276px;
  left: 20px;
  font-size:9px;
   text-transform: :uppercase;
  
}

#add {
  position: absolute;
  top: 294px;
  left: 20px;
  font-size:9px;
   text-transform: :uppercase;
  
}

					</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  teacher";
	$res=mysqli_query($conn,$sel);
	$s=1;
	while($row=mysqli_fetch_array($res,MYSQLI_BOTH))
		
	{
		
	
	$name =  $row['name'];
	$father =  $row['father'];
	$filename = $row['mobile'];
	$class =  $row['position'];
	$vill =  $row['city'];
	$post =  $row['post'];
	$dist =  $row['dist'];
		$mobile =  $row['mobile'];
	//$link =  $cl;
	$tempDir = 'temp/'; 
	$r=' Name : '.$name  .', F./H NAME : '.$father. ' MOB : '.$mobile  .',  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 #ecf0f1 ;height:369px;width:265px;margin-top:14px'>
		<img src='../images/te.png' style='height:369px;width:265px'>
		<img src='../code/img/<?php echo $row['image'];?>' style='height:90px;width:90px' id='pic'>
	<img src="temp/<?php echo $filename.'.png';?>"  id='qr' style='height:50px;width:50px'>
	
		
		<p id='name' class='c'><span id='u' style='text-transform: uppercase;'><?php echo $row['name'];?></span></p>
		<div id='fname'>
			<div class='col-sm-2' id='fwidth1'>F./H.NAME&nbsp;</div>
		<div class='col-sm-10' id='fwidth' style='text-transform: uppercase;'> &emsp;&nbsp;: <?php echo $row['father'];?></div>
		</div>
				<div id='mobile'>
			<div class='col-sm-2' id='fwidth1'>MOBILE&emsp;</div>
		<div class='col-sm-10' id='fwidth'> &emsp;&nbsp;: <?php echo $row['mobile'];?></div>
		</div>
			<div id='add'>
			<div class='col-sm-2' id='fwidth1'>ADD.&nbsp;</div>
		<div class='col-sm-10' id='fwidth12' style='text-transform:uppercase;'> &emsp;&nbsp;: <?php echo $row['city'];?><br/>&nbsp;&nbsp;&nbsp;&emsp;<?php echo $row['dist'];?></div>
		</div>
		
				<p id='po' class='c'><span id='u'><?php echo $row['position'];?></span></p>
				<p id='name' class='c'><span id='u'><?php echo $row['name'];?></span></p>
	
		</div>
		
		
		
		<?php ?>
		 
  
		<?php
	
	$s++;
	
}
	
		?>
		<style>
		    
		    	@media print {
		    	   
   #div {
        float: left;
        column-gap: 10px;
        margin-left:-15px;
        
   }	
   #u {
        text-transform:uppercase;
	
		font-weight:bold;
		
   }
    .up {
     
        text-transform:capitalize
		
   }
  position: relative;
  text-align: center;
  color: #ecf0f1;
  #session {
  
  color:blue;
}

#col{color:red}

#u{color:white!important;}
#po{color:white!important;}
#name{color:white!important;}
#sch{color:red!important;}
#fwidth1{color:red!important;}
#class{color:blue!important;}
#se{color:blue!important;}
#class1{color:red!important;}
#se1{color:red!important;}
}
		    
		    
		</style>
		</div>
		</html>

MMCT - 2023