ADD_DESCR("admin", __FILE__);
// Check if admin has submitted form
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
// Does he have selected at least one sponsor?
- if (SELECTION_COUNT($_POST['id']) > 0) {
+ if (SELECTION_COUNT(REQUEST_POST('id')) > 0) {
// At least one entry selected
- foreach ($_POST['id'] as $id => $sel) {
+ foreach (REQUEST_POST('id') as $id => $sel) {
// Secure ID number
$id = bigintval($id);