ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/salemgovtitialumni.in/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/salemgovtitialumni.in/trainee.php

<?php include 'header.php' ;

	$statement = $pdo->prepare("SELECT * FROM tbl_trainee WHERE status=1 AND type=3");
							$statement->execute();
							$result = $statement->fetchAll(PDO::FETCH_ASSOC);
							$total = $statement->rowCount();

?>

 <!-- Page Banner Start -->
    <div class="section page-banner-section" style="background-image: url(assets/images/bg/page-banner.jpg);margin-top: 15%;min-height: 130px;">
        <div class="container">
            <div class="page-banner-wrap">
                <div class="row">
                    <div class="col-lg-12">
                        <!-- Page Banner Content Start -->
                        <div class="page-banner text-center" style="margin-top: -8%;">
                            <h2 class="title" style="color: #f17a28;">Trainee Corner</h2>
                            <ul class="breadcrumb justify-content-center">
                                <li class="breadcrumb-item" style="color: #2e3092;"><a href="index.php">Home</a></li>
                                <li class="breadcrumb-item active" aria-current="page" style="color: #2e3092;">Trainee Corner</li>
                            </ul>
                        </div>
                        <!-- Page Banner Content End -->
                    </div>
                </div>
            </div>
        </div>
    </div>
<!-- Page Banner End -->

        <!-- Login & Register Start -->
        <div class="section login-register-section section-padding" style="padding-top: 50px;padding-bottom: 60px;">
            <div class="container">
                <h2 class="title">I.T.I Course & Admisson Details</h2>
                 <div class="login-register-wrap">
                    <div class="row gx-5">
                        
                        <div class="col-lg-12">

                            <!-- Login & Register Box Start -->
                            <div class="login-register-box">
                                <!-- Section Title Start -->
                                <div class="section-title">
                                    <h2 class="title">Students Achievements</h2>
                                </div>
                                <!-- Section Title End -->
                                <table class="table">
                                  <thead style="border: 1px solid #f17a28;background-color: #f17a28;color: aliceblue;">
                                    <tr>
                                      <th scope="col" style="border: 1px solid black; text-align: center;">S.No</th>
                                      <th scope="col" style="border: 1px solid black; text-align: center;">Name </th>
                                      <th scope="col" style="border: 1px solid black; text-align: center;">File </th>
                                    </tr>
                                  </thead>
                                  <tbody>
                                      <?php if($total > 0){ $i=1; foreach ($result as $row) { ?>
                                <tr>
                                  <th scope="row" style="border: 1px solid;text-align: center;"><?= $i ?></th>
                                  <td style="border: 1px solid;text-align: center;"><?= $row['acheiver_name'] ?></td>
                                  <td style="border: 1px solid;text-align: center;">
                                      <a target="_blank" href="dashboard/<?= $row['acheiver_file'] ?>" 
                                      style="background-color: dodgerblue; border: 1px solid; border-radius: 10px; height: 0px; line-height: 0px; padding: 13px;" class="btn">PDF</a>
                                  </td>
                                </tr>
                                
                                <?php $i++; } }else{ echo 'No data Found'; } ?>
                                  
                                      
                                    <tr>
                                      <th scope="row" style="border: 1px solid black; text-align:center;">2</th>
                                      <td style="border: 1px solid black; text-align: center;">C.Susila</td>
                                      <td style="border: 1px solid black; text-align: center;">
                                            <a href="assets/images/new-img/Student1.jpeg" class="btn" style="height: 0px; line-height: 0px; padding: 13px;" target="_blank">Click here</a>
                                      </td>
                                    </tr>
                                    <tr>
                                      <th scope="row" style="border: 1px solid black;text-align:center;">3</th>
                                      <td style="border: 1px solid black; text-align: center;">Venkatesan</td>
                                      <td style="border: 1px solid black; text-align: center;">
                                            <a href="assets/images/new-img/Student2.jpeg" style="height: 0px; line-height: 0px; padding: 13px;" class="btn" target="_blank">Click here</a>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                                
                            </div>
                            <!-- Login & Register Box End -->

                        </div>
                        </div>
                     </div>
            </div>
        </div>
        <!-- Login & Register End -->

<?php include 'footer.php' ?>
<script>
    $('#add_form').on('submit', function(e){
                e.preventDefault();
                $('#loading-div').show();
                $('#content-div').hide();
                var formData = new FormData(this);
                formData.append('type', 'add_notepad');
                            $.ajax({
                            url: 'apis/notepad.php',
                            type: 'post',
                            dataType: 'json',
                            data: formData,
                            cache: false,
                            contentType: false,
                            processData: false,
                            enctype: 'multipart/form-data',
                            success: function (response) {
                                if(response['status']==200){
                                     alert(response['message']);
                                     $('#loading-div').hide();
                                     $('#content-div').show();
                                     window.location.href="notepad-list.php";
                                }else{
                                    alert(response['message']);
                                    $('#loading-div').hide();
                                    $('#content-div').show();
                                }
                                
                               
                            }
                        });
                
    });
</script>

Zerion Mini Shell 1.0