D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
home
/
markniuj
/
bazmeasar.com
/
pdf
/
Filename :
slider.php
back
Copy
<?php include "../config.php"; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>LoveIcon - Responsive HTML 5 Template</title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <!-- responsive meta --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- For IE --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <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"> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/css/flaticon.css"> <link rel="stylesheet" href="assets/css/owl.css"> <link rel="stylesheet" href="assets/css/style.css"> <!-- Module css --> </head> <body> <h1>PDF Gallery</h1> <!-- Link to upload PDF --> <a href="pdf_upload.php">Upload PDF</a> <br> <a href="slider.php">Slider</a> <br> <!--Start Cause Style3 Area--> <section class="cause-style3-area"> <div class="cause-style3-area_bg" style="background-image: url(assets/images/pattern/cause-style3-area-bg.jpg);"></div> <div class="auto-container"> <div class="sec-title text-center"> <div class="sub-title"> <div class="inner"> <h3>We Change Your Life & World</h3> </div> <div class="outer"><img src="assets/images/icon/loveicon-2.png" alt=""></div> </div> <h2>Appeals & Donations</h2> </div> <div class="row"> <div class="col-xl-12"> <div class="theme_carousel cause2-carousel owl-nav-style-one owl-theme owl-carousel" data-options='{"loop": true, "margin": 50, "autoheight":true, "lazyload":true, "nav": false, "dots": false, "autoplay": true, "autoplayTimeout": 6000, "smartSpeed": 300, "responsive":{ "0" :{ "items": "1" }, "600" :{ "items" : "1" }, "768" :{ "items" : "2" } , "992":{ "items" : "3" }, "1200":{ "items" : "2" }}}'> <!--Start Single Cause Style1--> <div class="single-cause-style1 single-cause-style1--instyle2"> <div class="img-holder" style="background-image: url(assets/images/causes/causes-v2-2.jpg);"></div> <div class="text-holder"> <div class="category"> <h6>health</h6> </div> <h3><a href="causes-details.html">Contribute for Health<br> and Education Program</a></h3> <p>Nostrud aliquips exercitation laboris nisiut temp sed duis autey. Lorem unt ipsum sit amet elit dolor.</p> <div class="progress-levels progress-levels-style2"> <!--Skill Box--> <div class="progress-box wow"> <div class="inner count-box"> <div class="bar"> <div class="bar-innner"> <div class="bar-fill" data-percent="67" title="Book"></div> </div> </div> <div class="bottom-box"> <div class="rate-box"> <p>Achieved<span>$25,00</span></p> <p>Target<span>$5,000</span></p> </div> <div class="skill-percent"> <span class="count-text" data-speed="3000" data-stop="67">0</span> <span class="percent">%</span> <p class="outer-text">Pledged So Far</p> </div> </div> </div> </div> </div> <div class="btns-box"> <a class="btn-one" href="causes-details.html"> <span class="txt"><i class="arrow1 fa fa-check-circle"></i>Donate Now</span> </a> </div> </div> </div> <!--End Single Cause Style1--> </div> </div> </div> </div> </section> <!--End Cause Style3 Area--> <!--Start Partner Area--> <!--Start Partner Area--> <section class="partner-area partner-area--style2 pdt120-0-0"> <div class="container"> <div class="row"> <div class="col-xl-12"> <div class="top-box"> <div class="title"> <h2>Become Support Partner</h2> <h4>Provide financing support to help individuals build livelihoods</h4> </div> <div class="btn-box"> <a class="btn-one" href="contact.html"><span class="txt"><i class="arrow1 fa fa-check-circle"></i>get in touch</span></a> </div> </div> </div> </div> <ul class="partner-box partner-carousel owl-carousel owl-theme owl-dot-style1"> <?php // SQL query to retrieve PDF information from the database $sql = "SELECT * FROM pdf_books"; $result = $conn->query($sql); if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { // Display PDF information within the partner area echo "<li class='single-partner-logo-box'>"; echo "<h3>Book Name: " . $row["book_name"] . "</h3>"; echo "<p>Upload Date: " . $row["upload_date"] . "</p>"; echo "<p>Book Author: " . $row["book_author"] . "</p>"; echo "<p>PDF Category: " . $row["pdf_category"] . "</p>"; echo "<p>Description: " . $row["description"] . "</p>"; echo "<p>Download: <a href='pdf_download.php?file=" . $row["file_name"] . "'><i class='fa fa-download'></i></a></p>"; echo "<p>Hits: " . $row["hits"] . "</p>"; echo "<p>View: " . $row["views"] . "</p>"; echo "</li>"; } } ?> </ul> </div> </section> <!--End Partner Area--> <script src="assets/js/jquery.js"></script> <script src="assets/js/owl.js"></script> <!-- thm custom script --> <script src="assets/js/custom.js"></script> </body> </html> } } else { echo "No PDFs found in the database."; } ?>