D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
proc
/
self
/
root
/
home
/
markniuj
/
bazmeasar.com
/
Filename :
record_details.php
back
Copy
<?php // Database connection parameters include 'config.php'; // Retrieve the audio file's ID from the query string if (isset($_GET['id']) && is_numeric($_GET['id'])) { $audio_id = $_GET['id']; // Query to select the specific audio file $query = "SELECT * FROM audio_files WHERE id = $audio_id"; $result = $conn->query($query); if ($result && $result->num_rows > 0) { // Fetch audio file details $row = $result->fetch_assoc(); $english_title = $row["english_title"]; $urdu_title = $row["urdu_title"]; $speaker = $row["speaker"]; $category = $row["category"]; $audio_filename = $row["audio_filename"]; $image_filename = $row["image_filename"]; $hits = $row["hits"]; } else { echo "Audio file not found."; } } else { echo "Invalid audio file ID."; } // Close the database connection $conn->close(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>record_details.php Bazm-e-Asar</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"> </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 --> <div class="container-fluid p-0 mb-5"> <div id="header-carousel" class="carousel slide" data-bs-ride="carousel"> <div class="carousel-inner"> <div class="carousel-item active"> <img class="w-100" src="img/slider-1.jpg" alt="Image"> <div class="carousel-caption d-flex align-items-center"> <div class="container"> <div class="row align-items-center justify-content-center justify-content-lg-start"> <div class="col-10 col-lg-7 text-center text-lg-start"> <h6 class="text-white text-uppercase mb-3 animated slideInDown">// Urdu Teaching //</h6> <h1 class="display-3 text-white mb-4 pb-3 animated slideInDown">Best online Urdu tuition academy for evryone</h1> <a href="" class="btn btn-primary py-3 px-5 animated slideInDown">Learn More<i class="fa fa-arrow-right ms-3"></i></a> </div> <div class="col-lg-5 d-none d-lg-flex animated zoomIn"> <img class="img-fluid" src="img/pngegg-1.png" alt=""> </div> </div> </div> </div> </div> <div class="carousel-item"> <img class="w-100" src="img/slider-4.jpeg" alt="Image"> <div class="carousel-caption d-flex align-items-center"> <div class="container"> <div class="row align-items-center justify-content-center justify-content-lg-start"> <div class="col-10 col-lg-7 text-center text-lg-start"> <h6 class="text-white text-uppercase mb-3 animated slideInDown">// Best Tuition service //</h6> <h1 class="display-3 text-white mb-4 pb-3 animated slideInDown">Our Teacher Understand your Needs</h1> <a href="" class="btn btn-primary py-3 px-5 animated slideInDown">Learn More<i class="fa fa-arrow-right ms-3"></i></a> </div> <div class="col-lg-5 d-none d-lg-flex animated zoomIn"> <img class="img-fluid" src="img/edu.png" alt=""> </div> </div> </div> </div> </div> </div> <button class="carousel-control-prev" type="button" data-bs-target="#header-carousel" data-bs-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="visually-hidden">Previous</span> </button> <button class="carousel-control-next" type="button" data-bs-target="#header-carousel" data-bs-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="visually-hidden">Next</span> </button> </div> </div> <!-- Carousel 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">// Mian Category >>> <?php echo $category; ?> //</h6> <h1 class="mb-5"><?php echo $speaker; ?>.</h1> </div> <div class="row g-4 wow fadeInUp" data-wow-delay="0.3s"> <h2><?php echo $english_title; ?></h2> <h3><center><?php echo $urdu_title; ?></center></h3> <h5> </h5> <h2></h2> <h1><img src="uploads/images/<?php echo $image_filename; ?>" alt="Urdu bayan"></h1> <!-- Display the audio player --> <audio controls> <source src="uploads/audio/<?php echo $audio_filename; ?>" type="audio/mpeg"> Your browser does not support the audio element. </audio> <!-- Provide a link to download the audio file --> <p><a href="uploads/audio/<?php echo $audio_filename; ?>" download><h1>Download</h1></a></p> <!-- Display the hit counter --> <p>Hit Count: <?php echo $hits; ?></p> </div> </div> </div> </div> </div> <!-- Service End --> <!-- Booking Start --> <div class="container-fluid bg-secondary booking my-5 wow fadeInUp" data-wow-delay="0.1s"> <div class="container"> <div class="row gx-5"> <div class="col-lg-6 py-5"> <div class="py-5"> <h1 class="text-white mb-4">Awards Winning male and female tutors</h1> <p class="text-white mb-0"></p> </div> </div> <div class="col-lg-6"> <div class="bg-primary h-100 d-flex flex-column justify-content-center text-center p-5 wow zoomIn" data-wow-delay="0.6s"> <h1 class="text-white mb-4">Book For A Course</h1> <form> <div class="row g-3"> <div class="col-12 col-sm-6"> <input type="text" class="form-control border-0" placeholder="Your Name" style="height: 55px;"> </div> <div class="col-12 col-sm-6"> <input type="email" class="form-control border-0" placeholder="Your Email" style="height: 55px;"> </div> <div class="col-12 col-sm-6"> <select class="form-select border-0" style="height: 55px;"> <option selected>Select A Course</option> <option value="1">Language Courses</option> <option value="2">IT & Computer Science</option> <option value="3">Healthcare & Medicine</option> <option value="3">Creative Arts & Media</option> </select> </div> <div class="col-12 col-sm-6"> <div class="date" id="date1" data-target-input="nearest"> <input type="text" class="form-control border-0 datetimepicker-input" placeholder="Join Date" data-target="#date1" data-toggle="datetimepicker" style="height: 55px;"> </div> </div> <div class="col-12"> <textarea class="form-control border-0" placeholder="Special Request"></textarea> </div> <div class="col-12"> <button class="btn btn-secondary w-100 py-3" type="submit">Book Now</button> </div> </div> </form> </div> </div> </div> </div> </div> <!-- Booking End --> <!-- Team Start --> <div class="container-xxl py-5"> <div class="container"> <div class="text-center wow fadeInUp" data-wow-delay="0.1s"> <h6 class="text-primary text-uppercase">// Our Teachers //</h6> <h1 class="mb-5">Our Expert Teachers</h1> </div> <div class="row g-4"> <div class="col-lg-3 col-md-6 wow fadeInUp" data-wow-delay="0.1s"> <div class="team-item"> <div class="position-relative overflow-hidden"> <img class="img-fluid" src="img/team-1.jpg" alt=""> <div class="team-overlay position-absolute start-0 top-0 w-100 h-100"> <a class="btn btn-square mx-1" href=""><i class="fab fa-facebook-f"></i></a> <a class="btn btn-square mx-1" href=""><i class="fab fa-twitter"></i></a> <a class="btn btn-square mx-1" href=""><i class="fab fa-instagram"></i></a> </div> </div> <div class="bg-light text-center p-4"> <h5 class="fw-bold mb-0">Full Name</h5> <small>Designation</small> </div> </div> </div> <div class="col-lg-3 col-md-6 wow fadeInUp" data-wow-delay="0.3s"> <div class="team-item"> <div class="position-relative overflow-hidden"> <img class="img-fluid" src="img/team-2.jpg" alt=""> <div class="team-overlay position-absolute start-0 top-0 w-100 h-100"> <a class="btn btn-square mx-1" href=""><i class="fab fa-facebook-f"></i></a> <a class="btn btn-square mx-1" href=""><i class="fab fa-twitter"></i></a> <a class="btn btn-square mx-1" href=""><i class="fab fa-instagram"></i></a> </div> </div> <div class="bg-light text-center p-4"> <h5 class="fw-bold mb-0">Full Name</h5> <small>Designation</small> </div> </div> </div> <div class="col-lg-3 col-md-6 wow fadeInUp" data-wow-delay="0.5s"> <div class="team-item"> <div class="position-relative overflow-hidden"> <img class="img-fluid" src="img/team-3.jpg" alt=""> <div class="team-overlay position-absolute start-0 top-0 w-100 h-100"> <a class="btn btn-square mx-1" href=""><i class="fab fa-facebook-f"></i></a> <a class="btn btn-square mx-1" href=""><i class="fab fa-twitter"></i></a> <a class="btn btn-square mx-1" href=""><i class="fab fa-instagram"></i></a> </div> </div> <div class="bg-light text-center p-4"> <h5 class="fw-bold mb-0">Full Name</h5> <small>Designation</small> </div> </div> </div> <div class="col-lg-3 col-md-6 wow fadeInUp" data-wow-delay="0.7s"> <div class="team-item"> <div class="position-relative overflow-hidden"> <img class="img-fluid" src="img/team-4.jpg" alt=""> <div class="team-overlay position-absolute start-0 top-0 w-100 h-100"> <a class="btn btn-square mx-1" href=""><i class="fab fa-facebook-f"></i></a> <a class="btn btn-square mx-1" href=""><i class="fab fa-twitter"></i></a> <a class="btn btn-square mx-1" href=""><i class="fab fa-instagram"></i></a> </div> </div> <div class="bg-light text-center p-4"> <h5 class="fw-bold mb-0">Full Name</h5> <small>Designation</small> </div> </div> </div> </div> </div> </div> <!-- Team End --> <!-- Testimonial Start --> <div class="container-xxl py-5 wow fadeInUp" data-wow-delay="0.1s"> <div class="container"> <div class="text-center"> <h6 class="text-primary text-uppercase">// Testimonial //</h6> <h1 class="mb-5">Our Students Say!</h1> </div> <div class="owl-carousel testimonial-carousel position-relative"> <div class="testimonial-item text-center"> <img class="bg-light rounded-circle p-2 mx-auto mb-3" src="img/testimonial-1.jpg" style="width: 80px; height: 80px;"> <h5 class="mb-0">Client Name</h5> <p>Profession</p> <div class="testimonial-text bg-light text-center p-4"> <p class="mb-0">Tempor erat elitr rebum at clita. Diam dolor diam ipsum sit diam amet diam et eos. Clita erat ipsum et lorem et sit.</p> </div> </div> <div class="testimonial-item text-center"> <img class="bg-light rounded-circle p-2 mx-auto mb-3" src="img/testimonial-2.jpg" style="width: 80px; height: 80px;"> <h5 class="mb-0">Client Name</h5> <p>Profession</p> <div class="testimonial-text bg-light text-center p-4"> <p class="mb-0">Tempor erat elitr rebum at clita. Diam dolor diam ipsum sit diam amet diam et eos. Clita erat ipsum et lorem et sit.</p> </div> </div> <div class="testimonial-item text-center"> <img class="bg-light rounded-circle p-2 mx-auto mb-3" src="img/testimonial-3.jpg" style="width: 80px; height: 80px;"> <h5 class="mb-0">Client Name</h5> <p>Profession</p> <div class="testimonial-text bg-light text-center p-4"> <p class="mb-0">Tempor erat elitr rebum at clita. Diam dolor diam ipsum sit diam amet diam et eos. Clita erat ipsum et lorem et sit.</p> </div> </div> <div class="testimonial-item text-center"> <img class="bg-light rounded-circle p-2 mx-auto mb-3" src="img/testimonial-4.jpg" style="width: 80px; height: 80px;"> <h5 class="mb-0">Client Name</h5> <p>Profession</p> <div class="testimonial-text bg-light text-center p-4"> <p class="mb-0">Tempor erat elitr rebum at clita. Diam dolor diam ipsum sit diam amet diam et eos. Clita erat ipsum et lorem et sit.</p> </div> </div> </div> </div> </div> <!-- 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>