/
home
/
neelkanthworld
/
public_html
/
Upload File
HOME
<?php require('amrendra_master/lib/configure.php'); function loadSection($title){ $current_page= $title; include 'include/header.php'; } loadSection("Explore News"); $error= ""; ?> <div class="certificate-page my-5"> <div class="container-fluid"> <div class="container"> <h2 class="text-center my-5">Explore <span class="text-danger">News</span></h2> </div> <div class="container"> <div class="row"> <div class="col-lg-10 mx-auto"> <div class="shadow h-100 py-3 px-3"> <?php $res= $obj->getTable('news','news_id desc'); if($res){ $i=1; foreach($res as $news_data){ ?> <div class="row post-item mt-3"> <div class="col-lg-5"> <div class="border p-2"> <time class="bg-danger p-2 rounded text-white" datetime="2020-01-01"><?= date('d M Y',strtotime($news_data['news_date'])) ?></time> <img src="amrendra_master/upload/news/<?= $news_data['news_photo'] ?>" alt="" class="img-fluid"> </div> </div> <div class="col-lg-7"> <h4><?= $news_data['news_title'] ?></h4> <p><?= $news_data['news_msg'] ?></p> </div> </div><!-- End recent post item--> <?php } } ?> </div> </div> </div> </div> </div> </div> <!-------------------page ending ------------------------------> <?php include('include/footer.php'); ?>