ok
Direktori : /proc/thread-self/root/home2/selectio/www/salemgovtitialumni.in/ |
Current File : //proc/thread-self/root/home2/selectio/www/salemgovtitialumni.in/upcoming-events.php |
<?php include 'header.php'; $ids = $_GET['code']; $page_name = ''; if($ids==1){ $page_name = ' Upcoming Events '; }else{ $page_name = ' Annual Statement '; } $statement_important = $pdo->prepare("SELECT * FROM tbl_important_links WHERE type =".$ids); $statement_important->execute(); $important_result = $statement_important->fetchAll(PDO::FETCH_ASSOC); $important_total = $statement_important->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;"> <?=$page_name ?></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;"> <?= $page_name ?></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;">Name</th> <th scope="col" style="border: 1px solid;text-align: center;">File</th> </tr> </thead> <tbody style="border: 1px solid;"> <?php if($important_total > 0){ $i=1; foreach ($important_result as $important_results) { ?> <tr> <th scope="row" style="border: 1px solid;text-align: center;"><?= $i ?></th> <td style="border: 1px solid;text-align: center;"><?= $important_results['name'] ?></td> <td style="border: 1px solid;text-align: center;"><a target="_blank" href="dashboard/<?= $important_results['image'] ?>" 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' ?>