����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 162.0.232.25 / Your IP : 18.191.198.245 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'; include './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"> <li class="breadcrumb__item"><a href="home">Home</a></li> <li class="breadcrumb__item breadcrumb__item--active">News</li> </ul> </div> <!-- end breadcrumb --> </div> <div class="tab-content"> <div class="tab-pane fade show active" id="tab-1" role="tabpanel"> <div class="row row--grid"> <?php include './php/connect.php'; $query = "SELECT `nid`,`title`,`image`,`views`,UNIX_TIMESTAMP()-`date` as spent_time FROM `news` ORDER BY `nid` DESC"; $run = mysqli_query($conn, $query) or die(mysqli_error($conn)); $count = mysqli_num_rows($run); while ($row = mysqli_fetch_array($run)) { ?> <!-- post --> <div class="col-12 col-sm-6 col-lg-4 wow fadeInUp" data-wow-duration="0.7s" data-wow-delay="0.7s"> <div class="post"> <a href="article=<?php echo $row['nid'];?>" class="post__img"> <img src="news/<?php echo $row['image']; ?>" alt=""> </a> <div class="post__content"> <h3 class="post__title"><a href="article=<?php echo $row['nid'];?>"><?php echo $row['title']; ?></a></h3> <div class="post__meta"> <span class="post__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 timeSpent($row['spent_time']); ?></span> <span class="post__comments"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <i class="fa fa-eye"></i> </svg> <?php echo $row['views']; ?></span> </div> </div> </div> </div> <!-- end post --> <?php } ?> </div> </div> </div> </div> </main> <!-- end main content --> <?php include './footer.php'; ?> <script> document.querySelector("title").innerText = "Redlighttunes - News"; document.querySelectorAll("ul.sidebar__nav .sidebar__nav-item a")[5].classList.add("sidebar__nav-link--active"); </script> <?php include './scripts.php'; ?>