-function registerMustFillout () {
- $result = SQL_QUERY("SELECT field_name, field_required FROM `{!_MYSQL_PREFIX!}_must_register` ORDER BY `id`",
- __FUNCTION__, __LINE__);
-
- while ($content = SQL_FETCHARRAY($result)) {
- $value = '';
- if ($content['field_required'] == 'Y') $value = "<div class=\\\"guest_failed\\\"> (*)</div>";
- // @TODO Rewrite these constants
- $eval = "define('MUST_".strtoupper($content['field_name'])."', \"".$value."\");";
- eval($eval);
- } // END - while
-
- // Free memory
- SQL_FREERESULT($result);
-
- // Also fill other constants
- // @TODO Rewrite these constants, too
- define('MUST_GENDER', "<div class=\"guest_failed\"> (*)</div>");
- define('MUST_ADDY' , "<div class=\"guest_failed\"> (*)</div>");
- define('MUST_BIRTH' , "<div class=\"guest_failed\"> (*)</div>");
- define('MUST_MARKER', "<div class=\"guest_failed\"> (*)</div>");
-}
-
-//
-function REGISTER_CHECK_REQUIRED_FIELDS (&$array) {
- $ret = false;