Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.161 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/link/../code/../admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("../link/databaseconnection.php"); // $id=$_REQUEST['flag']; $session=$_POST['session']; $class=$_POST['class']; $sel3="select * from registration where session='$session' and subject='$class' order by id asc"; $res3=mysqli_query($conn,$sel3); while($row3=mysqli_fetch_array($res3,MYSQLI_BOTH)) { $id=$row3['id']; $sel="select * from achievement where student_id ='$id' and session='$session' order by id asc"; $res=mysqli_query($conn,$sel); if($row=mysqli_fetch_array($res,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: 35%; 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: 30%; color:black; font-size:22px; 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; } } </style> </head> <body> <div class="container" style='border:2px solid'> <img src="../images/achive12.jpg" alt="Snow" style="width:100%;"> <div class="name"><i><?php echo $row3['name'];?></i>Class -<i><?php echo $row3['subject'];?></i> <p style=''>For his/her outstanding Performance in <br/><br/><span style=' font-family: "Chopsic", sans-serif;font-size:20px;'><i><?php echo $row['position'];?></i></span></p><br/>For the Academic Year <?php echo $row3['session'];?> </div> <div class="pic"></div> </div> </body> </html> <?php ?> <p style='page-break-after: always;'></p><?php } }?>