BLACKSITE
:
3.141.164.124
:
103.154.184.216 / www.astitvaad.com
:
Linux vps.readyhost.in 4.18.0-553.6.1.el8.x86_64 #1 SMP Thu May 30 04:13:58 UTC 2024 x86_64
:
/
home
/
ceccomputer
/
public_html
/
Upload File:
files >> /home/ceccomputer/public_html/admitcard.php
<?php include "include/header.php"; ?> <?php include("inc/dbcon.php"); $id=$_REQUEST["id"]; $sql=mysqli_query($con,"select * from online_registration where id='$id'"); $row=mysqli_fetch_assoc($sql); ?> <script type="text/javascript"> function printContent(el) { var restorepage = document.body.innerHTML; var printcontent = document.getElementById(el).innerHTML; document.body.innerHTML = printcontent; window.print(); document.body.innerHTML = restorepage; } </script> <section class="result-page"> <div class="container"> <div class="row justify-content-center"> <div class="col-md-10"> <div class="result-detail" id="printthis" style="margin:auto;padding: 15px 10px 0px 10px;border: 1px solid #ddd;"> <table class="table table-bordered" style="box-shadow: 0px 0px 10px 0px #ddd;"> <thead> <tr> <th colspan="3"><img src="img/logo.png" class="img-fluid" style="margin: auto;display: block;"><span><p style="text-align: center;color: #e2842a;margin: 0;"><b>( Admit Card )</b></p></span></th> </tr> </thead> <tbody> <tr> <th>Name Of the student:</th> <td class="name_sec" style="width: 45%;"><?php echo $row['name'];?></td> <td rowspan="2"><img src="images/registration/<?php echo $row['image'];?>" class="img-fluid" style="height: 140px;margin: auto;display: block;"></td> </tr> <tr> <th>Father's Name:</th> <td class="name_sec"><?php echo $row['father_name'];?></td> </tr> <!-- <tr> <td rowspan="1"><img src="img/passport.jpg" class="img-fluid"></td> </tr> --> <tr> <th>Name of centre</th> <td colspan="2"><b><?php echo $row['centre_name'];?></b></td> </tr> </tbody> </table> <table class="table table-bordered"> <tbody> <tr> <th>Registration number</th> <th>Date</th> <th>Subject</th> <th>Sex</th> </tr> <tr> <td><?php echo $row['registration_number'];?></td> <td><?php echo $row['exam_date'];?> , <?php echo $row['exam_time'];?></td> <td><?php echo $row['course'];?></td> <td><?php echo $row['sex'];?></td> </tr> <tr> <th>Exam Centre </th> <td colspan="3"><b><?php echo $row['exam_center'];?></b></td> </tr> </tbody> </table> <table class="table table-bordered"> <tbody> <tr> <th>Student </th> <th>Director</th> <th>CEC</th> </tr> <tr> <td></td> <td></td> <td><img src="images/registration/a.jpg" style="width:127px;height:22px;" /></td> </tr> </tbody> </table> </div> </div> </div> <p align="center"><button onclick="printContent('printthis')" style="width:80px; background-color:#F30; color:#FFF;">Print</button></p> </div> </section> <?php include "include/footer.php"; ?>