- // Free memory
- SQL_FREERESULT($result);
-
- // Calculate hours...
- $STD = round(getConfig('url_tlock') / 60 / 60);
-
- // Minutes...
- $MIN = round((getConfig('url_tlock') - $STD * 60 * 60) / 60);
-
- // And seconds
- $SEC = getConfig('url_tlock') - $STD * 60 * 60 - $MIN * 60;
-
- // Finally contruct the message
- // @TODO Rewrite this old lost code to a template
- $MSG = "{--MEMBER_URL_TIME_LOCK--}<br />{--CONFIG_URL_TLOCK--} ".$STD."
- {--_HOURS--}, ".$MIN." {--_MINUTES--} {--_AND--} ".$SEC." {--_SECONDS--}<br />
- {--MEMBER_LAST_TLOCK--}: ".$LORDER;
- break;
-
- case constant('CODE_OVERLENGTH'):
- $MSG = getMessage('MEMBER_TEXT_OVERLENGTH');
- break;
-
- case constant('CODE_URL_FOUND'):
- $MSG = getMessage('MEMBER_TEXT_CONTAINS_URL');
- break;
-
- case constant('CODE_SUBJ_URL'):
- $MSG = getMessage('MEMBER_SUBJ_CONTAINS_URL');
- break;
-
- case constant('CODE_BLIST_URL'):
- $MSG = "{--MEMBER_URL_BLACK_LISTED--}<br />\n{--MEMBER_BLIST_TIME--}: ".MAKE_DATETIME($_GET['blist'], "0");
- break;
-
- case constant('CODE_NO_RECS_LEFT'):
- $MSG = getMessage('MEMBER_SELECTED_MORE_RECS');
- break;
-
- case constant('CODE_INVALID_TAGS'):
- $MSG = getMessage('MEMBER_HTML_INVALID_TAGS');
- break;
-
- case constant('CODE_MORE_POINTS'):
- $MSG = getMessage('MEMBER_MORE_POINTS_NEEDED');
- break;
-
- case constant('CODE_MORE_RECEIVERS1'):
- $MSG = getMessage('MEMBER_ENTER_MORE_RECEIVERS');
- break;
-
- case constant('CODE_MORE_RECEIVERS2'):
- $MSG = getMessage('MEMBER_NO_MORE_RECEIVERS_FOUND');
- break;
-
- case constant('CODE_MORE_RECEIVERS3'):
- $MSG = "{--MEMBER_ENTER_MORE_MIN_RECEIVERS_1--}".getConfig('order_min')."{--MEMBER_ENTER_MORE_MIN_RECEIVERS_2--}";
- break;