}
// Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
// Normal mails ordered by your members
// 0 1 2 3 4 5 6 7 8 9 10
$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";
+FROM "._MYSQL_PREFIX."_pool
+WHERE data_type IN('ADMIN','TEMP','NEW','ACTIVE')
+ORDER BY timestamp DESC";
+
$WHO = _ALL;
$SQL2 = "";
// Bonus mails sent by you
// 0 1 2 3 4 5 6 7 8 9 10 11 12
$SQL2 = "SELECT id, subject, text, receivers, points, time, data_type, timestamp, url, cat_id, target_send, mails_sent, clicks
- FROM "._MYSQL_PREFIX."_bonus
- ORDER BY timestamp DESC";
+ FROM "._MYSQL_PREFIX."_bonus
+ WHERE is_notify='N'
+ ORDER BY timestamp DESC";
// Check for maximum pages
$result_bonus = SQL_QUERY($SQL2, __FILE__, __LINE__);
$content['payment'] = GET_PAYMENT($pool['payment_id']);
$content['category'] = GET_CATEGORY($pool['cat_id']);
$content['receivers'] = str_replace(";", ", ", $pool['receivers']);
- $content['type'] = GET_POOL_TYPE($pool['data_type']);
+ $content['type'] = TRANSLATE_POOL_TYPE($pool['data_type']);
$content['frametester'] = FRAMETESTER($pool['url']);
+ $content['url'] = COMPILE_CODE($pool['url']);
$content['timestamp'] = MAKE_DATETIME($pool['timestamp'], "0");
// Load row template
$content['time'] = CREATE_FANCY_TIME($content['time']);
$content['category'] = GET_CATEGORY($content['cat_id']);
$content['receivers'] = str_replace(";", ", ", $content['receivers']);
- $content['type'] = GET_POOL_TYPE($content['data_type']);
+ $content['type'] = TRANSLATE_POOL_TYPE($content['data_type']);
$content['frametester'] = FRAMETESTER($content['url']);
$content['timestamp'] = MAKE_DATETIME($content['timestamp'], "0");