korsygfhrfggfhfgfffgffg6655665dtggggggzangaiide
Elehhjhjjkjkfpf6df56fd65ffff
/
home2
/
apcagkk2
/
npwellnesscentre.com
/
Upload FileeE
HOME
<?php include 'admin/includes/config.php'; if(!isset($_GET['id'])) { header ("Location: ./"); exit(); } $id = $_GET['id']; $ighd = $_GET['id']; $check_query = "SELECT * FROM `news_dtls` WHERE id='$id'"; $result4 = mysqli_query($conn, $check_query); if (mysqli_num_rows($result4) !== 1) { header ("Location: ./"); exit(); } $query ="SELECT * FROM `news_dtls` WHERE id='$id'"; $result = mysqli_query($conn, $query); while($res = mysqli_fetch_array($result)) { $id = $res['id']; $news_no = $res['news_no']; $news_doc = $res['news_doc']; $news_title = $res['news_title']; $long_desc = $res['long_desc']; $status = $res['status']; $posted_on = $res['posted_on']; $updated_on = $res['updated_on']; $newDate = date("jS M Y", strtotime($posted_on)); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="keywords" content="NPWellness Centre (ଏନପିୱେଲ୍ନେସ୍ ସେଣ୍ଟର)" /> <meta name="description" content="NPWellness Centre (ଏନପିୱେଲ୍ନେସ୍ ସେଣ୍ଟର)" /> <meta name="author" content="NPWellness Centre (ଏନପିୱେଲ୍ନେସ୍ ସେଣ୍ଟର)" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title><?php echo $news_title; ?> | ** No1 Support System in Weight Management ** | NPWellness Centre (ଏନପିୱେଲ୍ନେସ୍ ସେଣ୍ଟର) </title> <!-- Favicon --> <link rel="shortcut icon" href="images/logo/npwellness_logo.png" /> <!-- Google Font --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Barlow+Semi+Condensed:300,500,600,700%7CRoboto:300,400,500,700"> <!-- CSS Global Compulsory (Do not remove)--> <link rel="stylesheet" href="css/font-awesome/all.min.css" /> <link rel="stylesheet" href="css/flaticon/flaticon.css" /> <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" /> <!-- Page CSS Implementing Plugins (Remove the plugin CSS here if site does not use that feature)--> <link rel="stylesheet" href="css/owl-carousel/owl.carousel.min.css" /> <!-- Template Style --> <link rel="stylesheet" href="css/style.css" /> <script src='https://kit.fontawesome.com/a076d05399.js' crossorigin='anonymous'></script> <script src='https://kit.fontawesome.com/a076d05399.js' crossorigin='anonymous'></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <script src='https://kit.fontawesome.com/a076d05399.js' crossorigin='anonymous'></script> <style> .property-details .property-details-inner { padding: 10px 5px 10px 5px; } @media only screen and (max-width: 500px) { #img_div { width: 100%; height: 200px !important; } } .property-details .property-details-inner { padding: 10px 5px 10px 5px; } #blog_para { width: 100% !important; display: -webkit-box !important; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; /*white-space: nowrap !important;*/ } .blockquote { border-left: 5px solid #db5e5e; } </style> </head> <body> <!--================================= header --> <?php include 'includes/header.php'; ?> <!--================================= header --> <!--================================= breadcrumb --> <div class="bg-light"> <div class="container"> <div class="row"> <div class="col-12"> <ol class="breadcrumb mb-0"> <li class="breadcrumb-item"><a href="index.php"> <i class="fas fa-home"></i> </a></li> <li class="breadcrumb-item"> <i class="fas fa-chevron-right"></i> <a href="news_updates.php">Updates</a></li> <li class="breadcrumb-item active"> <i class="fas fa-chevron-right"></i> <span style="text-transform: capitalize !important;"> News Details</span></li> </ol> </div> </div> </div> </div> <!--================================= breadcrumb --> <!--================================= blog-detail --> <section class="space-ptb"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="blog-detail"> <div class="blog-post"> <div class="blog-post-title"> <h2> <?php echo $news_title; ?></h2> </div> <div class="blog-post-footer border-0 justify-content-start"> <div class="blog-post-time ms-0"> <a href="#"> <i class="far fa-clock"></i> <?php echo $newDate; ?></a> </div> <div class="blog-post-author"> <span><i class="fa fa-user"></i> <a href="#"> By Admin</a> </span> </div> </div> <div class="blog-post-image"> <img class="img-fluid mb-4" src="admin/uploads/news/<?php echo $news_doc; ?>" alt="" id="img_div" style="width: 100%;height: 600px;"> </div> <div class="blog-post-content border-0"> <p style="font-weight: bold !important;"> <i class="text-primary d-block lead my-3"> <?php echo $news_title; ?></i> </p> <blockquote class="blockquote"> <p><?php echo $long_desc; ?></p> </blockquote> <br><br> <br><br> <div class="mt-4"> <h5 class="mb-4">Related News & Updates</h5> <div class="row"> <div class="col-12"> <div class="owl-carousel " data-nav-dots="true" data-items="3" data-md-items="3" data-sm-items="1" data-xs-items="1" data-xx-items="1" data-space="15"> <?php $selectquery="SELECT * FROM `news_dtls` WHERE status='A' ORDER BY id DESC"; $query = mysqli_query($conn,$selectquery); $nums = mysqli_num_rows($query); if($nums > 0) { while($res = mysqli_fetch_array($query)) { $id = $res['id']; $news_no = $res['news_no']; $news_doc = $res['news_doc']; $news_title = $res['news_title']; $long_desc = $res['long_desc']; $status = $res['status']; $posted_on = $res['posted_on']; $updated_on = $res['updated_on']; $newDate = date("jS M Y", strtotime($posted_on)); ?> <div class="item"> <div class="blog-post"> <div class="blog-post-image"> <img class="img-fluid" src="admin/uploads/news/<?php echo $news_doc; ?>" alt="" style="height: 200px;width: 100%;"> </div> <div class="blog-post-content"> <div class="blog-post-details"> <div class="blog-post-title"> <h5><a href="news_details.php?id=<?php echo $id; ?>"><?php echo $news_title; ?></a></h5> </div> <div class="blog-post-description"> <p class="mb-0" id="blog_para"><?php echo $long_desc; ?></p> </div> </div> <div class="blog-post-footer"> <div class="property-btn mt-2"> <a class="property-link text-right" href="news_details.php?id=<?php echo $id; ?>">View Details</a> </div> </div> </div> </div> </div> <?php } } else { ?> <style> .card { margin-bottom: 30px; border: 0; -webkit-transition: all .3s ease; transition: all .3s ease; letter-spacing: .5px; border-radius: 8px; -webkit-box-shadow: 1px 5px 24px 0 rgba(68,102,242,.05); box-shadow: 1px 5px 24px 0 rgba(68,102,242,.05); } .card .card-header { background-color: #fff; border-bottom: none; padding: 24px; border-bottom: 1px solid #f6f7fb; border-top-left-radius: 8px; border-top-right-radius: 8px; } .card-header:first-child { border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0; } .card .card-body { padding: 10px; background-color: transparent; } .btn-primary, .btn-primary.disabled, .btn-primary:disabled { background-color: #4466f2!important; border-color: #4466f2!important; } </style> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> </div> <div class="card-body cart"> <div class="col-sm-12 empty-cart-cls text-center"> <img src="images/image-gallery.png" width="130" height="130" class="img-fluid mb-4 mr-3"> <h3><strong>News & Updates is Empty</strong></h3> <h4>Please wait, we will add soon :)</h4> </div> </div> </div> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </section> <!--================================= blog-detail --> <!--================================= newsletter --> <section class="py-5 bg-primary"> <div class="container"> <div class="row"> <div class="col-lg-7"> <h3 class="text-white mb-0">NEED ANY HELP?</h3> </div> <div class="col-lg-5 mt-3 mt-md-0"> <a class="btn btn-white" href="contact-us.php">Make Appointment</a> <a class="btn btn-success" href="tel: 9776236077">Call us now</a> </div> </div> </div> </section><!--================================= newsletter --> <!--================================= footer--> <?php include 'includes/footer.php'; ?> <!--================================= footer--> <!--================================= Javascript --> <!-- JS Global Compulsory (Do not remove)--> <script src="js/jquery-3.6.0.min.js"></script> <script src="js/popper/popper.min.js"></script> <script src="js/bootstrap/bootstrap.min.js"></script> <!-- Page JS Implementing Plugins (Remove the plugin script here if site does not use that feature)--> <script src="js/owl-carousel/owl.carousel.min.js"></script> <!-- Template Scripts (Do not remove)--> <script src="js/custom.js"></script> </body> </html>