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/ |
<?php
include_once "db_connection.php";
include_once "functions.php";
require_once 'Mobile_Detect.php';
$detect = new Mobile_Detect;
if(isset($_SESSION['id']) && !empty($_SESSION['id'])){
header('Location: '.SUB_URL.'/myaccount');
}
$success="";
if(isset($_POST['submit']) && !empty($_POST['usrname']) && !empty($_POST['email']) && !empty($_POST['password'])){
$error="";
$usrname=test_input($_POST['usrname']);
$email=test_input($_POST['email']);
$password=test_input($_POST['password']);
$createdate = date("Y-m-d");
$last_mail_sent = date("Y-m-d H:i:s");
$status = 0;
$activationcode=md5($email.time());
#rechapcha
if (!empty($_POST['g-recaptcha-response'])) {
$response = json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=6Lf2JtkZAAAAAM0U7yNxsmNiI35UWOp12peJe5pw&response=".$_POST['g-recaptcha-response']."&remoteip=".$_SERVER['REMOTE_ADDR']), true);
if($response['success'] == false){
$success=
"<div align='center' class='alert alert-danger alert-dismissable'>
<a href='#' class='close' data-dismiss='alert' aria-label='close'>X</a>
Invalid captcha. Please try again.
</div>";
}else{
$usrtbl = "INSERT INTO `user` (`id`, `usrname`, `email`, `password`, `country`, `create_date`, `activationcode`,`status`,`last_mail_sent`)
VALUES (NULL, '".addslashes($usrname)."', '".addslashes($email)."', '".addslashes($password)."', 'Denmark', '".addslashes($createdate)."', '".addslashes($activationcode)."', '".addslashes($status)."', '".addslashes($last_mail_sent)."')";
$usrresult=mysqli_query($connection,$usrtbl);
if($usrresult){
$inserted_id = mysqli_insert_id($connection);
$to=$email;
$msg= "Dear $usrname \n";
$subject="Email verification (".MAIN_EMAIL_NAME.")";
$headers='From:'.MAIN_EMAIL_NAME.' <'.MAIN_EMAIL.'>';
$msg.="Thanks for the new Registration \n";
$msg.="Please click the following link to verify and to activate your account \n
\n".SUB_URL."/email_verification.php?code=$activationcode";
mail($to,$subject,$msg,$headers);
$success=
"<div align='center' class='alert alert-success alert-dismissable'>
<a href='#' class='close' data-dismiss='alert' aria-label='close'>X</a>
Registration is successful! Check your mailbox to verify and to activate your account. <strong> Check the spam folder also! </strong>
</div>";
$user_ip = getUserIP();
$_SESSION['id'] = $inserted_id;
$_SESSION['email'] = $email;
$_SESSION['usrname'] = $usrname;
$_SESSION['status'] = $status;
$now_date = date('Y-m-d H:i:s');
$qry = "UPDATE user SET last_login='$now_date' , ip_address='$user_ip' WHERE id=$inserted_id";
$sql=mysqli_query($connection,$qry);
header("location: ".SUB_URL."/myaccount");
}else{
$success=
"<div align='center' class='alert alert-danger alert-dismissable'>
<a href='#' class='close' data-dismiss='alert' aria-label='close'>X</a>
You have already registered with this Email! Please login or try a different Email!
</div>";
}
}
}else{
$success=
"<div align='center' class='alert alert-danger alert-dismissable'>
<a href='#' class='close' data-dismiss='alert' aria-label='close'>X</a>
Invalid captcha. Please try again.
</div>";
}
}
//form validation function to prevent from hacker
function test_input($data) {
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
return $data;
}
?>
<!DOCTYPE html>
<html lang="<?= $language ?>">
<head>
<?php include_once "new_head.php"; ?>
</head>
<body id="myPage">
<div id="mobile-indicator"></div>
<div id="page-wrapper">
<?php include_once "header.php"; ?>
<section id="content" class="<?= $container.' '.$cont_fluid_bg_class ?> container-fluid">
<div class="col-sm-12 col-md-12 col-xs-12 col-lg-12 no-padding">
<?php
if($page_ad_active == 1 || $page_top_ad_active == 1 || $page_left_ad_active == 1 || $page_right_ad_active == 1 || WEBSITE_PAGE_LAYOUT=="small"){
?>
<div class="col-sm-12 col-md-1 col-xs-12 col-lg-1"></div>
<?php } ?>
<div class="<?= $page_ad_bs_class ?>">
<section id="login">
<div class="">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 signin">
<div class="form-wrap">
<?php
if($success != ""){
echo $success;
}
?>
<center class="description">
<h1>Sign Up</h1>
<hr class="hr_lines">
<p class="mb-40">Fill out the registration form to create a new account</p>
</center>
<div class="error-message" style="margin-bottom: 10px;"><?php if(isset($message)) { echo $message; } ?></div>
<form id="signupForm" action="" method="post" enctype="multipart/form-data">
<div class="form-group">
<input type="text" name="usrname" class="form-control input_border_radius" id="usrname" placeholder="Username">
</div>
<div class="form-group">
<input type="email" name="email" class="form-control input_border_radius" id="email" placeholder="[email protected]">
<span class="below-text"></span>
</div>
<div class="form-group">
<input type="password" name="password" class="form-control input_border_radius" id="password" placeholder="Password">
</div>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div class="form-group captcha_wrapper" align="center">
<div class="g-recaptcha" data-sitekey="6Lf2JtkZAAAAAAjR9rAlwuwyNra9Iv-4dvgQ0nfO"></div>
</div>
<div align="center">
<input type="submit" name="submit" id="register" class="btn btn-custom btn-lg btn-block mb-20" value="Sign Up">
</div>
</form>
<div class="col-md-12 col-sm-12 col-xs-12 text-center nopadding">
<span class="contdition-check">With the Sign Up<br>You agree to our <a href="#" class="login_link" data-toggle="modal" data-target="#modalPolicy" style="color:#f7498e;">Privacy Policy and Terms</a></span>
<hr>
<a href="<?php echo SUB_URL; ?>/login" class="login_link">Do you already have an account? Click here!</a>
</div>
</div>
</div>
</div>
<div class="col-md-2 col-lg-2" style="padding-top: 10px;"></div>
<div class="col-xs-12 col-md-8 col-lg-8 col-sm-12 myadpic" style="margin-bottom: 10px;padding-top: 10px;">
<?php include("myadpic.php"); ?>
</div>
<div class="col-md-2 col-lg-2" style="padding-top: 10px;"></div>
</div>
<div id="modalPolicy" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title" style="text-align-last: center">Privacy Policy and Terms</h4>
</div>
<div class="modal-body terms-policy">
<img src="<?php echo MAIN_URL;?>/images/logo/logo.png" alt="escort46 logo" style="max-width: 100%; height: auto;">
<p>
<p>We keep and handle a number of personal information about our users.</p>
<p>We want you to understand what we use your data for and why we keep them - and you can learn more about it here.</p>
<p style="margin-left: -.25pt;"><span style="font-size: 16pt; color: #800080; font-family: calibri, sans-serif;">Generally</span>
<p>We will keep your data until you delete your profile.<br>If you delete your profile, your data will be removed immediately for the public and will be deleted on a routine run the following night.</p>
<p>Your forum posts will remain the only thing, but all references to your profile (in addition to the profile name) will disappear.</p>
<p>We take continuous backups, which means that the data will be stored for a period of time, after which they will automatically be deleted. This is to ensure that we can recreate Escort46 in case of a system crash.</p>
<p style="margin-left: -.25pt;"><span style="font-size: 16pt; color: #800080; font-family: calibri, sans-serif;">What data do we store?</span>
<p>We of course keep the information you provide us when you create and use your profile, as well as your messages, pictures, etc.</p>
<p>We store following:</p>
<ul><li>User name</li></ul>
<ul><li>Password</li></ul>
<ul><li>Email address</li></ul>
<ul><li>Gender</li></ul>
<ul><li>Postal Code / City / Country</li></ul>
<ul><li>Body information</li></ul>
<ul><li>What you are looking for</li></ul>
<ul><li>Pictures and videos you upload to your profile (profile pictures, gallery images, and similar videos) as well as related categories and texts</li></ul>
<ul><li>Profile Text</li></ul>
<ul><li>Phone number</li></ul>
<ul><li>All messages you send including chat messages, guestbook entries and messages in our forum.</li></ul>
<p style="margin-left: -.25pt;"><span style="font-size: 16pt; color: #800080; font-family: calibri, sans-serif;">We store the following data you do not enter yourself</span>
<p>We store your IP address every time you log in, along with a time for login.<br>Partly for statistical reasons, but also to help you in case your profile is abused.</p>
<p>We also store your browser's identification where we basically can see if you are using Microsoft EDGE, Google Chrome and the like. It uses for statistics and support applications where we have easier to troubleshoot and help you further.</p>
<p>We store what profiles you have looked at and what you have looked at, for example. whether you have read the profile itself, looked in the gallery, etc. These data are stored for 7 days after which they are deleted.</p>
<p>We store a list of your purchases so that you can see at any time what purchases you have made and when.</p>
<p style="margin-left: -.25pt;"><span style="font-size: 16pt; color: #800080; font-family: calibri, sans-serif;">The reasons why we store the data</span>
<p>Escort46 is a social media, with the purpose of bringing people together and creating unity, friendships and relationships.</p>
<p>Your data is the cornerstone of our product; that others can find you and you can find them - and you can see if there is a potential to build on.</p>
<p style="margin-left: -.25pt;"><span style="font-size: 16pt; color: #800080; font-family: calibri, sans-serif;">We share the following data with third parties</span>
<p>We share some of your data with everyone who sees your profile. You can see your own profile, for an example of how this looks.</p>
<p>If you choose to purchase an ad from us, payment transaction information will be stored at PayPal in their payment gateway. We do not store any information about your credit card.</p>
<p>Support is provided by Escort46, which itself has access to the information in our systems.</p>
<p>Escort46 handles third-party ads and places cookies through. Escort46 used to target advertising.</p>
<p style="margin-left: -.25pt;"><span style="font-size: 16pt; color: #800080; font-family: calibri, sans-serif;">Deleting data</span>
<p>We store your data for a period of up to 5 years after you delete your profile.<br> This is done for accounting purposes where we are legally obliged to store this data for 5 years.</p>
<p style="margin-left: -.25pt;"><span style="font-size: 16pt; color: #800080; font-family: calibri, sans-serif;">Explicit removal of data</span>
<p>If you want us to remove all data relating to your profile, please contact us by email.</p>
<p style="margin-left: -.25pt;"><span style="font-size: 16pt; color: #800080; font-family: calibri, sans-serif;">Your rights</span>
<p>The European Personal Data Regulation gives you a number of rights when we process your personal data.</p>
<ul><li>The right to be informed about the processing of data</li></ul>
<ul><li>The right to access your own personal data</li></ul>
<ul><li>The right to rectification</li></ul>
<ul><li>The right to delete</li></ul>
<ul><li>The right to limit treatment</li></ul>
<ul><li>The right to hand over your data</li></ul>
<ul><li>The right to object</li></ul>
<p>You can use your rights at any time by contacting us.</p>
<p>If you do not find that we are acting correctly on your inquiry, you may at any time submit a complaint to a data protection supervisory authority, for example. Data Protection Agency.</p>
<br>
<br>
<p>Escort46 Ads </p>
<p><?php echo MAIN_EMAIL;?></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</section>
</div>
<?php
if($page_ad_active == 1 || $page_top_ad_active == 1 || $page_left_ad_active == 1 || $page_right_ad_active == 1 || WEBSITE_PAGE_LAYOUT=="small"){
?>
<div class="col-sm-12 col-md-1 col-xs-12 col-lg-1"></div>
<?php
}
?>
</div>
</section>
<footer id="footer">
<div class="footer-wrapper">
<?php include_once 'footer.php'; ?>
</div>
</footer>
</div>
<?php include_once '../js_zone.php'; ?>
<style type="text/css">
.mobileShow {
display: none;
}
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){ .mobileShow { display: inline;padding-left:160px;}}
</style>
<script>
$().ready(function() {
jQuery.validator.addMethod("lettersonly", function(value, element) {
return this.optional(element) || /^[a-z0-9_]+$/i.test(value);
}, "Use only letters and numbers, no spaces or special characters such as @%$!?# are allowed");
// validate signup form on keyup and submit
$("#signupForm").validate({
rules: {
usrname: {
required: true,
minlength: 3,
maxlength: 20,
lettersonly: true,
remote: {
type: 'POST',
url: '<?php echo SUB_URL; ?>/services/username_exist'
}
},
email: {
required: true,
email: true,
remote: {
type: 'POST',
url: '<?php echo SUB_URL; ?>/services/email_exist'
}
},
password: {
required: true,
minlength: 5
}
},
messages: {
usrname: {
required: "Please enter a user name",
minlength: "Username must be at least 3 characters",
maxlength: "Max 20 characters allowed",
remote: "This username is already taken"
},
email: {
required: "Please enter email",
email: "Please enter a valid email",
remote: "This email is already registered"
},
password: {
required: "Please enter a password",
minlength: "Your password must be at least 5 characters"
}
}
});
});
</script>
</body>
</html>