Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/domains/sugam.kmclu.ac.in/public_html/
Dosya Yükle :
Current File : /home/u866425823/domains/sugam.kmclu.ac.in/public_html/stu_registration.php

<?php
session_start();
require('header.php');

if (isset($_SESSION['stu_reg_start_id'])) {
    echo "<script>window.history.forward()</script>";
}

if (isset($_POST['verify'])) {

    $en_no = realEscape('en_no');
    $roll_no = realEscape('roll_no');

    $check = mysqli_query($conn, "SELECT * FROM `student_data` where enroll_no = '$en_no' and roll_no = '$roll_no'");

    $check_r = mysqli_num_rows($check);
    if ($check_r != 0) {
        SuccessFun('Verification Successfully');
        $_SESSION['stu_reg_start_id']  = session_id();

        $_SESSION['en_no']  =  $en_no;
        $_SESSION['roll_no']  =  $roll_no;

        echo "<script>window.location.href = 'stu_registration_form.php'</script>";
    } else {
        DangerFun('Verification Failed');
    }
}
?>

<section class="page-content" style="background-color:#7FBCD2">

    <section class="container d-flex justify-content-center align-items-center" id="stu-reg-form-container">
        <div class="row bg-white shadow">
            <div class="col-md-6 col-12 p-0 m-0">
                <div class="d-flex justify-content-center align-items-center w-100 h-100">
                    <img src="img/stu-verification.jpg" class="w-100 h-100">
                </div>
            </div>
            <div class="col-md-6 col-12">
                <div class="pt-5 pb-5 pl-2 pr-2">
                    <form method="POST">
                        <div class="row">
                            <div class="col-12 mb-3 text-center">
                                <h3 class="label-color font-weight-bold">Student Verification</h3>
                            </div>
                            <div class="col-12 mb-3">
                                <label class="form-label label-color">Enrollement Number</label>
                                <input type="text" name="en_no" class="form-control" required placeholder="Enrollement Number">
                            </div>
                            <div class="col-12 mb-3">
                                <label class="form-label label-color">Roll Number</label>
                                <input type="text" name="roll_no" class="form-control" required placeholder="Roll Number">
                            </div>
                            <div class="col-12 mb-3 text-center">
                                <button type="submit" name="verify" class="btn btn-info pl-5 pr-5">Verify</button>

                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </section>




</section>




<?php require('footer.php')  ?>

</body>

</html>

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.