ok
Direktori : /home2/selectio/public_html/salemgovtitialumni.in/ |
Current File : /home2/selectio/public_html/salemgovtitialumni.in/achievement.php |
<?php include 'header.php' ; $statement = $pdo->prepare("SELECT * FROM tbl_trainee WHERE status=1 AND type=1"); $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: 125px;"> <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;">Achievements Details</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;">Achievements Details</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: 30px;padding-bottom: 40px;"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="contact-info-wrap"> <h3 class="info-title" style="text-align: center;"></h3> <table class="table"> <thead style="border: 2px solid black;background-color: #f17a28;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' ?>