-} elseif ((isFormSent()) && (REQUEST_ISSET_POST('email'))) {
- // Confirmation link requested 0 1 2
- $result = SQL_QUERY_ESC("SELECT userid, status, user_hash FROM `{!_MYSQL_PREFIX!}_user_data` WHERE email='%s' LIMIT 1",
- array(REQUEST_POST('email')), __FILE__, __LINE__);
+
+ // Load template
+ loadTemplate('guest_confirm_table', false, $content);
+} elseif ((isFormSent()) && (isPostRequestElementSet('email'))) {
+ // Confirmation link requested 0 1 2
+ $result = SQL_QUERY_ESC("SELECT `userid`, `status`, `user_hash` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `email`='%s' LIMIT 1",
+ array(postRequestElement('email')), __FILE__, __LINE__);