Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.199 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/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<html> <head> <?php include("../link/admin_headconnection.php"); include("../link/databaseconnection.php"); session_start(); $lg=$_SESSION['admin']; $class=$_POST['class']; $session=$_POST['session']; if(!$lg) { header("location:../admin/index.php"); } ?> <link href="../css/dashboard.css" rel="stylesheet" type="text/css"/> <link href="../css/dashboardmenu.css" rel="stylesheet" type="text/css"/> <link href="../css/student_details_side_menu.css" rel="stylesheet" type="text/css"/> <link href="../css/student_details.css" rel="stylesheet" type="text/css"/> <style> @media print { #div { float: left; } #u { text-transform:uppercase; font-size:11px; } .up { font-size:11px; text-transform:capitalize } position: relative; text-align: center; color: white; } .top-left { position: absolute; top: 170px; left: 19px; font-size:12px; font-weight:bold; } #pic { position: absolute; top: 65px; left: 85px; } #sch { position: absolute; top: 140px; left: 190px; font-size:12px; font-weight:bold; } #session { position: absolute; top: 140px; left: 23px; font-size:11px; font-weight:bold; } #qr { position: absolute; top: 65px; left: 170px; } </style> </head> <body> <div class="container-fluid"> <div class="row"> <?php include("../link/admin_dashboardmenu .php");?> </div> <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 registration where session ='$session' and subject='$class'"; $res=mysqli_query($conn,$sel); $s=1; while($row=mysqli_fetch_array($res,MYSQLI_BOTH)) { $cl="http://ppschool.ayweb.in/student_print1.php?flag=".$row['id']; $email = $row['id']; $subject = $row['name']; $filename = $row['id']; $body = $row['subject'].' '.$cl; //$link = $cl; $tempDir = 'temp/'; $codeContents = 'mailto:'.$email.'?subject='.urlencode($subject).'&body='.urlencode($body); QRcode::png($codeContents, $tempDir.''.$filename.'.png', QR_ECLEVEL_L, 5); ?><div class='col-sm-2' id='div' style='border-bottom: 35px solid white ;height:320px;width:250px'><img src='../images/pacific_id.png' style='height:310px;width:250px'><img src='../code/img/<?php echo $row['picture'];?>' style='height:100px;width:83px' id='pic'><img src="temp/<?php echo $filename.'.png';?>" style='height:68px;width:68px' id='qr'><p class='top-left'>Name : <span id='u'><?php echo $row['name'];?></span><br/>Father : <span id='u'><?php echo $row['fname'];?></span><br/>DOB : <span id='u'><?php echo $row['dob'];?></span><br/>Class : <span id='u'><?php echo $row['subject'];?> - <?php echo $row['section'];?></span><br/>Phone : <span id='u'><?php echo $row['mobile'];?></span><br/>Add : <span style='font-size:11px' id='u' class='up'> <?php echo $row['village'];?></span><br/>Dist : <span style='font-size:11px' id='u' class='up'> <?php echo $row['dist'];?></span></p><p id='sch'><?php echo $row['application'];?></p><p id='session'><?php echo $row['session'];?></p></div><?php } ?> <br/> </div> </div> </html>