File: /home/lowinsrate/public_html/enroll/footer.php
<footer class="footer mt-auto py-3 bg-light">
<div class="container">
<div class="row">
<div class="col-md-6">
<a href="/privacy.php" class="text-muted">Privacy Policy</a> |
<a href="/terms.php" class="text-muted">Terms and Conditions</a>
</div>
<div class="col-md-6">
<a href="/privacy.php" class="text-muted text-right">©Lowsinsrate 2019-2023 All Rights Reserved Powered</a>
</div>
</div>
</div>
</footer>
<script src="../assets/dist/js/bootstrap.bundle.min.js"></script>
<script>
$(document).ready(function() {
// Initialize step and result URLs
var step = 1;
var yesRedirectUrl = "/src3/success.php";
var noRedirectUrl = "/src3/offers.php";
// Hide all questions except the first one
$(".question").hide();
$("#question1").show();
// Handle "Yes" button click
$(".yes").click(function() {
// Show the next question
$("#question" + step).hide();
step++;
$("#question" + step).show();
// Check if all questions are answered "Yes"
if (step === 4) {
// Redirect to the "Yes" URL
window.location.href = yesRedirectUrl;
}
});
// Handle "No" button click
$(".no").click(function() {
// Redirect to the "No" URL
window.location.href = noRedirectUrl;
});
});
</script>
</body>
</html>