?
| Current Path : /home/webyoo/www/leumi/site/ |
| Current File : /home/webyoo/www/leumi/site/footer.php |
<footer class="pt-8 pb-6 footer text-gray-light" dir="rtl" style="text-align:right">
<div class="container" dir="rtl" style="text-align:right">
<div class="row">
<div class="col-md-6 col-lg-4 mb-6 mb-md-0">
<a class="d-block mb-2" href="#">
<img src="images/ashkara_footer.png" alt="ashkara" style="width:160px;" class="d-lg-inline-block">
</a>
<div class="lh-26 font-weight-500" >
<p class="mb-0" style="display: none">משרדי ×שכרה תל ×ביב</p>
<a class="d-block text-gray-light hover-primary" href="mailto:ContactAshkaraService@gmail.com">ContactAshkaraService@gmail.com</a>
<a class="d-block text-gray-light font-weight-bold hover-primary fs-15"
href="tel:(+972)53-465-0909" >053-465-0909</a>
<a class="d-block text-gray-light hover-primary" href="www.ashkara.com">www.ashkara.co</a>
</div>
</div>
<div class="col-md-6 col-lg-2 mb-6 mb-md-0" dir="rtl" style="text-align:right">
<h4 class="text-heading fs-16 my-4 font-weight-500"></h4>
<ul class="list-group list-group-flush list-group-no-border" style="text-align:right">
<li class="list-group-item bg-transparent p-0">
<a href="terms-and-conditions.php" class="text-gray-light hover-primary lh-26 font-weight-500" style="text-align:right">×ª× ××™ שימוש</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="privacy-policy.php" class="text-gray-light hover-primary lh-26 font-weight-500">פרטיות</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">×”×¡×›× ×©×™×ž×•×©</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="contact-us.php" class="text-gray-light hover-primary lh-26 font-weight-500">צור קשר</a>
</li>
</ul>
</div>
<div class="col-md-6 col-lg-2 mb-6 mb-md-0" dir="rtl" style="text-align:right; display: none">
<h4 class="text-heading fs-16 my-4 font-weight-500"></h4>
<ul class="list-group list-group-flush list-group-no-border" style="text-align:right">
<li class="list-group-item bg-transparent p-0">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500" style="text-align:right">×ª× ××™ שימוש</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">פרטיות</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">×”×¡×›× ×©×™×ž×•×©</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">צור קשר</a>
</li>
</ul>
</div>
<div class="col-md-6 col-lg-2 mb-6 mb-md-0" dir="rtl" style="text-align:right; display: none">
<h4 class="text-heading fs-16 my-4 font-weight-500"></h4>
<ul class="list-group list-group-flush list-group-no-border" dir="rtl" style="text-align:right">
<li class="list-group-item bg-transparent p-0" dir="rtl" style="text-align:right">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">חפש דירות</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">הרשמה</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">×זור ×ישי</a>
</li>
<li class="list-group-item bg-transparent p-0">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">××•×“×•×ª×™× ×•</a>
</li>
</ul>
</div>
</div>
<div class="mt-0 mt-md-10 row">
<ul class="list-inline mb-0 col-md-6 mr-auto" style="display: none">
<li class="list-inline-item mr-6">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">Terms of Use</a>
</li>
<li class="list-inline-item">
<a href="#" class="text-gray-light hover-primary lh-26 font-weight-500">Privacy Policy</a>
</li>
</ul>
<p class="col-md-auto mt-4 mt-md-0">
© 2026 A S H K A R A - All Rights Reserved
</p>
</div>
</div>
</footer>
<div class="modal fade login-register login-register-modal" id="login-register-modal" tabindex="-1" role="dialog"
aria-labelledby="login-register-modal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered mxw-571" role="document">
<div class="modal-content border-0 shadow-lg" dir="rtl">
<div class="modal-header border-0 p-0 rounded-top" style="background-color: #0ec6d5;">
<div class="nav nav-tabs w-100 border-0 m-0 d-flex flex-row" id="myTab" role="tablist" dir="rtl">
<a class="nav-item nav-link flex-fill py-4 px-4 active fs-18 text-white border-0 bg-transparent text-center" id="login-tab"
data-toggle="tab"
href="#login"
role="tab"
aria-controls="login" aria-selected="true"
style="border-radius: 15px 0 0 0;">
<i class="fas fa-sign-in-alt ml-2"></i>×›× ×™×¡×”
</a>
<a class="nav-item nav-link flex-fill py-4 px-4 fs-18 text-white-50 border-0 bg-transparent text-center" id="register-tab" data-toggle="tab"
href="#register"
role="tab"
aria-controls="register" aria-selected="false"
style="border-radius: 0 15px 0 0;">
<i class="fas fa-user-plus ml-2"></i>הרשמה
</a>
</div>
</div>
<div class="modal-body p-4 py-sm-7 px-sm-8 bg-light">
<div class="tab-content shadow-none p-0" id="myTabContent">
<div class="tab-pane fade show active" id="login" role="tabpanel"
aria-labelledby="login-tab" dir="rtl">
<div class="text-center mb-4">
<h3 class="mb-2" style="color: #0ec6d5;">
<i class="fas fa-home ml-2"></i>
ברוך ×”×‘× ×—×–×¨×”
</h3>
<p class="text-muted">התחבר לחשבון שלך</p>
</div>
<form class="form" id="form_login">
<div class="form-group mb-4">
<label for="username" class="sr-only">×©× ×ž×©×ª×ž×©</label>
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<span class="input-group-text bg-white border-right-0 text-primary fs-18">
<i class="far fa-user"></i>
</span>
</div>
<input type="email" class="form-control border-left-0 shadow-sm fs-14"
id="email" name="email" required
placeholder="×©× ×ž×©×ª×ž×© ×ו ×ימייל">
</div>
</div>
<div class="form-group mb-4">
<label for="password" class="sr-only">סיסמ×</label>
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<span class="input-group-text bg-white border-right-0 fs-18" style="color: #0ec6d5;">
<i class="far fa-lock"></i>
</span>
</div>
<input type="password" class="form-control border-0 shadow-sm fs-14 mdp"
id="mdp" name="mdp" required
placeholder="סיסמ×">
<div class="input-group-append">
<span class="input-group-text bg-white border-left-0 text-muted fs-18 toggle-password cursor-pointer">
<i class="far fa-eye-slash"></i>
</span>
</div>
</div>
</div>
<div class="text-center mb-4">
<a href="password-recovery.php" class="fs-15" style="color: #0ec6d5;">
<i class="fas fa-key ml-1"></i>שכחת סיסמ×?
</a>
</div>
<a href="javascript:;" id="connect" class="btn btn-lg btn-block shadow-sm py-3" style="background-color: #0ec6d5; color: white; border: none;">
<i class="fas fa-sign-in-alt ml-2"></i>×›× ×™×¡×” לחשבון
</a>
<div style="margin-top:15px;text-align:center">
<span id="erreur_connect" style="display:none;font-size:14px;color:#dc3545;"><i class="fas fa-exclamation-triangle ml-1"></i>שדות חובה ריקי×!</span>
<span id="refresh_connect" style="display:none;font-size:14px;color:#28a745;"><i class="fas fa-sync fa-spin ml-1"></i>מתחבר...</span>
<span id="ok_connect" style="display:none;font-size:14px;color:#28a745;"><i class="fas fa-check-circle ml-1"></i>התחברות מוצלחת!</span>
</div>
</form>
</div>
<div class="tab-pane fade" id="register" role="tabpanel" aria-labelledby="register-tab" dir="rtl">
<div class="text-center mb-4">
<h3 class="mb-2" style="color: #0ec6d5;">
<i class="fas fa-user-plus ml-2"></i>
צור חשבון חדש
</h3>
<p class="text-muted">×”×¨×©× ×•×”×ª×—×œ ×œ×ž×¦×•× ×ת הבית המושל×</p>
</div>
<form class="form">
<div class="form-group mb-4" dir="rtl">
<label for="full-name" class="sr-only">סוג משתמש - משכיר ×ו שוכר</label>
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<span class="input-group-text bg-white border-right-0 fs-18" style="color: #0ec6d5;">
<i class="fas fa-user-tag"></i>
</span>
</div>
<select class="form-control border-left-0 shadow-sm fs-14" id="type" name="type" required style="text-align: right;">
<option value="" disabled selected>בחר סוג משתמש</option>
<option value="1">
<i class="fas fa-home ml-1"></i> משכיר (בעל × ×›×¡)
</option>
<option value="2">
<i class="fas fa-search ml-1"></i> שוכר (מחפש × ×›×¡)
</option>
</select>
</div>
</div>
<div class="form-group mb-4" dir="rtl">
<label for="full-name" class="sr-only">×©× ×ž×œ×</label>
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<span class="input-group-text bg-white border-right-0 fs-18" style="color: #0ec6d5;">
<i class="fas fa-address-card"></i>
</span>
</div>
<input type="text" class="form-control border-left-0 shadow-sm fs-14"
id="full-name" name="full-name" required
placeholder="×©× ×ž×œ×">
</div>
</div>
<div class="form-group mb-4">
<label for="username01" class="sr-only">×ימייל</label>
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<span class="input-group-text bg-white border-right-0 fs-18" style="color: #0ec6d5;">
<i class="fas fa-envelope"></i>
</span>
</div>
<input type="email" class="form-control border-left-0 shadow-sm fs-14"
id="username01" name="username01" required
placeholder="כתובת ×ימייל">
</div>
</div>
<div class="form-group mb-4">
<label for="password01" class="sr-only">סיסמ×</label>
<div class="input-group input-group-lg">
<div class="input-group-prepend">
<span class="input-group-text bg-white border-right-0 fs-18" style="color: #0ec6d5;">
<i class="fas fa-lock"></i>
</span>
</div>
<input type="password" class="form-control border-0 shadow-sm fs-14 mdp" id="password01" name="mdp" required placeholder="סיסמ×">
<div class="input-group-append">
<span class="input-group-text bg-white border-left-0 text-muted fs-18 toggle-password cursor-pointer">
<i class="far fa-eye-slash"></i>
</span>
</div>
</div>
<small class="form-text text-muted mt-2" style="float:right">
<i class="fas fa-info-circle ml-1"></i>×ž×™× ×™×ž×•× 8 תווי×, לפחות מספר ×חד ו×ות ×חת
</small>
</div>
<button type="submit" class="btn btn-lg btn-block shadow-sm py-3 mb-3" style="background-color: #28a745; color: white; border: none;">
<i class="fas fa-user-plus ml-2"></i>×”×¨×©× ×¢×›×©×™×•
</button>
</form>
<div class="text-center mt-3 p-3 bg-light rounded">
<small class="text-muted">
בהקמת חשבון ×”× ×š מסכי×
<a class="font-weight-bold" href="#" data-toggle="modal" data-target="#termsModal" style="color: #0ec6d5;">
<i class="fas fa-file-contract ml-1"></i>×œ×ª×§× ×•×Ÿ שימוש
</a>
ו
<a class="font-weight-bold" href="#" style="color: #0ec6d5;">
<i class="fas fa-shield-alt ml-1"></i>לחוקי פרטיות
</a>
</small>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Vendors scripts -->
<script src="vendors/jquery.min.js"></script>
<script src="vendors/jquery-ui/jquery-ui.min.js"></script>
<script src="vendors/bootstrap/bootstrap.bundle.js"></script>
<script src="vendors/bootstrap-select/js/bootstrap-select.min.js"></script>
<script src="vendors/slick/slick.min.js"></script>
<script src="vendors/waypoints/jquery.waypoints.min.js"></script>
<script src="vendors/counter/countUp.js"></script>
<script src="vendors/magnific-popup/jquery.magnific-popup.min.js"></script>
<script src="vendors/chartjs/Chart.min.js"></script>
<script src="vendors/dropzone/js/dropzone.min.js"></script>
<script src="vendors/timepicker/bootstrap-timepicker.min.js"></script>
<script src="vendors/hc-sticky/hc-sticky.min.js"></script>
<script src="vendors/jparallax/TweenMax.min.js"></script>
<script src="vendors/mapbox-gl/mapbox-gl.js"></script>
<script src="vendors/dataTables/jquery.dataTables.min.js"></script>
<!-- Theme scripts -->
<script src="js/theme.js"></script>
<!-- Custom styles for login modal -->
<style>
.login-register-modal .modal-content {
border-radius: 15px;
overflow: hidden;
}
.login-register-modal .modal-header {
background-color: #0ec6d5 !important;
}
.login-register-modal .nav-tabs {
border-radius: 15px 15px 0 0;
}
.login-register-modal .nav-tabs .nav-link {
transition: all 0.3s ease;
font-weight: 500;
}
.login-register-modal .nav-tabs .nav-link.active {
background: rgba(255,255,255,0.3) !important;
color: white !important;
font-weight: 600;
}
.login-register-modal .nav-tabs .nav-link:not(.active) {
color: rgba(255,255,255,0.7) !important;
}
.login-register-modal .nav-tabs .nav-link:hover:not(.active) {
color: rgba(255,255,255,0.95) !important;
background: rgba(255,255,255,0.15) !important;
}
.cursor-pointer {
cursor: pointer;
}
.login-register-modal .input-group-text {
border: 1px solid #dee2e6;
}
.login-register-modal .form-control {
border: 1px solid #dee2e6;
text-align: right;
}
.login-register-modal .form-control::placeholder {
text-align: right;
}
.login-register-modal .btn {
transition: all 0.3s ease;
font-weight: 600;
}
.login-register-modal .btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(14, 198, 213, 0.3);
opacity: 0.9;
}
.login-register-modal select.form-control {
direction: rtl;
text-align: right;
}
.login-register-modal select.form-control option {
direction: rtl;
text-align: right;
}
</style>
<script>
$(document).ready(function() {
$('#open_bid').click(function() {
$('#create_bid').toggle();
});
$('#send_bid').submit(function(event) {
event.preventDefault(); // Empêche le comportement par défaut du formulaire
var formData = $(this).serialize(); // Sérialise les données du formulaire
// Sauvegarder l'URL de retour (listing avec paramètres de recherche)
var returnUrl = 'listing-all-properties.php';
if (document.referrer && document.referrer.includes('listing-all-properties.php')) {
returnUrl = document.referrer;
}
$.ajax({
type: 'POST',
url: 'insert_new_bid.php',
data: formData,
success: function(response) {
console.log('Formulaire envoyé avec succès :', response);
// Afficher message de succès avec compte à rebours
var countdown = 4;
$('#result').html('<div class="alert alert-success" dir="rtl" style="text-align:right;"><i class="fas fa-check-circle mr-2"></i>ההצעה שלך × ×©×œ×—×” בהצלחה!<br><br><span id="countdown-msg">מעביר ×ותך לתוצ×ות החיפוש בעוד <strong>' + countdown + '</strong> ×©× ×™×•×ª...</span></div>');
$('#send_bid')[0].reset();
// Compte à rebours et redirection automatique
var countdownInterval = setInterval(function() {
countdown--;
if (countdown > 0) {
$('#countdown-msg').html('מעביר ×ותך לתוצ×ות החיפוש בעוד <strong>' + countdown + '</strong> ×©× ×™×•×ª...');
} else {
clearInterval(countdownInterval);
window.location.href = returnUrl;
}
}, 1000);
},
error: function(error) {
console.log('Erreur lors de l\'envoi du formulaire :', error);
$('#result').html('<div class="alert alert-danger" dir="rtl" style="text-align:right;"><i class="fas fa-exclamation-triangle mr-2"></i>שגי××” בשליחת ההצעה שלך</div>');
}
});
});
// Bouton de retour aux résultats de recherche
$('#back-to-listing-btn').click(function(e) {
e.preventDefault();
// Récupérer les paramètres de recherche depuis le référent ou construire l'URL
let listingUrl = 'listing-all-properties.php';
// Si on a un référent qui contient listing-all-properties.php, on l'utilise
if (document.referrer && document.referrer.includes('listing-all-properties.php')) {
window.location.href = document.referrer;
} else {
// Sinon, rediriger vers la page de listing sans paramètres
window.location.href = listingUrl;
}
});
$(document).on('click', "#connect", function() {
$("#refresh_connect").fadeIn();
var pass = document.getElementById('mdp').value;
var email = document.getElementById('email').value;
$.post("connect.php", { email:email, mdp : pass, action: "connexion"}, function( data ) {
if(data=='ok'){
$("#refresh_connect").delay( 1000 ).fadeOut();
$("#ok_connect").delay( 2000 ).fadeIn();
$("#ok_connect").delay( 2500 ).fadeOut();
$("#login-register-modal").modal('hide');
var storedRedirectUrl = sessionStorage.getItem('postLoginRedirect');
var redirectUrl = storedRedirectUrl ? storedRedirectUrl : ((window.loginRedirectUrl) ? window.loginRedirectUrl : "dashboard-home.php");
sessionStorage.removeItem('postLoginRedirect');
window.loginRedirectUrl = null;
if (storedRedirectUrl) {
var parts = redirectUrl.split('#');
var baseUrl = parts[0];
var hash = parts.length > 1 ? ('#' + parts[1]) : '';
var sep = baseUrl.indexOf('?') === -1 ? '?' : '&';
redirectUrl = baseUrl + sep + 'login_refresh=' + Date.now() + hash;
}
window.location.href = redirectUrl;
}else{
setTimeout(function() {
alert( data );
$("#refresh_connect").delay( 1000 ).fadeOut();
}, 2000);
}
});
});
// Soumission du formulaire d'inscription
$(document).on('submit', '#register form', function (e) {
e.preventDefault();
var type = $('#type').val();
var fullName = $('#full-name').val().trim();
var email = $('#username01').val().trim();
var password = $('#password01').val().trim();
if (!type || !fullName || !email || !password) {
alert("×× × ×ž×œ× ×ת כל השדות ×”× ×“×¨×©×™×");
return;
}
if (password.length < 8 || !/\d/.test(password) || !/[a-zA-Z×-ת]/.test(password)) {
alert("הסיסמה צריכה לכלול לפחות 8 תווי×, מספר ו×ות.");
return;
}
$.post('connect.php', {
action: 'register',
type: type,
fullname: fullName,
email: email,
mdp: password
}, function (data) {
if (data === 'ok') {
alert("הרשמה בוצעה בהצלחה! כעת תוכל להתחבר.");
$('#register-tab').click(); // Bascule vers l’onglet connexion
} else {
alert(data);
}
});
});
$(document).on('click', '.toggle-password', function() {
// Sélectionner le champ mot de passe
var input = $('.mdp'); // Ou utilisez l'ID ou la classe spécifique selon votre code
// Vérifier l'état actuel du champ mot de passe
if (input.attr('type') === 'password') {
// Si c'est un champ mot de passe, le rendre visible
input.attr('type', 'text');
$(this).html('<i class="far fa-eye"></i>'); // Changer l'icône en "œil ouvert"
} else {
// Si c'est un champ texte, le rendre caché
input.attr('type', 'password');
$(this).html('<i class="far fa-eye-slash"></i>'); // Changer l'icône en "œil fermé"
}
});
});
</script>
<!-- Modal Termes et Conditions -->
<div class="modal fade" id="termsModal" tabindex="-1" role="dialog" aria-labelledby="termsModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl" role="document">
<div class="modal-content">
<div class="modal-header bg-primary text-white d-flex justify-content-between align-items-center" dir="rtl">
<button type="button" class="close text-white" data-dismiss="modal" aria-label="Close" style="order: 1;">
<span aria-hidden="true">×</span>
</button>
<h5 class="modal-title font-weight-bold text-center flex-grow-1" id="termsModalLabel" style="order: 2;">
<i class="fas fa-file-contract ml-2"></i>
×ª× ××™ השימוש ×•×”×ª×§× ×•×Ÿ
</h5>
<div style="order: 3; width: 30px;"></div> <!-- Spacer pour équilibrer -->
</div>
<div class="modal-body p-0">
<iframe src="terms-and-conditions.php" width="100%" height="600" frameborder="0"></iframe>
</div>
<div class="modal-footer bg-light border-top" dir="rtl">
<button type="button" class="btn btn-secondary" data-dismiss="modal">
<i class="fas fa-times ml-1"></i>
סגור
</button>
</div>
</div>
</div>
</div>