- $msg = LOAD_EMAIL_TEMPLATE("member_holiday_removed", $content, $uid);
- SEND_EMAIL($uid, HOLIDAY_ADMIN_REMOVED_SUBJ, $msg);
- $cnt++;
- }
- }
- LOAD_TEMPLATE("admin_settings_saved", false, HOLIDAY_ADMIN_MULTI_DEL_1.$cnt.HOLIDAY_ADMIN_MULTI_DEL_2);
-}
- elseif (REQUEST_ISSET_GET(('uid')))
-{
+ $message = loadEmailTemplate('member_holiday_removed', $content, $content['userid']);
+ sendEmail($content['userid'], '{--ADMIN_HOLIDAY_REMOVED_SUBJECT--}', $message);
+ $count++;
+ } // END - if
+
+ // Free result
+ SQL_FREERESULT($result);
+ } // END - foreach
+ loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_HOLIDAY_MULTI_DELETE', $count));
+} elseif (isGetRequestParameterSet('userid')) {