Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/public_html/dev/storage/framework/views/ |
<?php /*back to top*/ ?>
<div id="scroll_to_top" style=" position : fixed; bottom : 10px; right:100px; z-index:999; display:none; cursor: pointer;">
<span style="color:#BFB79E;"><i class="fa fa-arrow-up fa-3x"></i></span>
</div>
<?php /* GENERAL JQUERY */ ?>
<script type="text/javascript" src="<?php echo e(asset('/themes/frontend_new/assets/js/jquery-1.11.3.min.js')); ?>"></script>
<?php /*DURA MENU JS*/ ?>
<script src="<?php echo e(asset('/themes/frontend_new/assets/plugins/phone-menu/js/modernizr.custom.js')); ?>"></script>
<script src="<?php echo e(asset('/themes/frontend_new/assets/plugins/phone-menu/js/jquery.dlmenu.js')); ?>"></script>
<?php /* BOOTSTRAP JQUERY */ ?>
<script type="text/javascript" src="<?php echo e(asset('/themes/frontend_new/assets/js/bootstrap.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('/themes/frontend_new/assets/js/fontawesome.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('/themes/frontend_new/assets/js/general-js.js')); ?>"></script>
<script type="text/javascript">
$(window).scroll(function () {
if ($(window).scrollTop() > 0){
$(".menu-background").addClass('sticky');
}else{
$(".menu-background").removeClass('sticky');
}
});
</script>
<script>
$('#flash-overlay-modal').modal();
$(function () {
$(window).scroll(function() {
if ($(this).scrollTop() < 100)
$("#scroll_to_top").hide();
else
$("#scroll_to_top").show();
});
$('#scroll_to_top').click(function(){
$('html, body').animate({scrollTop : 0},500);
return false;
});
});
</script>
<?php /*cookie start*/ ?>
<?php
$cookie_disclaimer = \Illuminate\Support\Facades\Cookie::get('cookie_disclaimer');
?>
<?php if(!$cookie_disclaimer): ?>
<div id="cookieContent" style="position: fixed; bottom: 0px; left: 0px; width: 100%; height: auto; background: rgb(0, 0, 0); color: rgb(255, 255, 255); text-align: center; z-index: 9999;">
<div style="position:relative;height:auto;width:90%;padding:10px;margin-left:auto;margin-right:auto;">
<div class="title">
We use cookies to offer an improved online experience. By clicking "OK" without changing your settings you are giving your consent to receive cookies.
</div>
<div style="margin-top:5px;">
<input type="button" name="impliedsubmit" id="impliedsubmit" class="btn btn-warning btn-xs" value="OK">
</div>
</div>
</div>
<script>
$("#impliedsubmit").click(function(){
$.ajax({
url: '<?php echo e(url('register-cookie')); ?>',
type: 'get',
success: function(data) {
$("#cookieContent").remove();
}
}); //end ajax
});
</script>
<?php endif; ?>
<?php /*cookie end*/ ?>
<script>
$(document).ready(function() {
console.log("here");
var url = "<?php echo e(route('plan.checksubscriptionstatus')); ?>";
console.log(url,'url in header');
// AJAX GET request
$.ajax({
url: url, // Replace this with your API endpoint URL
type: 'GET',
dataType: 'json',
success: function(data) {
// Handle the API response here
console.log(data);
if(data.status) {
var session_value = sessionStorage.getItem('subscription_status');
console.log(session_value, "session_value");
if(data.subscription_status != session_value) {
sessionStorage.setItem('subscription_status', data.subscription_status);
window.location.reload();
}
}
},
error: function(xhr, status, error) {
// Handle error if the API call fails
// console.error(error);
var session_value = sessionStorage.getItem('subscription_status');
sessionStorage.setItem('subscription_status', 'not_defiend');
// if(data.subscription_status == session_value) {
// sessionStorage.setItem('subscription_status', 'not_defiend');
// window.location.reload();
// }
}
});
});
</script>