D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
home
/
markniuj
/
bazmeasar.com
/
Filename :
categories.php
back
Copy
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Categories</title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="" name="keywords"> <meta content="" name="description"> <!-- Favicon --> <link href="img/favicon.ico" rel="icon"> <!-- Google Web Fonts --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Barlow:wght@600;700&family=Ubuntu:wght@400;500&display=swap" rel="stylesheet"> <!-- Icon Font Stylesheet --> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet"> <!-- Libraries Stylesheet --> <link href="lib/animate/animate.min.css" rel="stylesheet"> <link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet"> <link href="lib/tempusdominus/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet" /> <!-- Customized Bootstrap Stylesheet --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- Template Stylesheet --> <link href="css/style.css" rel="stylesheet"> <link href="css/css.css" rel="stylesheet"> </head> <body> <!-- Spinner Start --> <div id="spinner" class="show bg-white position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center"> <div class="spinner-border text-primary" style="width: 3rem; height: 3rem;" role="status"> <span class="sr-only">Loading...</span> </div> </div> <!-- Spinner End --> <!-- Topbar Start --> <?php include 'include/topbar.php';?> <!-- Topbar End --> <!-- Navbar Start --> <?php include 'include/menu.php';?> <!-- Navbar End --> <!-- Carousel Start --> <!-- Carousel End --> <!-- Service Start --> <!-- Service End --> <!-- About Start --> <!-- About End --> <!-- Fact Start --> <!-- Fact End --> <!-- Service Start --> <div class="container-xxl service py-5"> <div class="container"> <div class="text-center wow fadeInUp" data-wow-delay="0.1s"> <h6 class="text-primary text-uppercase">// پسندیدہ عنوانات پر بیان ڈاؤن لوڈ کریں۔ //</h6> <h1 class="mb-5">Pasandeeda Mozoaat per Bayanat Download karen.</h1> </div> <div class="row g-4 wow fadeInUp" data-wow-delay="0.3s"> <div class="vertical-menu"> <a href="#" class="active">Mozo Ka Entikhab karen.</a> <?php include 'config.php'; // Retrieve distinct categories $sql = "SELECT DISTINCT category FROM audio_files"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $category = $row['category']; // Retrieve the count of records for each category $count_sql = "SELECT COUNT(*) AS record_count FROM audio_files WHERE category = '$category'ORDER BY upload_date DESC LIMIT 999"; $count_result = $conn->query($count_sql); $record_count = $count_result->fetch_assoc()['record_count']; echo "<a href='category.php?category=" . urlencode($category) . "'>$category ($record_count records)</a>"; } } else { echo "No category found."; } $conn->close(); ?> </div><!----end---verticle---> <?php // Hit counter $hits_file = "hits.txt"; if (file_exists($hits_file)) { $hits = (int)file_get_contents($hits_file); $hits++; } else { $hits = 1; } file_put_contents($hits_file, $hits); echo "<p>Total Hits: $hits</p>"; ?> </div> </div> </div> </div> </div> </div> </div> <!-- Service End --> <!-- Booking Start --> <!-- Booking End --> <!-- Team Start --> <!-- Team End --> <!-- Testimonial Start --> <!-- Testimonial End --> <!-- Footer Start --> <?php include 'include/footer.php';?> <!-- Footer End --> <!-- Back to Top --> <a href="#" class="btn btn-lg btn-primary btn-lg-square back-to-top"><i class="bi bi-arrow-up"></i></a> <!-- JavaScript Libraries --> <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js"></script> <script src="lib/wow/wow.min.js"></script> <script src="lib/easing/easing.min.js"></script> <script src="lib/waypoints/waypoints.min.js"></script> <script src="lib/counterup/counterup.min.js"></script> <script src="lib/owlcarousel/owl.carousel.min.js"></script> <script src="lib/tempusdominus/js/moment.min.js"></script> <script src="lib/tempusdominus/js/moment-timezone.min.js"></script> <script src="lib/tempusdominus/js/tempusdominus-bootstrap-4.min.js"></script> <!-- Template Javascript --> <script src="js/main.js"></script> </body> </html>