Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

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

<?php
require('Common/Header.php');
?>

<!-- Content Wrapper -->


<!-- ----------Top bar start------------  -->


<!-- ----------Top bar End------------  -->

<!-- Begin Page Content -->
<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <div class="card shadow mb-4">

                <div class="card-header py-3 d-flex justify-content-between align-items-center flex-wrap">
                    <h6 class="m-0 font-weight-bold text-primary text-md-left text-center " style="width:300px">Verified Migration</h6>
                    <div class="text-center text-md-right mt-2" style=" width:300px">

                        <!-- <a href='add_certificate.php' class="btn btn-primary" data-toggle="tooltip" data-placement="auto" title="Add"><i class="fas fa-upload"></i></a> -->

                    </div>
                </div>

                <div class="card-body">
                    <table class="table table-bordered DataTable" width="100%" cellspacing="0">
                        <thead>
                            <tr>
                                <th class="text-center">Sr.No.</th>
                                <th class="text-center">Pro.Pic.</th>
                                <th class="text-center">Student's<i class="invisible">_</i>Name</th>
                                <th class="text-center">Enroll<i class="invisible">_</i>No.</th>
                                <th class="text-center">Roll<i class="invisible">_</i>No.<i class="invisible">_</i></th>
                                <th class="text-center">Course</th>
                                <th class="text-center">Father's<i class="invisible">_</i>Name</th>
                                <th class="text-center">Mother's<i class="invisible">_</i>Name</th>
                                <th class="text-center">Date<i class="invisible">_</i>Of<i class="invisible">_</i>Admission</th>
                                <th class="text-center">Admission<i class="invisible">_</i>Session</th>
                                <th class="text-center">Email</th>
                                <th class="text-center">Phone</th>
                                <th class="text-center">Address</th>
                                <th class="text-center">10th<i class="invisible">_</i>Marksheet</th>
                                <th class="text-center">Date<i class="invisible">_</i>&<i class="invisible">_</i>Time</th>
                                <th class="text-center">Migration<i class="invisible">_</i>Reason</th>
                                <th class="text-center">File</th>
                                <th class="text-center">Action</th>
                            </tr>
                        </thead>

                        <tbody>

                            <?php
                            $s1 = mysqli_query($conn, "SELECT * FROM `certi_verification` where  certi_name = 'Migration' and status = 'Verified'");
                            $n  = 1;
                            while ($f = mysqli_fetch_assoc($s1)) {
                                $s2 = mysqli_query($conn, "SELECT * FROM `uploaded_certificates` where  certi_name = 'Migration'  and certi_id = '$f[certi_id]'");
                                if (mysqli_num_rows($s2) == 0) {
                                    $file = '---';
                                } else {
                                    $f2 = mysqli_fetch_assoc($s2);
                                    $file = "<a href='../Files/certificates/$f2[file]' target= 'blank'>View</a>";
                                }


                                $get_certi_data =  mysqli_query($conn, "SELECT * FROM `certificatedata` where  certi_id = '$f[certi_id]'");
                                if (mysqli_num_rows($get_certi_data) != 0) {
                                    $certi_f = mysqli_fetch_assoc($get_certi_data);
                                    $m_r = html_entity_decode($certi_f['migration_reason']);
                                } else {
                                    $m_r = 'Not Found';
                                }

                                $get_stu_data = mysqli_query($conn, "SELECT * FROM `student_data` where enroll_no = '$f[enroll_no]'");
                                $get_stu_data_r = mysqli_num_rows($get_stu_data);
                                if ($get_stu_data_r != 0) {
                                    $stu_f = mysqli_fetch_assoc($get_stu_data);
                                    $stu_name = $stu_f['full_name'];
                                    $father = $stu_f['father'];
                                    $mother = $stu_f['mother'];
                                    $address = $stu_f['address'];
                                    $email = $stu_f['email'];
                                    $roll_no = $stu_f['roll_no'];
                                    $phone = $stu_f['phone'];
                                    $course = $stu_f['course'];
                                    $session = $stu_f['session'];
                                    $pass_img = $stu_f['pass_img'];
                                    $marksheet = $stu_f['marksheet'];
                                    $admi_date = $stu_f['admi_date'];
                                } else {
                                    $stu_name = 'Not Found';
                                    $father = 'Not Found';
                                    $mother = 'Not Found';
                                    $address = 'Not Found';
                                    $email = 'Not Found';
                                    $roll_no = 'Not Found';
                                    $phone = 'Not Found';
                                    $course = 'Not Found';
                                    $session = 'Not Found';
                                    $pass_img = '#';
                                    $marksheet = '#';
                                    $admi_date = 'Not Found';
                                }






                                echo "
                                    <tr>
                                    <td class='text-center'>$n</td>
                                    <td class='text-center'>
                                    <img src='../Files/student/$pass_img' class='pro-pic table-pro-pic'>
                                    </td>
                                    <td class='text-center'>$stu_name</td>
                                    <td class='text-center'>$f[enroll_no]</td>
                                    <td class='text-center'>$roll_no</td>
                                    <td class='text-center'>$course</td>
                                    <td class='text-center'>$father</td>
                                    <td class='text-center'>$mother</td>
                                    <td class='text-center'>$admi_date</td>
                                    <td class='text-center'>$session</td>
                                    <td class='text-center'>$email</td>
                                    <td class='text-center'>$phone</td>
                                    <td class='text-center'>$address</td>
                                    <td class='text-center'>
                                    <img src='../Files/10th_marksheet/$marksheet' class='table-pro-pic' height='100'>
                                     </td>
                                    <td class='text-center'>$f[date], $f[time]</td>
                                   
                                    <td class='text-center'>$m_r</td>
                                    <td class='text-center'>$file</td>
                                        <td class = 'text-center'>
                                      <div class='dropdown no-arrow'>
                                      <a class='dropdown-toggle' href='#' role='button' id='dropdownMenuLink'
                                          data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>
                                          <i class='fas fa-ellipsis-v fa-sm fa-fw text-gray-400'></i>
                                      </a>
                                      <div class='dropdown-menu dropdown-menu-right shadow animated--fade-in'
                                          aria-labelledby='dropdownMenuLink'>
                                          <div class='dropdown-header'>Action</div>
                                          <a class='dropdown-item' href='generate_m.php?certi_id=$f[certi_id]&enroll_no=$f[enroll_no]' ><i class = 'fas fa-download text-primary'></i> Generate</a>
                                          <a class='dropdown-item' href='add_certificate.php?certi_name=$f[certi_name]&certi_id=$f[certi_id]&enroll_no=$f[enroll_no]' ><i class = 'fas fa-upload text-primary'></i> Upload</a>
                                      </div>
                                      </div>
                                      
                                      </td>
                                       </tr>
                                     ";


                                $n++;
                            }
                            ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

</div>


<?php require('Common/Footer.php') ?>


</body>

</html>

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