exit; } if (isset($_GET["icap-search"])) { search(); exit; } if (isset($_GET["service-js"])) { service_js(); exit; } if (isset($_GET["service-delete-js"])) { service_delete_js(); exit; } if (isset($_POST["delete-item"])) { service_delete(); exit; } if (isset($_GET["service-popup"])) { service_popup(); exit; } if (isset($_POST["service_name"])) { service_save(); exit; } if (isset($_GET["reset-js"])) { reset_js(); exit; } if (isset($_POST["reset"])) {
<?php include_once 'database.php'; $id = $_GET['id']; service_delete($id); header("Location:index.php?page=services");