-OPEN_TABLE("100%", "admin_content admin_content_align", "");
-if (isset($_POST['ok']))
-{
- $result = SQL_QUERY("SELECT userid, email FROM "._MYSQL_PREFIX."_user_data WHERE status='CONFIRMED' AND nl_receive='Y' ORDER BY userid", __FILE__, __LINE__);
- if (SQL_NUMROWS($result) > 0)
- {
+if (isFormSent()) {
+ $result = SQL_QUERY("SELECT
+ `userid`,`email`
+FROM
+ `{?_MYSQL_PREFIX?}_user_data`
+WHERE
+ `status`='CONFIRMED' AND `nl_receive`='Y'
+ORDER BY
+ `userid` ASC", __FILE__, __LINE__);
+ if (!SQL_HASZERONUMS($result)) {