����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 162.0.232.25 / Your IP : 3.141.21.106 Web Server : LiteSpeed System : Linux premium276.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : kwacuqig ( 988) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/kwacuqig/redlighttunes.com/ |
Upload File : |
<?php include './php/connect.php'; include './php/time.php'; if (isset($_GET['id'])) { $nid = $_GET['id']; $sql = "SELECT `image`,`title`,`date`,`details`,`views` FROM `news` WHERE `nid`=$nid"; $run = mysqli_query($conn, $sql) or die(mysqli_error($conn)); list($image, $title, $date, $details, $views) = mysqli_fetch_array($run); $increment = ++$views; $sql2 = "UPDATE `news` SET `views`=$increment WHERE `nid`=$nid"; mysqli_query($conn, $sql2) or die(mysqli_error($conn)); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- CSS --> <link rel="stylesheet" href="css/bootstrap-reboot.min.css"> <link rel="stylesheet" href="css/bootstrap-grid.min.css"> <link rel="stylesheet" href="css/owl.carousel.min.css"> <link rel="stylesheet" href="css/magnific-popup.css"> <link rel="stylesheet" href="css/select2.min.css"> <link rel="stylesheet" href="css/paymentfont.min.css"> <link rel="stylesheet" href="css/slider-radio.css"> <link rel="stylesheet" href="css/plyr.css"> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/animate.css"> <!-- Favicons --> <link rel="icon" type="image/png" href="icon/redlighttunes.png" sizes="32x32"> <!--open graph codes--> <meta property="og:url" content="https://redlighttunes.com/article.php?id=<?php echo $nid; ?>" /> <meta property="og:type" content="website" /> <meta property="og:title" content="<?php echo $title; ?>" /> <meta property="og:image" content="https://redlighttunes.com/news/<?php echo $image; ?>" /> <meta property="og:description" content="<?php echo $title;?>" /> <meta property="fb:app_id" content="197362031139140" /> <meta name="description" content="Redlighttunes"> <meta name="author" content="Beaton Ndawa"> <title><?php echo "$title"; ?></title> </head> <body> <!-- header --> <header class="header"> <div class="header__content"> <div class="header__logo"> <a href="home"> <img src="./icon/redlighttunes.png" alt=""> </a> </div> <nav class="header__nav"> <a href="about">About</a> <a href="contacts">Contacts</a> </nav> <form action="search" method="POST" class="header__search"> <input type="text" name="search" placeholder="Search"> <button type="submit"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M21.71,20.29,18,16.61A9,9,0,1,0,16.61,18l3.68,3.68a1,1,0,0,0,1.42,0A1,1,0,0,0,21.71,20.29ZM11,18a7,7,0,1,1,7-7A7,7,0,0,1,11,18Z" /> </svg></button> </form> <div class="header__actions"> <div class="header__action header__action--search"> <button class="header__action-btn" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M21.71,20.29,18,16.61A9,9,0,1,0,16.61,18l3.68,3.68a1,1,0,0,0,1.42,0A1,1,0,0,0,21.71,20.29ZM11,18a7,7,0,1,1,7-7A7,7,0,0,1,11,18Z" /> </svg></button> </div> </div> <button class="header__btn" type="button"> <span></span> <span></span> <span></span> </button> </div> </header> <!-- end header --> <?php include './sidebar.php'; ?> <!-- main content --> <main class="main"> <div class="container-fluid"> <div class="row row--grid"> <!-- breadcrumb --> <div class="col-12"> <ul class="breadcrumb breadcrumb--hidden-desk"> <li class="breadcrumb__item"><a href="home">Home</a></li> <li class="breadcrumb__item"><a href="news.html">News</a></li> <li class="breadcrumb__item breadcrumb__item--active">Article</li> </ul> </div> <!-- end breadcrumb --> <div class="col-12 col-xl-10 offset-xl-1"> <div class="article"> <!-- article content --> <div class="article__content"> <img src="./news/<?php echo $image; ?>" alt=""> <div class="article__meta"> <span class="article__date"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path d="M12,2A10,10,0,1,0,22,12,10.01114,10.01114,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8.00917,8.00917,0,0,1,12,20ZM14.09814,9.63379,13,10.26807V7a1,1,0,0,0-2,0v5a1.00025,1.00025,0,0,0,1.5.86621l2.59814-1.5a1.00016,1.00016,0,1,0-1-1.73242Z" /> </svg> <?php echo date('d.m.Y, H:i:s', $date); ?></span> </div> <h1><?php echo $title; ?></h1> <p><?php echo $details; ?></p> </div> <!-- end comments --> </div> </div> </div> </div> </main> <!-- end main content --> <?php include './footer.php'; ?> <script> document.querySelectorAll("ul.sidebar__nav .sidebar__nav-item a")[5].classList.add("sidebar__nav-link--active"); </script> <?php include './scripts.php'; ?>