Server : LiteSpeed System : Linux nl-srv-web1396.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64 User : u107206879 ( 107206879) PHP Version : 7.2.34 Disable Function : NONE Directory : /home/u107206879/domains/escort46.de/public_html/en/ |
<div class="modal fade" id="login_popup" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body">
<h4>This feature is for registered users only. Please <a style="color:#f0548d;" href="<?php echo SUB_URL; ?>/signup" onclick="setCookie('redirect_url',window.location.href,1);">SIGN UP</a> or <a style="color:#f0548d;" href="<?php echo SUB_URL; ?>/login" onclick="setCookie('redirect_url',window.location.href,1);">LOG IN</a> here </h4>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script>
<?php
if(isset($_GET['ispopup'])){
?>
var fid = window.location.href;
var new_url = fid.replace('&ispopup=true','',fid);
history.pushState({urlPath:new_url},"",new_url);
$("#msgModal<?= $row["id"] ?>").modal('show');
<?php
}
?>
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
var expires = "expires="+ d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
return true;
}
function force_to_login(){
$("#login_popup").modal('show');
}
</script>