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