reportify_mncl/public/userarea/easyspec/cancel-component.php
2024-06-10 10:07:23 +02:00

15 lines
543 B
PHP

<?php include('../include/headscript.php'); ?>
<?php include("../class/company.php"); ?>
<?php if (true) {
$DeleteQuery = new WA_MySQLi_Query($repnew);
$DeleteQuery->Action = "delete";
$DeleteQuery->Table = "`component`";
$DeleteQuery->addFilter("idcomponent", "=", "i", "" . ($_GET['idcomponent']) . "");
$DeleteQuery->execute();
$DeleteGoTo = "component.php";
if (function_exists("rel2abs")) $DeleteGoTo = $DeleteGoTo ? rel2abs($DeleteGoTo, dirname(__FILE__)) : "";
$DeleteQuery->redirect($DeleteGoTo);
}
?>