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/admit-card.php
<?php include("inc/top.php");?> <body> <!-- Main Wrapper Start --> <div class="main-wrapper"> <!-- navigation section --> <?php include("inc/navigation.php"); ?> <!-- end navigation section --> <!-- Breadcrumb --> <div class="breadcrumb-area" data-bgimage="images/header14.jpg" data-black-overlay="4"> <div class="container"> <div class="in-breadcrumb"> <div class="row"> <div class="col"> <h3> </h3> </div> </div> </div> </div> </div> <!--// Breadcrumb --> <main class="page-content"> <!-- About Us Area --> <div class="about-us-area section-ptb2"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="about-us-contents table-responsive"> <h3><span>Admit Card</span></h3> <div class="col-md-12"> <div class="row"> <div class="col-md-4 offset-md-4"> <form action="admit-card.php" method="post"> <div class="input-group mb-3"> <input type="text" name="search" class="form-control" placeholder="Enter Your Registration Number" style="font-size:16px;"> <div class="input-group-append"> <button type="submit" name="getData" class="btn btn-primary"><i class="zmdi zmdi-search"></i> Search</button> </div> </div> </form> </div> </div> <?php if(isset($_REQUEST['search']) && !empty($_POST['search'])) { $reg_id = $_POST['search']; $results = "SELECT * FROM `online_registration` WHERE `registration_number` = '$reg_id' and `admin_cart` = 1"; $run = mysqli_query($con, $results); if(mysqli_num_rows($run) > 0) { ?> <table class="table table-bordered table-stripped" style="font-size: 12px;"> <thead> <tr class="bg-dark text-white"> <th>Reg_no</th> <th>Certificate_no</th> <th>Name</th> <th>Father's Name</th> <th>Course</th> <th>Centre</th> <th>DOB</th> <th>Download</th> </tr> </thead> <tbody> <?php while($row = mysqli_fetch_array($run)) { ?> <tr> <td><?php echo $row['registration_number'];?></td> <td><?php echo $row['certi_no'];?></td> <td><?php echo ucfirst($row['name']);?></td> <td><?php echo ucfirst($row['father_name']);?></td> <td><?php echo strtoupper($row['course']);?></td> <td><?php echo ucfirst($row['centre_name']);?></td> <td><?php echo date("d-m-y", strtotime($row['dob']));?></td> <td><a href="admitcard.php?id=<?php echo $row['id'];?>" target="_blank" class="btn btn-danger"><i class="zmdi zmdi-download"></i> Download</a></td> <!--<td><a href="Id/admit.php?id=<?php //echo $row['registration_number'];?>" target="_blank" class="btn btn-danger"><i class="zmdi zmdi-download"></i> Download</a></td>---> </tr> <?php } ?> </tbody> </table> <?php } else { ?> <h3 class="text-center" style="padding: 50px;">No Records Found :(</h3> <?php } } ?> </div> </div> </div> </div> </div> </div> <!--// About Us Area --> </main> </div> <!-- footer --> <?php include("inc/footer.php"); ?> <!-- end footer -->