���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() 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 : /proc/self/root/var/www/html/tien-dien/code/admin/shipping/ |
<?php global $DB, $INFO, $print, $v_lang, $CORE; // Get shipping method ID $id = isset($_GET['id']) ? intval($_GET['id']) : 0; if ($id > 0) { // Check if shipping method exists $query = "SELECT * FROM tb_shipping_methods WHERE id = '$id'"; $result = $DB->query($query); if ($DB->get_num_rows() > 0) { // Delete shipping method $DB->query("DELETE FROM tb_shipping_methods WHERE id = '$id'"); $print->refresh('?act=admin&code=shipping&msg=deleted'); } else { $print->refresh('?act=admin&code=shipping&msg=not_found'); } } else { $print->refresh('?act=admin&code=shipping'); } ?>