enabled) { __("This page is restricted to authorized staff"); exit(); } $fields = array ( "uid" => array ("post", "integer", ""), "periods" => array ("post", "integer", ""), ); getFields($fields); if (!$admin->checkcreator($uid)) { __("This page is restricted to authorized staff"); exit(); } if (!$admin->renew_mem($uid, $periods)){ $error=$err->errstr(); include("adm_edit.php"); } else { $error=_("The member has been successfully renewed"); include("adm_list.php"); } ?>