ok
Direktori : /proc/thread-self/root/home2/selectio/www/salemgovtitialumni.in/ |
Current File : //proc/thread-self/root/home2/selectio/www/salemgovtitialumni.in/working-report.php |
<?php include 'header.php'; $statement = $pdo->prepare("SELECT * FROM tbl_trainee WHERE status=1 AND type=4"); $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;">Work Detail</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;">Work Detail</li> </ul> </div> <!-- Page Banner Content End --> </div> </div> </div> </div> </div> <!-- Page Banner End --> <!-- Contact Start --> <div class="section contact-section section-padding" style="padding-top: 40px;padding-bottom: 60px;"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="contact-info-wrap"> <h3 class="info-title" style="text-align: center;padding-bottom: 35px;"></h3> <table class="table"> <thead style="border: 2px solid #2f2a55;background-color: #0c015b;color: aliceblue;"> <tr> <th scope="col" style="border: 1px solid;text-align: center;">S.No</th> <th scope="col" style="border: 1px solid;text-align: center;">Reports</th> <th scope="col" style="border: 1px solid;text-align: center;">File</th> </tr> </thead> <tbody style="border: 1px solid;"> <?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;" class="btn">PDF</a></td> </tr> <?php $i++; } }else{ echo 'No data Found'; } ?> </tbody> </table> </div> </div> </div> </div> </div> <!-- Contact End --> <?php include 'footer.php' ?>