+if ((isFormSent()) && (!isPostRequestParameterSet('id'))) {
+ unsetPostRequestParameter('ok');
+} // END - if
+
+// Query the pool
+$result = SQL_QUERY('SELECT
+ `id`, `sender`, `subject`, `payment_id`, `cat_id`
+FROM
+ `{?_MYSQL_PREFIX?}_pool`
+ORDER BY
+ `timestamp` ASC', __FILE__, __LINE__);