-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marietaaaa
committed
May 12, 2023
0 parents
commit 0963092
Showing
167 changed files
with
11,127 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,254 @@ | ||
<?php | ||
|
||
include 'config.php'; | ||
|
||
session_start(); | ||
|
||
$user_id = $_SESSION['user_id']; | ||
|
||
if (!isset($user_id)) { | ||
header('location:login.php'); | ||
} | ||
|
||
?> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>about</title> | ||
|
||
<!-- font awesome cdn link --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> | ||
|
||
<!-- custom css file link --> | ||
<link rel="stylesheet" href="css/style.css"> | ||
<link rel="stylesheet" href="style.css"> | ||
<link rel="stylesheet" href="style1.css"> | ||
|
||
|
||
|
||
</head> | ||
|
||
<body> | ||
|
||
<?php include 'header.php'; ?> | ||
|
||
<section class="about"> | ||
|
||
<div class="flex"> | ||
|
||
<div class="image"> | ||
<iframe width="560" height="370" src="https://www.youtube.com/embed/ILmvKC-H1l0" | ||
title="YouTube video player" frameborder="0" | ||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" | ||
allowfullscreen></iframe> | ||
</div> | ||
|
||
<div class="content"> | ||
<h3>Librat me te bukur per tu lexuar nga Ava Jules</h3> | ||
<p>Këta libra janë disa nga të preferuarit e mi!!! Doja të bëja një video rreth librave që kam lexuar, por | ||
edhe librave që do të doja t'i shihja të përshtateshin nga BookFlix! Shpresoj të kënaqeni! Më tregoni | ||
cili është i preferuari juaj??? </p> | ||
<p>Bashkohuni me klubin tonë!</p> | ||
<a href="contact.php" class="btn">Na kontaktoni</a> | ||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
<section class="reviews" id="reviews"> | ||
|
||
<h1 class="title"> Komentet e klientit </h1> | ||
|
||
<div class="swiper reviews-slider"> | ||
|
||
<div class="swiper-wrapper"> | ||
|
||
<div class="swiper-slide box"> | ||
<img src="image/pic-1.png" alt=""> | ||
<h3>Hermes Ndreca</h3> | ||
<p>Libri erdhi ne gjendje te shkelqyer. E rekomandoj:))</p> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
</div> | ||
|
||
<div class="swiper-slide box"> | ||
<img src="image/pic-2.png" alt=""> | ||
<h3>Marieta vata</h3> | ||
<p> <audio controls> | ||
|
||
<source src="review.mp3" type="audio/mp3"> | ||
</audio> </p> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
</div> | ||
|
||
<div class="swiper-slide box"> | ||
<img src="image/pic-3.png" alt=""> | ||
<h3>Flavio luku</h3> | ||
<p>Procesi i dorzimit ishte shume i shpejte erdhi ne kohe reale.</p> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
</div> | ||
<div class="swiper-slide box"> | ||
<img src="image/pic-4.png" alt=""> | ||
<h3>Megi Stankoja</h3> | ||
<p>Me pelqen shume ky dyqan, ka vec librat me te mire dhe me te fundit, | ||
keshtu qe e dini se ktu gjinden vetem librat me te mire. | ||
|
||
</p> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
</div> | ||
|
||
<div class="swiper-slide box"> | ||
<img src="image/pic-5.png" alt=""> | ||
<h3>samed haveri</h3> | ||
<p>Me pelqen shume ky website, eshte lehtesisht i perdorshem dhe ka librat me te kerkuar.</p> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
</div> | ||
|
||
<div class="swiper-slide box"> | ||
<img src="image/pic-6.png" alt=""> | ||
<h3>Leonora dreshaj</h3> | ||
<p>Jam nje fanse e te blerit libra online dhe ky website i ka tejkaluar pritshmerite e mia.</p> | ||
<div class="stars"> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star"></i> | ||
<i class="fas fa-star-half-alt"></i> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
|
||
<section class="authors"> | ||
|
||
<h1 class="title">Autore</h1> | ||
|
||
<div class="box-container"> | ||
|
||
<div class="box"> | ||
<img src="autore/rowling.jpg" alt=""> | ||
<div class="share"> | ||
<a href="https://www.facebook.com/JKRowling/" class="fab fa-facebook-f"></a> | ||
<a href="https://twitter.com/jk_rowling?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor" | ||
class="fab fa-twitter"></a> | ||
<a href="https://www.instagram.com/jkrowling_official/?hl=en" class="fab fa-instagram"></a> | ||
<a href="https://www.linkedin.com/in/jk-rowling-453020193" class="fab fa-linkedin"></a> | ||
</div> | ||
<h3>J.K.Rowling</h3> | ||
</div> | ||
|
||
<div class="box"> | ||
<img src="autore/tevor.jpg" alt=""> | ||
<div class="share"> | ||
<a href="#" class="fab fa-facebook-f"></a> | ||
<a href="#" class="fab fa-twitter"></a> | ||
<a href="#" class="fab fa-instagram"></a> | ||
<a href="#" class="fab fa-linkedin"></a> | ||
</div> | ||
<h3>Trevor Noah</h3> | ||
</div> | ||
|
||
<div class="box"> | ||
<img src="autore/hoover.jpg" alt=""> | ||
<div class="share"> | ||
<a href="#" class="fab fa-facebook-f"></a> | ||
<a href="#" class="fab fa-twitter"></a> | ||
<a href="#" class="fab fa-instagram"></a> | ||
<a href="#" class="fab fa-linkedin"></a> | ||
</div> | ||
<h3>Colleen Hoover</h3> | ||
</div> | ||
|
||
<div class="box"> | ||
<img src="autore/jodi1.jpg" alt=""> | ||
<div class="share"> | ||
<a href="#" class="fab fa-facebook-f"></a> | ||
<a href="#" class="fab fa-twitter"></a> | ||
<a href="#" class="fab fa-instagram"></a> | ||
<a href="#" class="fab fa-linkedin"></a> | ||
</div> | ||
<h3>Jodi Picoult</h3> | ||
</div> | ||
|
||
<div class="box"> | ||
<img src="autore/Greven.jpg" alt=""> | ||
<div class="share"> | ||
<a href="#" class="fab fa-facebook-f"></a> | ||
<a href="#" class="fab fa-twitter"></a> | ||
<a href="#" class="fab fa-instagram"></a> | ||
<a href="#" class="fab fa-linkedin"></a> | ||
</div> | ||
<h3>Alec Greven</h3> | ||
</div> | ||
|
||
<div class="box"> | ||
<img src="autore/emma.jpg" alt=""> | ||
<div class="share"> | ||
<a href="#" class="fab fa-facebook-f"></a> | ||
<a href="#" class="fab fa-twitter"></a> | ||
<a href="#" class="fab fa-instagram"></a> | ||
<a href="#" class="fab fa-linkedin"></a> | ||
</div> | ||
<h3>Emma Cline</h3> | ||
</div> | ||
|
||
|
||
|
||
</div> | ||
|
||
</section> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<?php include 'footer.php'; ?> | ||
|
||
<!-- custom js file link --> | ||
<script src="script.js"></script> | ||
<script src="js/javascript.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
include 'config.php' | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?php | ||
|
||
include 'config.php'; | ||
|
||
session_start(); | ||
|
||
$admin_id = $_SESSION['admin_id']; | ||
|
||
if(!isset($admin_id)){ | ||
header('location:login.php'); | ||
}; | ||
|
||
if(isset($_GET['delete'])){ | ||
$delete_id = $_GET['delete']; | ||
mysqli_query($conn, "DELETE FROM `message` WHERE id = '$delete_id'") or die('query failed'); | ||
header('location:admin_contacts.php'); | ||
} | ||
|
||
?> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>messages</title> | ||
|
||
<!-- font awesome cdn link --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> | ||
|
||
<!-- custom admin css file link --> | ||
<link rel="stylesheet" href="admin_style.css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<?php include 'admin_header.php'; ?> | ||
|
||
<section class="messages"> | ||
|
||
<h1 class="title"> Mesazhet </h1> | ||
|
||
<div class="box-container"> | ||
<?php | ||
$select_message = mysqli_query($conn, "SELECT * FROM `message`") or die('query failed'); | ||
if(mysqli_num_rows($select_message) > 0){ | ||
while($fetch_message = mysqli_fetch_assoc($select_message)){ | ||
|
||
?> | ||
<div class="box"> | ||
<p> Id : <span><?php echo $fetch_message['user_id']; ?></span> </p> | ||
<p> Emri : <span><?php echo $fetch_message['name']; ?></span> </p> | ||
<p> Numri : <span><?php echo $fetch_message['number']; ?></span> </p> | ||
<p> Emaili : <span><?php echo $fetch_message['email']; ?></span> </p> | ||
<p> Mesazhi : <span><?php echo $fetch_message['message']; ?></span> </p> | ||
<a href="admin_contacts.php?delete=<?php echo $fetch_message['id']; ?>" onclick="return confirm('delete this message?');" class="delete-btn">Fshi mesazhin</a> | ||
</div> | ||
<?php | ||
}; | ||
}else{ | ||
echo '<p class="empty">you have no messages!</p>'; | ||
} | ||
?> | ||
</div> | ||
|
||
</section> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- custom admin js file link --> | ||
<script src="admin_script.js"></script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
if(isset($message)){ | ||
foreach($message as $message){ | ||
echo ' | ||
<div class="message"> | ||
<span>'.$message.'</span> | ||
<i class="fas fa-times" onclick="this.parentElement.remove();"></i> | ||
</div> | ||
'; | ||
} | ||
} | ||
?> | ||
|
||
<header class="header"> | ||
|
||
<div class="flex"> | ||
|
||
<a href="admin_page.php" class="logo">Bookflix</a> | ||
|
||
<nav class="navbar"> | ||
<a href="admin_page.php">Home</a> | ||
<a href="admin_products.php">Products</a> | ||
<a href="admin_orders.php">Orders</a> | ||
<a href="admin_users.php">Users</a> | ||
<a href="admin_contacts.php">Messages</a> | ||
</nav> | ||
|
||
<div class="icons"> | ||
<div id="menu-btn" class="fas fa-bars"></div> | ||
<div id="user-btn" class="fas fa-user"></div> | ||
</div> | ||
|
||
<div class="account-box"> | ||
<p>username : <span><?php echo $_SESSION['admin_name']; ?></span></p> | ||
<p>email : <span><?php echo $_SESSION['admin_email']; ?></span></p> | ||
<a href="logout.php" class="delete-btn">logout</a> | ||
<div>new <a href="login.php">login</a> | <a href="register.php">register</a></div> | ||
</div> | ||
|
||
</div> | ||
|
||
</header> |
Oops, something went wrong.