First complete upload on nas
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
<footer class="footer-dark main-footer overflow-hidden position-relative pt-5">
|
||||
<div class="container pt-4">
|
||||
<div class="py-5">
|
||||
<!-- start app download content -->
|
||||
<div class="bg-primary rounded-4">
|
||||
<div class="col-xxl-10 col-md-11 col-10 d-flex flex-md-row flex-column-reverse align-items-md-end align-items-center mx-auto px-0 gap-4">
|
||||
<img class="app-image flex-shrink-0" src="assets/images/phone-mpckup.png" width="270" alt="Mobile app">
|
||||
<div class="align-items-lg-center align-self-center d-flex flex-column flex-lg-row ps-xxl-4 pt-5 py-md-3 text-center text-md-start">
|
||||
<div class="me-md-5">
|
||||
<h4 class="text-white"><?php echo $downloadourapp; ?></h4>
|
||||
<p class="mb-lg-0 text-white"><?php echo $downloadapptwo; ?></p>
|
||||
</div>
|
||||
<div class="d-flex flex-shrink-0 flex-wrap gap-3 justify-content-center">
|
||||
<!-- start apple store button -->
|
||||
<a class="align-items-center app-btn d-flex px-3 py-2 rounded-3 text-decoration-none text-white border" href="#"> <i class="fa-apple fab fs-28 me-2"></i>
|
||||
<div> <span class="fs-13 d-block">Available on the</span> <span class="fs-17 text-capitalize">App Store</span> </div>
|
||||
</a>
|
||||
<!-- end /. apple store button -->
|
||||
<a class="align-items-center app-btn d-flex fs-11 px-3 py-2 rounded-3 text-decoration-none text-white border" href="#"> <i class="fab fa-google-play fs-25 me-2"></i>
|
||||
<div> <span class="fs-13 d-block">Get it on</span> <span class="fs-17 text-capitalize">Google Play</span> </div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end /. app download content -->
|
||||
</div>
|
||||
<div class="border-top py-5">
|
||||
<div class="footer-row row gy-5 g-sm-5 gx-xxl-6">
|
||||
<div class="border-end col-lg-4 col-md-7 col-sm-6">
|
||||
<h5 class="fw-bold mb-4">Get In Touch</h5>
|
||||
<div class="mb-4">Join our newsletter and receive the best job<br class="d-none d-xxl-block"> openings of the week, right on your inbox.</div>
|
||||
<div class="border rounded-4 p-4 mb-4">
|
||||
<h6 class="text-white-50 mb-3">Join our Whatsapp:</h6>
|
||||
<a class="align-items-center d-block d-flex whatsapp-number" href="#"><i class="fa-brands fa-whatsapp fs-2 me-2"></i><span class="fs-5 fw-semibold text-decoration-underline">(123) 456-7890</span></a>
|
||||
</div>
|
||||
<h5 class="fw-bold mb-4">Want to join ListOn?<br> Write us !</h5>
|
||||
<span>support@yogiboook.com</span>
|
||||
</div>
|
||||
<div class="border-end col-lg-4 col-md-5 col-sm-6">
|
||||
<h5 class="fw-bold mb-4">Stay Connect</h5>
|
||||
<div>1123 Fictional St, San Francisco<br class="d-none d-xxl-block"> , CA 94103</div>
|
||||
<div class="mt-4">
|
||||
<a class="d-block fw-medium mb-1" href="#">
|
||||
<i class="fa-solid fa-phone me-2"></i><span>(123) 456-7890</span>
|
||||
</a>
|
||||
<a class="email-link d-block fw-medium" href="#">
|
||||
<i class="fa-solid fa-envelope me-2"></i>
|
||||
support@yogiboook.com
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h5 class="fw-bold mb-4">Get In Touch</h5>
|
||||
<div class="newsletter position-relative mt-4">
|
||||
<input type="email" class="form-control" placeholder="name@example.com">
|
||||
<button type="button" class="btn btn-primary search-btn position-absolute top-50 rounded-circle"><i class="fa-solid fa-angle-right"></i></button>
|
||||
</div>
|
||||
<div class="border-top my-4"></div>
|
||||
<h5 class="fw-bold mb-4">Follow the location</h5>
|
||||
<!-- start social icon -->
|
||||
<ul class="d-flex flex-wrap gap-2 list-unstyled mb-0 social-icon">
|
||||
<li>
|
||||
<a href="#" class="rounded-circle align-items-center d-flex fs-19 icon-wrap justify-content-center rounded-2 text-white inst">
|
||||
<i class="fab fa-instagram"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="rounded-circle align-items-center d-flex fs-19 icon-wrap justify-content-center rounded-2 text-white twi">
|
||||
<i class="fab fa-twitter"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="rounded-circle align-items-center d-flex fs-19 icon-wrap justify-content-center rounded-2 text-white dri">
|
||||
<i class="fab fa-dribbble"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="rounded-circle align-items-center d-flex fs-19 icon-wrap justify-content-center rounded-2 text-white fb">
|
||||
<i class="fab fa-facebook-f"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="rounded-circle align-items-center d-flex fs-19 icon-wrap justify-content-center rounded-2 text-white whatsapp">
|
||||
<i class="fa-brands fa-whatsapp"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- /. end social icon -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container border-top">
|
||||
<div class="align-items-center g-3 py-4 row">
|
||||
<div class="col-lg-auto">
|
||||
<!-- start footer nav -->
|
||||
<ul class="list-unstyled list-separator mb-2 footer-nav">
|
||||
<li class="list-inline-item"><a href="#">Privacy</a></li>
|
||||
<li class="list-inline-item"><a href="#">Sitemap</a></li>
|
||||
<li class="list-inline-item"><a href="#">Cookies</a></li>
|
||||
</ul>
|
||||
<!-- end /. footer nav -->
|
||||
</div>
|
||||
<div class="col-lg order-md-first">
|
||||
<div class="align-items-center row">
|
||||
<!-- start footer logo -->
|
||||
<a href="index.html" class="col-sm-auto footer-logo mb-2 mb-sm-0">
|
||||
<img src="assets/images/logo-white.png" alt="">
|
||||
</a>
|
||||
<!-- end /. footer logo -->
|
||||
<!-- start text -->
|
||||
<div class="col-sm-auto copy">© 2024 Yogiboook - All Rights Reserved- All Rights Reserved</div>
|
||||
<!-- end /. text -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$linkglobal="http://localhost/yogiwhere/public/schoolarea";
|
||||
|
||||
$fromaddresssmail="info@acscreativesolutions.com";
|
||||
|
||||
$openssl_encryptionAlgorithm = 'AES-128-CTR';
|
||||
|
||||
$openssl_encryptionKey = '6LdmQRcUAADGAJ530rqWaAxbuyPA9kZaO6r1I_MC6';
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
session_start();
|
||||
$cart_count = isset($_SESSION['cart']) ? count($_SESSION['cart']) : 0;
|
||||
echo json_encode(['cart_count' => $cart_count]);
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
// This should be equal to: PATH_TO_VANGUARD_FOLDER/extra/auth.php
|
||||
include('../../extra/auth.php');
|
||||
//require_once __DIR__ . '/extra/auth.php';
|
||||
|
||||
// Here we just check if user is not
|
||||
// logged in, and in that case we redirect
|
||||
// the user to vanguard login page.
|
||||
|
||||
if (! Auth::check()) {
|
||||
|
||||
redirectTo('../../public/login');
|
||||
}
|
||||
|
||||
$user = Auth::user();
|
||||
$iduserlogin = $user->present()->id;
|
||||
$nameuser = $user->present()->first_name;
|
||||
$surnameuser = $user->present()->last_name;
|
||||
$emailuser = $user->present()->email;
|
||||
$avatar = $user->present()->avatar;
|
||||
$kindofrole = $user->present()->role_id;
|
||||
|
||||
?>
|
||||
<?php
|
||||
if (session_status() == PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
$_SESSION["iduserlogin"] = $iduserlogin;
|
||||
$iduserlog = $_SESSION["iduserlogin"];
|
||||
$_SESSION["nameuser"] = $nameuser;
|
||||
$_SESSION["surnameuser"] = $surnameuser;
|
||||
$_SESSION["emailuser"] = $emailuser;
|
||||
$_SESSION["photouser"] = $avatar;
|
||||
$photouser = $_SESSION["photouser"];
|
||||
?>
|
||||
<?php require_once('../Connections/yogiwherequery.php'); ?>
|
||||
<?php require_once('../webassist/mysqli/rsobj.php'); ?>
|
||||
<?php require_once('../webassist/mysqli/queryobj.php'); ?>
|
||||
<?php require_once("../webassist/form_validations/wavt_scripts_php.php"); ?>
|
||||
<?php //include files
|
||||
include('../languages/en/general.php');
|
||||
include("generalsettings.php");
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL | E_STRICT);
|
||||
// This should be equal to: PATH_TO_VANGUARD_FOLDER/extra/auth.php
|
||||
//include('../../extra/auth.php');
|
||||
//require_once __DIR__ . '/extra/auth.php';
|
||||
|
||||
// Here we just check if user is not
|
||||
// logged in, and in that case we redirect
|
||||
// the user to vanguard login page.
|
||||
|
||||
//if (! Auth::check()) {
|
||||
|
||||
// redirectTo('../../public/login');
|
||||
|
||||
//}
|
||||
|
||||
//$user = Auth::user();
|
||||
|
||||
$iduserlogin="2";
|
||||
$iduselog="2";
|
||||
$user="2";
|
||||
$nameuser="Claudio";
|
||||
$emailuser="info@claudiosironi.com";
|
||||
$surnameuser="Sironi";
|
||||
$avatar="a";
|
||||
|
||||
$kindofrole="admin";
|
||||
$birthday="1975-02-19";
|
||||
$sex="male";
|
||||
$country="italy";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//$user = "1";
|
||||
//$iduserlogin="1";
|
||||
//$nameuser="Claudio";
|
||||
//$emailuser="info@claudiosironi.com";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
if (session_status() == PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
if (!isset($_SESSION["idowneruser"])) {
|
||||
$_SESSION["iduserlogin"]=$iduserlogin;
|
||||
}
|
||||
$iduserlog=$_SESSION["iduserlogin"];
|
||||
$_SESSION["nameuser"]=$nameuser;
|
||||
$_SESSION["surnameuser"]=$surnameuser;
|
||||
$_SESSION["emailuser"]=$emailuser;
|
||||
$_SESSION["birthday"]=$birthday;
|
||||
$_SESSION["sex"]=$sex;
|
||||
$_SESSION["country"]=$country;
|
||||
$_SESSION["photouser"]=$avatar;
|
||||
$photouser=$_SESSION["photouser"];
|
||||
?>
|
||||
<?php
|
||||
if (isset($_GET['info'])) {
|
||||
$infobox=$_GET['info'];
|
||||
$_SESSION["infobox"]=$infobox;
|
||||
}
|
||||
if (isset($_SESSION["infobox"])) {
|
||||
$infobox=$_SESSION["infobox"];
|
||||
} else {
|
||||
$infobox=""; }
|
||||
|
||||
?>
|
||||
<?php require_once('../Connections/predoc.php');
|
||||
|
||||
?>
|
||||
<?php require_once('../webassist/mysqli/rsobj.php'); ?>
|
||||
<?php require_once('../webassist/mysqli/queryobj.php'); ?>
|
||||
<?php require_once("../webassist/form_validations/wavt_scripts_php.php"); ?>
|
||||
|
||||
<?php //include files
|
||||
include('../languages/en/general.php');
|
||||
include("generalsettings.php");
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
// Include il file di autenticazione
|
||||
include('../../extra/auth.php');
|
||||
|
||||
|
||||
|
||||
// Verifica se l'utente è loggato
|
||||
if (Auth::check()) {
|
||||
// L'utente è loggato, quindi puoi assegnare le variabili
|
||||
$user = Auth::user();
|
||||
|
||||
// Assegna i valori alle variabili di sessione
|
||||
$_SESSION["iduserlogin"] = $user->present()->id;
|
||||
$_SESSION["nameuser"] = $user->present()->first_name;
|
||||
$_SESSION["surnameuser"] = $user->present()->last_name;
|
||||
$_SESSION["emailuser"] = $user->present()->email;
|
||||
$_SESSION["photouser"] = $user->present()->avatar;
|
||||
$_SESSION["kindofrole"] = $user->present()->role_id;
|
||||
|
||||
// Assegna anche le variabili per uso immediato
|
||||
$iduserlogin = $_SESSION["iduserlogin"];
|
||||
$nameuser = $_SESSION["nameuser"];
|
||||
$surnameuser = $_SESSION["surnameuser"];
|
||||
$emailuser = $_SESSION["emailuser"];
|
||||
$photouser = $_SESSION["photouser"];
|
||||
$kindofrole = $_SESSION["kindofrole"];
|
||||
}
|
||||
|
||||
// Include i file necessari
|
||||
require_once('../Connections/yogiwherequery.php');
|
||||
require_once('../webassist/mysqli/rsobj.php');
|
||||
require_once('../webassist/mysqli/queryobj.php');
|
||||
require_once("../webassist/form_validations/wavt_scripts_php.php");
|
||||
|
||||
// Includi altri file
|
||||
include('../languages/it/generalfrontend.php');
|
||||
include("generalsettings.php");
|
||||
@@ -0,0 +1,32 @@
|
||||
<div class="mb-4 mb-lg-0">
|
||||
<h4 class="fw-semibold fs-3 mb-4">Leave a <span class="font-caveat text-primary">Comment</span></h4>
|
||||
<form class="row g-4">
|
||||
<div class="col-sm-6">
|
||||
<!-- start form group -->
|
||||
<div class="">
|
||||
<label class="required fw-medium mb-2">Full Name</label>
|
||||
<input type="text" class="form-control" placeholder="Enter your name" required="">
|
||||
</div>
|
||||
<!-- end /. form group -->
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<!-- start form group -->
|
||||
<div class="">
|
||||
<label class="required fw-medium mb-2">Email Address</label>
|
||||
<input type="text" class="form-control" placeholder="Enter your email address">
|
||||
</div>
|
||||
<!-- end /. form group -->
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<!-- start form group -->
|
||||
<div class="">
|
||||
<label class="required fw-medium mb-2">Comment</label>
|
||||
<textarea class="form-control" rows="7" placeholder="Tell us what we can help you with!"></textarea>
|
||||
</div>
|
||||
<!-- end /. form group -->
|
||||
</div>
|
||||
<div class="col-sm-12 text-end">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,287 @@
|
||||
<nav class="navbar navbar-expand-lg navbar-light sticky-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand m-0" href="index.html">
|
||||
<img class="logo-white" src="assets/images/logoyogibookcolorato.jpg" alt="">
|
||||
<img class="logo-dark" src="assets/images/logoyogibookcolorato.jpg" alt="">
|
||||
</a>
|
||||
<div class="d-flex order-lg-2">
|
||||
<!-- start button -->
|
||||
<!-- start cart button -->
|
||||
<?php
|
||||
if (session_status() === PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
$cart_count = isset($_SESSION['cart']) ? count($_SESSION['cart']) : 0;
|
||||
?>
|
||||
<a href="cart.php" class="d-flex align-items-center justify-content-center p-0 btn-user position-relative" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-custom-class="custom-tooltip" data-bs-title="Cart">
|
||||
<i class="fa-solid fa-shopping-cart"></i>
|
||||
<span class="align-items-center bg-primary d-flex end-0 fs-11 justify-content-center nav-count position-absolute rounded-circle text-white">
|
||||
<?php echo $cart_count; ?>
|
||||
</span>
|
||||
</a>
|
||||
<script>
|
||||
function updateCartCount() {
|
||||
$.ajax({
|
||||
url: 'get_cart_count.php',
|
||||
type: 'GET',
|
||||
success: function(response) {
|
||||
$('.nav-count').text(response.cart_count);
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<!-- end cart button -->
|
||||
<!-- Favourites icon-->
|
||||
<?php
|
||||
// Verifica se l'utente è loggato
|
||||
if (Auth::check()) {
|
||||
$iduserlogin = Auth::id(); // Ottieni l'ID dell'utente loggato
|
||||
|
||||
// Connessione al database
|
||||
$conn = new mysqli($servername, $username, $password, $database);
|
||||
|
||||
// Prepara la query per contare i preferiti
|
||||
$query = "SELECT COUNT(*) as total_favorites FROM bookmarks WHERE iduser = ?";
|
||||
|
||||
if ($stmt = $conn->prepare($query)) {
|
||||
// Associa l'ID utente alla query
|
||||
$stmt->bind_param("i", $iduserlogin);
|
||||
$stmt->execute();
|
||||
$stmt->bind_result($total_favorites);
|
||||
$stmt->fetch();
|
||||
|
||||
// Chiudi lo statement
|
||||
$stmt->close();
|
||||
}
|
||||
|
||||
// Chiudi la connessione
|
||||
$conn->close();
|
||||
} else {
|
||||
$total_favorites = 0; // Se l'utente non è loggato, il numero di preferiti è 0
|
||||
}
|
||||
?>
|
||||
|
||||
<a href="dashboard/bookmarkslist.php" class="d-flex align-items-center justify-content-center p-0 btn-user position-relative" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-custom-class="custom-tooltip" data-bs-title="Preferiti">
|
||||
<i class="fa-solid fa-heart"></i>
|
||||
<?php if (Auth::check()): // Mostra il numero solo se l'utente è loggato
|
||||
?>
|
||||
<span class="align-items-center bg-primary d-flex end-0 fs-11 justify-content-center nav-count position-absolute rounded-circle text-white">
|
||||
<?php echo $total_favorites; ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
|
||||
|
||||
<!-- end /. button -->
|
||||
<!-- start button -->
|
||||
<style>
|
||||
.hi-bubble {
|
||||
font-size: 0.75rem;
|
||||
padding: 0.25em 0.5em;
|
||||
background-color: #007bff;
|
||||
color: white;
|
||||
transform: translate(-50%, -50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
<?php if (isset($emailuser)): ?>
|
||||
<!-- Mostra icona utente con nuvoletta "Hi" se loggato -->
|
||||
<a href="user-profile.php" class="d-flex align-items-center justify-content-center p-0 btn-user position-relative" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-custom-class="custom-tooltip" data-bs-title="Profile">
|
||||
<div class="position-relative">
|
||||
<i class="fa-solid fa-user"></i>
|
||||
<span class="hi-bubble position-absolute top-0 start-100 translate-middle badge rounded-pill bg-primary">
|
||||
Hi
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a href="../../public" class="d-flex align-items-center justify-content-center p-0 btn-user" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-custom-class="custom-tooltip" data-bs-title="Sign In">
|
||||
<i class="fa-solid fa-user-plus"></i>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<!-- end /. button -->
|
||||
<!-- start button -->
|
||||
<button type="button" id="themeToggleBtn" class="align-items-center bg-transparent border-0 btn-user d-flex justify-content-center p-0">
|
||||
<i class="fa-solid fa-moon"></i>
|
||||
</button>
|
||||
<!-- end /. button -->
|
||||
<!-- start button -->
|
||||
<a href="add-listing.html" class="btn btn-primary d-none d-sm-flex fw-medium gap-2 hstack rounded-5">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-plus-circle" viewBox="0 0 16 16">
|
||||
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z" />
|
||||
<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z" />
|
||||
</svg>
|
||||
<div class="vr d-none d-sm-inline-block"></div>
|
||||
<span class="d-none d-sm-inline-block">Add Listing</span>
|
||||
</a>
|
||||
<!-- end /. button -->
|
||||
<!-- start navbar toggle button -->
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span id="nav-icon" class="">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</span>
|
||||
</button>
|
||||
<!-- end /. navbar toggle button -->
|
||||
</div>
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav m-auto mb-2 mb-lg-0">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="index.php">Home</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
|
||||
Listing
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">List View</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="listings-list-left.html">Left Sidebar</a></li>
|
||||
<li><a class="dropdown-item" href="listings-list-right.html">Right Sidebar</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Grid View 1</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="listings-grid-1-left.html">Left Sidebar</a></li>
|
||||
<li><a class="dropdown-item" href="listings-grid-1-right.html">Right Sidebar</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Grid View 2</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="listings-grid-2-left.html">Left Sidebar</a></li>
|
||||
<li><a class="dropdown-item" href="listings-grid-2-right.html">Right Sidebar</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Half Map + Sidebar</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="listings-map.html">Half Map List</a></li>
|
||||
<li><a class="dropdown-item" href="listings-map-car.html">Half Map List (Car) <span class="badge text-bg-primary fw-semibold">New</span></a></li>
|
||||
<li><a class="dropdown-item" href="listings-map-grid-1.html">Half Map Grid 1</a></li>
|
||||
<li><a class="dropdown-item" href="listings-map-grid-2.html">Half Map Grid 2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Listing Details</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="listing-details.html">Listing Details 1</a></li>
|
||||
<li><a class="dropdown-item" href="listing-details-2.html">Listing Details 2</a></li>
|
||||
<li><a class="dropdown-item" href="listing-details-car.html">Listing Details Car <span class="badge text-bg-primary fw-semibold">New</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="listings-map-grid-1.html">Explore</a>
|
||||
</li>
|
||||
<?php if (Auth::check()) { ?>
|
||||
<?php if (Auth::user()->hasRole('Admin')) { ?>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false">
|
||||
Template
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">About</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="about.html">About us 1</a></li>
|
||||
<li><a class="dropdown-item" href="about-2.html">About us 2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Agent</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="agent.html">Agent</a></li>
|
||||
<li><a class="dropdown-item" href="agent-details.html">Agent Details</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="blog.html" role="button" data-bs-toggle="dropdown" aria-expanded="false">Blog</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="blog.html">Blog</a></li>
|
||||
<li><a class="dropdown-item" href="blog-details.html">Blog Standard</a></li>
|
||||
<li><a class="dropdown-item" href="blog-post-galary.html">Blog Galary</a></li>
|
||||
<li><a class="dropdown-item" href="blog-post-video.html">Blog Video</a></li>
|
||||
<li><a class="dropdown-item" href="blog-post-audio.html">Blog Audio</a></li>
|
||||
<li><a class="dropdown-item" href="blog-archive.html">Blog Archive</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="add-listing.html">Add Listing</a></li>
|
||||
<li><a class="dropdown-item" href="submit-rider.html">Submit Rider</a></li>
|
||||
<li><a class="dropdown-item" href="contact.html">Contact</a></li>
|
||||
<li><a class="dropdown-item" href="pricing.html">Pricing</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Authentication</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="sign-in.html">Sign In</a></li>
|
||||
<li><a class="dropdown-item" href="sign-up.html">Sign Up</a></li>
|
||||
<li><a class="dropdown-item" href="forgot-password.html">Forgot Password</a></li>
|
||||
<li><a class="dropdown-item" href="two-factor-auth.html">Two factor authentication</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Specialty</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="404.html">404 Page</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Help Center</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="faq.html">Faq Page</a></li>
|
||||
<li><a class="dropdown-item" href="terms-conditions.html">Terms & Conditions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="style-guide.html">Style Guide</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (Auth::check()) { ?>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle material-ripple" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
<i class="typcn typcn-weather-stormy top-menu-icon"></i>Dashboard
|
||||
</a>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" href="dashboard/dashboard.html">Dashboard</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/bookings.html">Bookings</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/messages.html">Message</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/wallet.html">Wallet</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/profile.html">Edit Profile</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/add-listing.html">Add listing</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/my-listing.html">My listing</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/bookings.html">Bookings</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/reviews.html">Reviews</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/bookmark.html">Bookmark</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/setting-app.html">Settings</a></li>
|
||||
<li><a class="dropdown-item" href="dashboard/invoice.html">Invoice</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
||||
<div class="d-sm-none">
|
||||
<!-- start button -->
|
||||
<a href="signin.html" class="btn btn-primary d-flex gap-2 hstack justify-content-center rounded-3">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-plus-circle" viewBox="0 0 16 16">
|
||||
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z" />
|
||||
<path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z" />
|
||||
</svg>
|
||||
<div class="vr d-none d-sm-inline-block"></div>
|
||||
<span>Add Listing</span>
|
||||
</a>
|
||||
<!-- end /. button -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -0,0 +1,312 @@
|
||||
<div class="mb-4">
|
||||
<h4 class="fw-semibold fs-3 mb-4">Latest Property <span class="font-caveat text-primary">Reviews</span></h4>
|
||||
<div class="border p-4 mb-5 rounded-4">
|
||||
<div class="row g-4 align-items-center">
|
||||
<div class="col-sm-auto">
|
||||
<div class="rating-block text-center">
|
||||
<!-- start title -->
|
||||
<h5 class="font-caveat fs-4 mb-4">Average user rating</h5>
|
||||
<!-- end /. title -->
|
||||
<!-- Start Rating Point -->
|
||||
<div class="rating-point position-relative ml-auto mr-auto">
|
||||
<!-- Start Svg Icon -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width=".5" stroke-linecap="round" stroke-linejoin="round" class="feather feather-star text-primary">
|
||||
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"> </polygon>
|
||||
</svg>
|
||||
<!-- /.End Svg Icon -->
|
||||
<h3 class="position-absolute mb-0 fs-18 text-primary">4.3</h3>
|
||||
</div>
|
||||
<!-- End Rating Point -->
|
||||
<span class="fs-13">2,525 Ratings &</span><br>
|
||||
<span class="fs-13">293 Reviews</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="rating-position">
|
||||
<!-- start title -->
|
||||
<h5 class="font-caveat fs-4 mb-4">Rating breakdown</h5>
|
||||
<!-- end /. title -->
|
||||
<!-- Start Rating Point -->
|
||||
<!-- start rating dimension -->
|
||||
<div class="align-items-center d-flex mb-2 rating-dimension gap-2">
|
||||
<!-- start rating quantity -->
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<span class="fs-14 fw-semibold rating-points">5</span>
|
||||
<div class="d-flex align-items-center text-primary rating-stars">
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end /. rating quantity -->
|
||||
<!-- Start Progress -->
|
||||
<div class="progress flex-grow-1 me-2">
|
||||
<div class="progress-bar bg-primary" role="progressbar" style="width: 90%" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<!-- /.End Progress -->
|
||||
<!-- Start User Rating -->
|
||||
<div class="bg-dark fs-11 fw-medium px-2 py-1 rounded-pill text-white user-rating">4.5</div>
|
||||
<!-- /.End User Rating -->
|
||||
</div>
|
||||
<!-- end /. rating dimension -->
|
||||
<!-- start rating dimension -->
|
||||
<div class="align-items-center d-flex mb-2 rating-dimension gap-2">
|
||||
<!-- start rating quantity -->
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<span class="fs-14 fw-semibold rating-points">5</span>
|
||||
<div class="d-flex align-items-center text-primary rating-stars">
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon half"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end /. rating quantity -->
|
||||
<!-- start progress -->
|
||||
<div class="progress flex-grow-1 me-2">
|
||||
<div class="progress-bar bg-success" role="progressbar" style="width: 80%" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<!-- end /. progress -->
|
||||
<!-- start user rating -->
|
||||
<div class="bg-dark fs-11 fw-medium px-2 py-1 rounded-pill text-white user-rating">3.5</div>
|
||||
<!-- end /. user rating -->
|
||||
</div>
|
||||
<!-- end /. rating dimension -->
|
||||
<!-- start rating dimension -->
|
||||
<div class="align-items-center d-flex mb-2 rating-dimension gap-2">
|
||||
<!-- start rating quantity -->
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<span class="fs-14 fw-semibold rating-points">3</span>
|
||||
<div class="d-flex align-items-center text-primary rating-stars">
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon half"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end /. rating quantity -->
|
||||
<!-- start progress -->
|
||||
<div class="progress flex-grow-1 me-2">
|
||||
<div class="progress-bar bg-warning" role="progressbar" style="width: 60%" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<!-- end /. progress -->
|
||||
<!-- start user rating -->
|
||||
<div class="bg-dark fs-11 fw-medium px-2 py-1 rounded-pill text-white user-rating">1.5</div>
|
||||
<!-- end /. user rating -->
|
||||
</div>
|
||||
<!-- end /. rating dimension -->
|
||||
<!-- start rating dimension -->
|
||||
<div class="align-items-center d-flex mb-2 rating-dimension gap-2">
|
||||
<!-- start rating quantity -->
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<span class="fs-14 fw-semibold rating-points">3</span>
|
||||
<div class="d-flex align-items-center text-primary rating-stars">
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon half"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end /. rating quantity -->
|
||||
<!-- start progress -->
|
||||
<div class="progress flex-grow-1 me-2">
|
||||
<div class="progress-bar bg-info" role="progressbar" style="width: 40%" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<!-- end /. progress -->
|
||||
<!-- start user rating -->
|
||||
<div class="bg-dark fs-11 fw-medium px-2 py-1 rounded-pill text-white user-rating">5.2</div>
|
||||
<!-- end /. user rating -->
|
||||
</div>
|
||||
<!-- end /. rating dimension -->
|
||||
<!-- start rating dimension -->
|
||||
<div class="align-items-center d-flex mb-2 rating-dimension gap-2">
|
||||
<!-- start rating quantity -->
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<span class="fs-14 fw-semibold rating-points">1</span>
|
||||
<div class="d-flex align-items-center text-primary rating-stars">
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
</div>
|
||||
</div>
|
||||
<!-- end /. rating quantity -->
|
||||
<!-- start progress -->
|
||||
<div class="progress flex-grow-1 me-2">
|
||||
<div class="progress-bar text-bg-danger" role="progressbar" style="width: 20%" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<!-- end /. progress -->
|
||||
<!-- start user rating -->
|
||||
<div class="bg-dark fs-11 fw-medium px-2 py-1 rounded-pill text-white user-rating">6.9</div>
|
||||
<!-- end /. user rating -->
|
||||
</div>
|
||||
<!-- end /. rating dimension -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex mb-4 border-bottom pb-4">
|
||||
<div class="flex-shrink-0">
|
||||
<img src="assets/images/avatar/01.jpg" alt="..." height="70" width="70" class="object-fit-cover rounded-circle">
|
||||
</div>
|
||||
<div class="flex-grow-1 ms-4">
|
||||
<div class="comment-header d-flex flex-wrap gap-2 mb-3">
|
||||
<div>
|
||||
<h4 class="fs-18 mb-0">- Ethan Blackwood</h4>
|
||||
<div class="comment-datetime fs-12 text-muted">25 Oct 2023 at 12.27 pm</div>
|
||||
</div>
|
||||
<!-- start rating -->
|
||||
<div class="d-flex align-items-center gap-2 ms-auto">
|
||||
<div class="d-flex align-items-center text-primary rating-stars">
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon half"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
</div>
|
||||
<span class="fs-14 fw-semibold rating-points">3.5/5</span>
|
||||
</div>
|
||||
<!-- end /. rating -->
|
||||
</div>
|
||||
<div class="fs-15">There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which.</div>
|
||||
<!-- start review -->
|
||||
<a href="#" class="btn btn-light btn-sm mt-4 px-3 rounded-pill gap-2 d-inline-flex">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hand-thumbs-up" viewBox="0 0 16 16">
|
||||
<path d="M8.864.046C7.908-.193 7.02.53 6.956 1.466c-.072 1.051-.23 2.016-.428 2.59-.125.36-.479 1.013-1.04 1.639-.557.623-1.282 1.178-2.131 1.41C2.685 7.288 2 7.87 2 8.72v4.001c0 .845.682 1.464 1.448 1.545 1.07.114 1.564.415 2.068.723l.048.03c.272.165.578.348.97.484.397.136.861.217 1.466.217h3.5c.937 0 1.599-.477 1.934-1.064a1.86 1.86 0 0 0 .254-.912c0-.152-.023-.312-.077-.464.201-.263.38-.578.488-.901.11-.33.172-.762.004-1.149.069-.13.12-.269.159-.403.077-.27.113-.568.113-.857 0-.288-.036-.585-.113-.856a2.144 2.144 0 0 0-.138-.362 1.9 1.9 0 0 0 .234-1.734c-.206-.592-.682-1.1-1.2-1.272-.847-.282-1.803-.276-2.516-.211a9.84 9.84 0 0 0-.443.05 9.365 9.365 0 0 0-.062-4.509A1.38 1.38 0 0 0 9.125.111L8.864.046zM11.5 14.721H8c-.51 0-.863-.069-1.14-.164-.281-.097-.506-.228-.776-.393l-.04-.024c-.555-.339-1.198-.731-2.49-.868-.333-.036-.554-.29-.554-.55V8.72c0-.254.226-.543.62-.65 1.095-.3 1.977-.996 2.614-1.708.635-.71 1.064-1.475 1.238-1.978.243-.7.407-1.768.482-2.85.025-.362.36-.594.667-.518l.262.066c.16.04.258.143.288.255a8.34 8.34 0 0 1-.145 4.725.5.5 0 0 0 .595.644l.003-.001.014-.003.058-.014a8.908 8.908 0 0 1 1.036-.157c.663-.06 1.457-.054 2.11.164.175.058.45.3.57.65.107.308.087.67-.266 1.022l-.353.353.353.354c.043.043.105.141.154.315.048.167.075.37.075.581 0 .212-.027.414-.075.582-.05.174-.111.272-.154.315l-.353.353.353.354c.047.047.109.177.005.488a2.224 2.224 0 0 1-.505.805l-.353.353.353.354c.006.005.041.05.041.17a.866.866 0 0 1-.121.416c-.165.288-.503.56-1.066.56z" />
|
||||
</svg>
|
||||
Helpful Review
|
||||
<div class="vr d-none d-sm-inline-block"></div>
|
||||
<span class="fw-semibold">16</span>
|
||||
</a>
|
||||
<!-- end /. review -->
|
||||
<div class="row mt-3 g-2 review-image zoom-gallery">
|
||||
<div class="col-auto">
|
||||
<a href="assets/images/listing-details/review-image-02.jpg" class="galary-overlay-hover dark-overlay position-relative d-block overflow-hidden rounded-3">
|
||||
<img src="assets/images/listing-details/review-image-02.jpg" alt="" class="img-fluid rounded-3 object-fit-cover" height="70" width="112">
|
||||
<div class="galary-hover-element h-100 position-absolute start-50 top-50 translate-middle w-100">
|
||||
<i class="fa-solid fa-expand text-white position-absolute top-50 start-50 translate-middle bg-primary rounded-1 p-2 lh-1"></i>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<a href="assets/images/listing-details/review-image-03.jpg" class="galary-overlay-hover dark-overlay position-relative d-block overflow-hidden rounded-3">
|
||||
<img src="assets/images/listing-details/review-image-03.jpg" alt="" class="img-fluid rounded-3 object-fit-cover" height="70" width="112">
|
||||
<div class="galary-hover-element h-100 position-absolute start-50 top-50 translate-middle w-100">
|
||||
<i class="fa-solid fa-expand text-white position-absolute top-50 start-50 translate-middle bg-primary rounded-1 p-2 lh-1"></i>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<a href="assets/images/listing-details/review-image-04.jpg" class="galary-overlay-hover dark-overlay position-relative d-block overflow-hidden rounded-3">
|
||||
<img src="assets/images/listing-details/review-image-04.jpg" alt="" class="img-fluid rounded-3 object-fit-cover" height="70" width="112">
|
||||
<div class="galary-hover-element h-100 position-absolute start-50 top-50 translate-middle w-100">
|
||||
<i class="fa-solid fa-expand text-white position-absolute top-50 start-50 translate-middle bg-primary rounded-1 p-2 lh-1"></i>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex mt-4 border-top pt-4">
|
||||
<div class="flex-shrink-0">
|
||||
<img src="assets/images/avatar/06.jpg" alt="..." height="60" width="60" class="object-fit-cover rounded-circle">
|
||||
</div>
|
||||
<div class="flex-grow-1 ms-3">
|
||||
<div class="comment-header d-flex flex-wrap gap-2 mb-3">
|
||||
<div>
|
||||
<h4 class="fs-18 mb-0">- Gabriel North</h4>
|
||||
<div class="comment-datetime fs-12 text-muted">25 Oct 2023 at 12.27 pm</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fs-15"> This is some content from a media component. You can replace this with any content and adjust it as needed.</div>
|
||||
<!-- start review -->
|
||||
<a href="#" class="btn btn-light btn-sm mt-4 px-3 rounded-pill gap-2 d-inline-flex">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hand-thumbs-up" viewBox="0 0 16 16">
|
||||
<path d="M8.864.046C7.908-.193 7.02.53 6.956 1.466c-.072 1.051-.23 2.016-.428 2.59-.125.36-.479 1.013-1.04 1.639-.557.623-1.282 1.178-2.131 1.41C2.685 7.288 2 7.87 2 8.72v4.001c0 .845.682 1.464 1.448 1.545 1.07.114 1.564.415 2.068.723l.048.03c.272.165.578.348.97.484.397.136.861.217 1.466.217h3.5c.937 0 1.599-.477 1.934-1.064a1.86 1.86 0 0 0 .254-.912c0-.152-.023-.312-.077-.464.201-.263.38-.578.488-.901.11-.33.172-.762.004-1.149.069-.13.12-.269.159-.403.077-.27.113-.568.113-.857 0-.288-.036-.585-.113-.856a2.144 2.144 0 0 0-.138-.362 1.9 1.9 0 0 0 .234-1.734c-.206-.592-.682-1.1-1.2-1.272-.847-.282-1.803-.276-2.516-.211a9.84 9.84 0 0 0-.443.05 9.365 9.365 0 0 0-.062-4.509A1.38 1.38 0 0 0 9.125.111L8.864.046zM11.5 14.721H8c-.51 0-.863-.069-1.14-.164-.281-.097-.506-.228-.776-.393l-.04-.024c-.555-.339-1.198-.731-2.49-.868-.333-.036-.554-.29-.554-.55V8.72c0-.254.226-.543.62-.65 1.095-.3 1.977-.996 2.614-1.708.635-.71 1.064-1.475 1.238-1.978.243-.7.407-1.768.482-2.85.025-.362.36-.594.667-.518l.262.066c.16.04.258.143.288.255a8.34 8.34 0 0 1-.145 4.725.5.5 0 0 0 .595.644l.003-.001.014-.003.058-.014a8.908 8.908 0 0 1 1.036-.157c.663-.06 1.457-.054 2.11.164.175.058.45.3.57.65.107.308.087.67-.266 1.022l-.353.353.353.354c.043.043.105.141.154.315.048.167.075.37.075.581 0 .212-.027.414-.075.582-.05.174-.111.272-.154.315l-.353.353.353.354c.047.047.109.177.005.488a2.224 2.224 0 0 1-.505.805l-.353.353.353.354c.006.005.041.05.041.17a.866.866 0 0 1-.121.416c-.165.288-.503.56-1.066.56z" />
|
||||
</svg>
|
||||
Helpful Review
|
||||
<div class="vr d-none d-sm-inline-block"></div>
|
||||
<span class="fw-semibold">16</span>
|
||||
</a>
|
||||
<!-- end /. review -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex mb-4 border-bottom pb-4">
|
||||
<div class="flex-shrink-0">
|
||||
<img src="assets/images/avatar/04.jpg" alt="..." height="70" width="70" class="object-fit-cover rounded-circle">
|
||||
</div>
|
||||
<div class="flex-grow-1 ms-3">
|
||||
<div class="comment-header d-flex flex-wrap gap-2 mb-3">
|
||||
<div>
|
||||
<h4 class="fs-18 mb-0">- Pranoti Deshpande</h4>
|
||||
<div class="comment-datetime fs-12 text-muted">25 Oct 2023 at 12.27 pm</div>
|
||||
</div>
|
||||
<!-- start rating -->
|
||||
<div class="d-flex align-items-center gap-2 ms-auto">
|
||||
<div class="d-flex align-items-center text-primary rating-stars">
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon half"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
</div>
|
||||
<span class="fs-14 fw-semibold rating-points">3.5/5</span>
|
||||
</div>
|
||||
<!-- end /. rating -->
|
||||
</div>
|
||||
<div class="fs-15">There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. </div>
|
||||
<!-- start review -->
|
||||
<a href="#" class="btn btn-light btn-sm mt-4 px-3 rounded-pill gap-2 d-inline-flex">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hand-thumbs-up" viewBox="0 0 16 16">
|
||||
<path d="M8.864.046C7.908-.193 7.02.53 6.956 1.466c-.072 1.051-.23 2.016-.428 2.59-.125.36-.479 1.013-1.04 1.639-.557.623-1.282 1.178-2.131 1.41C2.685 7.288 2 7.87 2 8.72v4.001c0 .845.682 1.464 1.448 1.545 1.07.114 1.564.415 2.068.723l.048.03c.272.165.578.348.97.484.397.136.861.217 1.466.217h3.5c.937 0 1.599-.477 1.934-1.064a1.86 1.86 0 0 0 .254-.912c0-.152-.023-.312-.077-.464.201-.263.38-.578.488-.901.11-.33.172-.762.004-1.149.069-.13.12-.269.159-.403.077-.27.113-.568.113-.857 0-.288-.036-.585-.113-.856a2.144 2.144 0 0 0-.138-.362 1.9 1.9 0 0 0 .234-1.734c-.206-.592-.682-1.1-1.2-1.272-.847-.282-1.803-.276-2.516-.211a9.84 9.84 0 0 0-.443.05 9.365 9.365 0 0 0-.062-4.509A1.38 1.38 0 0 0 9.125.111L8.864.046zM11.5 14.721H8c-.51 0-.863-.069-1.14-.164-.281-.097-.506-.228-.776-.393l-.04-.024c-.555-.339-1.198-.731-2.49-.868-.333-.036-.554-.29-.554-.55V8.72c0-.254.226-.543.62-.65 1.095-.3 1.977-.996 2.614-1.708.635-.71 1.064-1.475 1.238-1.978.243-.7.407-1.768.482-2.85.025-.362.36-.594.667-.518l.262.066c.16.04.258.143.288.255a8.34 8.34 0 0 1-.145 4.725.5.5 0 0 0 .595.644l.003-.001.014-.003.058-.014a8.908 8.908 0 0 1 1.036-.157c.663-.06 1.457-.054 2.11.164.175.058.45.3.57.65.107.308.087.67-.266 1.022l-.353.353.353.354c.043.043.105.141.154.315.048.167.075.37.075.581 0 .212-.027.414-.075.582-.05.174-.111.272-.154.315l-.353.353.353.354c.047.047.109.177.005.488a2.224 2.224 0 0 1-.505.805l-.353.353.353.354c.006.005.041.05.041.17a.866.866 0 0 1-.121.416c-.165.288-.503.56-1.066.56z" />
|
||||
</svg>
|
||||
Helpful Review
|
||||
<div class="vr d-none d-sm-inline-block"></div>
|
||||
<span class="fw-semibold">16</span>
|
||||
</a>
|
||||
<!-- end /. review -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex mb-4">
|
||||
<div class="flex-shrink-0">
|
||||
<img src="assets/images/avatar/05.jpg" alt="..." height="70" width="70" class="object-fit-cover rounded-circle">
|
||||
</div>
|
||||
<div class="flex-grow-1 ms-3">
|
||||
<div class="comment-header d-flex flex-wrap gap-2 mb-3">
|
||||
<div>
|
||||
<h4 class="fs-18 mb-0">- Marcus Knight</h4>
|
||||
<div class="comment-datetime fs-12 text-muted">25 Oct 2023 at 12.27 pm</div>
|
||||
</div>
|
||||
<!-- start rating -->
|
||||
<div class="d-flex align-items-center gap-2 ms-auto">
|
||||
<div class="d-flex align-items-center text-primary rating-stars">
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon"></i>
|
||||
<i class="fa-star-icon half"></i>
|
||||
<i class="fa-star-icon none"></i>
|
||||
</div>
|
||||
<span class="fs-14 fw-semibold rating-points">3.5/5</span>
|
||||
</div>
|
||||
<!-- end /. rating -->
|
||||
</div>
|
||||
<div class="fs-15"> This is some content from a media component. You can replace this with any content and adjust it as needed.</div>
|
||||
<!-- start review -->
|
||||
<a href="#" class="btn btn-light btn-sm mt-4 px-3 rounded-pill gap-2 d-inline-flex">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hand-thumbs-up" viewBox="0 0 16 16">
|
||||
<path d="M8.864.046C7.908-.193 7.02.53 6.956 1.466c-.072 1.051-.23 2.016-.428 2.59-.125.36-.479 1.013-1.04 1.639-.557.623-1.282 1.178-2.131 1.41C2.685 7.288 2 7.87 2 8.72v4.001c0 .845.682 1.464 1.448 1.545 1.07.114 1.564.415 2.068.723l.048.03c.272.165.578.348.97.484.397.136.861.217 1.466.217h3.5c.937 0 1.599-.477 1.934-1.064a1.86 1.86 0 0 0 .254-.912c0-.152-.023-.312-.077-.464.201-.263.38-.578.488-.901.11-.33.172-.762.004-1.149.069-.13.12-.269.159-.403.077-.27.113-.568.113-.857 0-.288-.036-.585-.113-.856a2.144 2.144 0 0 0-.138-.362 1.9 1.9 0 0 0 .234-1.734c-.206-.592-.682-1.1-1.2-1.272-.847-.282-1.803-.276-2.516-.211a9.84 9.84 0 0 0-.443.05 9.365 9.365 0 0 0-.062-4.509A1.38 1.38 0 0 0 9.125.111L8.864.046zM11.5 14.721H8c-.51 0-.863-.069-1.14-.164-.281-.097-.506-.228-.776-.393l-.04-.024c-.555-.339-1.198-.731-2.49-.868-.333-.036-.554-.29-.554-.55V8.72c0-.254.226-.543.62-.65 1.095-.3 1.977-.996 2.614-1.708.635-.71 1.064-1.475 1.238-1.978.243-.7.407-1.768.482-2.85.025-.362.36-.594.667-.518l.262.066c.16.04.258.143.288.255a8.34 8.34 0 0 1-.145 4.725.5.5 0 0 0 .595.644l.003-.001.014-.003.058-.014a8.908 8.908 0 0 1 1.036-.157c.663-.06 1.457-.054 2.11.164.175.058.45.3.57.65.107.308.087.67-.266 1.022l-.353.353.353.354c.043.043.105.141.154.315.048.167.075.37.075.581 0 .212-.027.414-.075.582-.05.174-.111.272-.154.315l-.353.353.353.354c.047.047.109.177.005.488a2.224 2.224 0 0 1-.505.805l-.353.353.353.354c.006.005.041.05.041.17a.866.866 0 0 1-.121.416c-.165.288-.503.56-1.066.56z" />
|
||||
</svg>
|
||||
Helpful Review
|
||||
<div class="vr d-none d-sm-inline-block"></div>
|
||||
<span class="fw-semibold">16</span>
|
||||
</a>
|
||||
<!-- end /. review -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
<title>YogiBoook</title>
|
||||
@@ -0,0 +1,81 @@
|
||||
<div class="sidebar-filters js-sidebar-filters-mobile">
|
||||
<!-- filter header -->
|
||||
<div class="border-bottom d-flex justify-content-between align-items-center p-3 sidebar-filters-header d-xl-none">
|
||||
<div class="align-items-center btn-icon d-flex filter-close justify-content-center rounded-circle">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
|
||||
<path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z" />
|
||||
</svg>
|
||||
</div>
|
||||
<span class="fs-3 fw-semibold">Filters</span>
|
||||
<span class="text-primary fw-medium">Clear</span>
|
||||
</div>
|
||||
<!-- end /. filter header -->
|
||||
<div class="sidebar-filters-body p-3 p-xl-4">
|
||||
<div class="mb-4 border-bottom pb-4">
|
||||
<div class="mb-3">
|
||||
<h4 class="fs-5 fw-semibold mb-1"><?php echo $pricefilter; ?></h4>
|
||||
<p class="mb-0 small">Select min and max price range</p>
|
||||
</div>
|
||||
<!-- Start Range Slider -->
|
||||
<div class="js-range-slider"></div>
|
||||
<!-- End Range Slider -->
|
||||
</div>
|
||||
<div class="mb-4 border-bottom pb-4">
|
||||
<div class="mb-3">
|
||||
<h4 class="fs-5 fw-semibold mb-2"><?php echo $categories; ?></h4>
|
||||
<p class="mb-0 small"><?php echo $discovercategories; ?></p>
|
||||
</div>
|
||||
<?php
|
||||
// Connessione al database (assumi che $conn sia la tua connessione attiva al database)
|
||||
$conn = new mysqli($servername, $username, $password, $database);
|
||||
$query = "SELECT idclasscategory, namecategory FROM classcategory ORDER BY namecategory";
|
||||
$result = $conn->query($query); // Esegui la query
|
||||
|
||||
// Verifica se ci sono risultati
|
||||
if ($result->num_rows > 0) {
|
||||
// Cicla attraverso i risultati e crea i checkbox dinamicamente
|
||||
while ($row = $result->fetch_assoc()) {
|
||||
$id = $row['idclasscategory'];
|
||||
$name = $row['namecategory'];
|
||||
echo '
|
||||
<div class="form-check mb-2">
|
||||
<input class="form-check-input" type="checkbox" value="' . $id . '" id="category' . $id . '">
|
||||
<label class="form-check-label" for="category' . $id . '">' . $name . '</label>
|
||||
</div>';
|
||||
}
|
||||
} else {
|
||||
echo "Nessuna categoria trovata.";
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- End Form Check -->
|
||||
</div>
|
||||
<div class="mb-4 border-bottom pb-4">
|
||||
<div class="mb-3">
|
||||
<h4 class="fs-5 fw-semibold mb-1">Order by</h4>
|
||||
<p class="mb-0 small">Duis a leo sit amet odio volutpat auctor ut a lorem.</p>
|
||||
</div>
|
||||
<!-- Start Select2 -->
|
||||
<select class="form-select">
|
||||
<option value="1">Latest</option>
|
||||
<option value="2">Nearby</option>
|
||||
<option value="3">Top rated</option>
|
||||
<option value="4">Random</option>
|
||||
<option value="5">A-Z</option>
|
||||
</select>
|
||||
<!-- /.End Select2 -->
|
||||
</div>
|
||||
<!-- start apply button -->
|
||||
<button type="button" class="btn btn-primary w-100">Apply filters</button>
|
||||
<!-- end /. apply button -->
|
||||
<!-- start clear filters -->
|
||||
<a href="#" class="align-items-center d-flex fw-medium gap-2 justify-content-center mt-2 small text-center">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-clockwise" viewBox="0 0 16 16">
|
||||
<path fill-rule="evenodd" d="M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z" />
|
||||
<path d="M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z" />
|
||||
</svg>
|
||||
Clear filters
|
||||
</a>
|
||||
<!-- end /. clear filters -->
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user