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 ] |
---|
<?php include('../link/databaseconnection.php'); session_start(); $lg=$_SESSION['admin']; if(!$lg) { header("location:../admin/index.php"); } $sel="select * from primaryadmit_card where class='primary'"; $res=mysqli_query($conn,$sel); $row=mysqli_fetch_array($res,MYSQLI_BOTH); $exam=$row['examname']; $sel1="select *from registration where class='L.K.G' or '2' or '3' or '4' or '5'"; $res1=mysqli_query($conn,$sel1); $sel3="select *from registration where class='L.K.G' or '2' or '3' or '4' or '5'"; $res3=mysqli_query($conn,$sel3); $row3=mysqli_fetch_array($res3,MYSQLI_BOTH); $rol=$row3['application']; ?> <html> <head> <link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" type="text/css" rel="stylesheet"/> <link href="https://cdn.datatables.net/buttons/1.5.1/css/buttons.dataTables.min.css" type="text/css" rel="stylesheet"/> <script src="//code.jquery.com/jquery-1.12.4.js"></script> <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.1/js/dataTables.buttons.min.js"></script> <script src="//cdn.datatables.net/buttons/1.5.1/js/buttons.flash.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js"></script> <script src="//cdn.datatables.net/buttons/1.5.1/js/buttons.html5.min.js"></script> <script src="//cdn.datatables.net/buttons/1.5.1/js/buttons.print.min.js"></script> <script> $(document).ready(function(){ $('#example').DataTable({ dom: 'Bfrtip', buttons: ['copy', 'csv', 'excel', 'pdf', 'print'] }); alert("ok"); }); </script> <style> #header { height:70px; background-color:red; width:495px; } #logo { height:70px; background-color:green; width:70px; float-left; } #name { height:70px; background-color:yellow; width:420px; float-left; } </style> </head> <body> <?php while($row1=mysqli_fetch_array($res1,MYSQLI_BOTH)) { ?> <center> <table frame="border" height="10%" width="70%" id="example"> <tr align="center"> <td colspan="5"><p style="font-weight:bold"><u>ADMIT CARD</u></p></td> </tr> <tr> <td align="center"><img src="../images/logo2.jpg" style="margin-top:-19px"height="90px" width="100px"/></td><td colspan="4" align="center"><p style="font-weight:bold">GLORIOLE CONVENT SCHOOL Navodaya Nagar,Jiyanpur- Azamgarh</p></td> </tr> </table> <table border="1px" width="70%" > <tr align="center"> <td><h4>Class:<?php echo $row['class'];?></h4></td><td colspan="2"><h4><?php echo $exam;?>-<?php echo $row['year'];?></h4></td><td colspan="3"><h4>Roll Number:<?php echo $rol;?></h4></td> </tr> <tr align="center"> <td>Name</td><td colspan="2"><p><?php echo $row1['name'];?></p></td><td rowspan="4"><img src="../code/img/<?php echo $row1['picture'];?>" height="80px" width="100px"/></td> </tr> <tr align="center"> <td>Father Name</td><td colspan="2"><p><?php echo $row1['fname'];?></p></td> </tr> <tr align="center"> <td>Mother Name</td><td colspan="2"><p><?php echo $row1['mname'];?></p></td> </tr> <tr align="center"> <td>Date Of Birth</td><td colspan="2"><p><?php echo $row1['dob'];?></p></td> </tr> <tr align="center"> <td colspan="5"><h3>SUBJECT</h3></td> </tr> <tr align="center"> <td><?php echo $row['subject1'];?></td><td><?php echo $row['date1'];?></td><td><?php echo $row['subject2'];?></td><td><?php echo $row['date2'];?></td> </tr> <tr align="center"> <td><?php echo $row['subject3'];?></td><td><?php echo $row['date3'];?></td><td><?php echo $row['subject4'];?></td><td><?php echo $row['date4'];?></td> </tr> <tr align="center"> <td><?php echo $row['subject5'];?></td><td><?php echo $row['date5'];?></td><td><?php echo $row['subject6'];?></td><td><?php echo $row['date6'];?></td> </tr> <tr align="center"> <td><?php echo $row['subject7'];?></td><td><?php echo $row['date7'];?></td><td align="right"><?php echo $row['subject8'];?></td><td><?php echo $row['date8'];?></td> </tr> <tr align="center"> <td><?php echo $row['subject9'];?></td><td><?php echo $row['date9'];?></td><td></td><td></td> </tr> <tr> <td colspan="2"><h4>Principal Signature</h4><br/></td><td colspan="2" align="right"><h4>Student Signature</h4><br/></td> </tr> <tr align="center"> <td>Note:</td><td colspan="3"><i>Please make Signature Principal and Student in Space.</i></td> </tr> </table> <center> <br/> <?php } ?> </body> </html>