Server : LiteSpeed System : Linux premium163.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : infihsqw ( 644) PHP Version : 8.1.29 Disable Function : NONE Directory : /home/infihsqw/rawafed-sa.store/controlPanel/ |
<?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 `footer` 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=images_index.php'>"; ?> <div id="snackbar" class="">تم الحذف بنجاح</div>