<?PHP
/***************************************************/
/* I N C L U D E S */
/***************************************************/
require("etc/myShop.cfg");
require(LIBRARIES. "bll_user.inc");
require(LIBRARIES. "template.inc");
/***************************************************/
// Creazione oggetto gestione utente.
$ul = new bll_user;
if ($id_user != ""){
// Deletes the registration.
if ($ul->Delete_user($id_user)){
header ("Location: adm_user.php");
} else {
header ("Location: adm_user.php"); //Any error!
}
}
?>