-$SQL = "SELECT id, sender, subject, text, receivers, payment_id, data_type, timestamp, url, target_send, cat_id
- FROM "._MYSQL_PREFIX."_pool
- WHERE data_type IN('ADMIN', 'TEMP', 'NEW', 'ACTIVE')
- ORDER BY timestamp DESC";
-$WHO = _ALL;
-$SQL2 = "";
-
-if (!empty($_GET['mid']))
-{
+$sql = "SELECT id, sender, subject, text, receivers, payment_id, data_type, timestamp, url, target_send, cat_id
+FROM `{?_MYSQL_PREFIX?}_pool`
+WHERE data_type IN('ADMIN','TEMP','NEW','ACTIVE')
+ORDER BY timestamp DESC";
+
+$WHO = getMessage('_ALL');
+$SQL2 = '';
+
+if (isGetRequestElementSet(('mid'))) {