Location: PHPKode > projects > MyEasyShop > myEasySHOP/adm_user_changestatus.php
<?PHP
/***************************************************/
/*		I N C L U D E S 		   */
/***************************************************/
require("etc/myShop.cfg");
require(LIBRARIES. "bll_user.inc");
/***************************************************/	

	// Creazione oggetto gestione utente.
	$ul = new bll_user;
	$ul->Set_user_attribute($id_user, 'status', $NewStatus);
//	header ("Location: javascript:window.opener.location.reload();window.close();");
	echo("<script language='javascript'>window.opener.location.reload();window.close();</script>");

?>
Return current item: MyEasyShop