- 'u_link' => ADMIN_USER_PROFILE_LINK($pool[1]),
- 'subj' => COMPILE_CODE($pool[2]),
- 'text' => COMPILE_CODE($pool[3]),
- 'pay' => GET_PAYMENT($pool[5]),
- 'cat' => GET_CATEGORY($pool[10]),
- 'sent' => $sent,
- 'ruids' => str_replace(";", ", ", $pool[4]),
- 'unconfirmed' => $unconfirmed,
- 'type' => TRANSLATE_POOL_TYPE($pool[6]),
- 'tsend' => $pool[9],
- 'frametester' => FRAMETESTER($pool[8]),
- 'url' => COMPILE_CODE($pool[8]),
- 'stamp' => MAKE_DATETIME($pool[7], "0"),
- 'mid' => $pool[0],
+ 'u_link' => generateUserProfileLink($pool['sender']),
+ 'subject' => $pool['subject'],
+ 'text' => $pool['text'],
+ 'pay' => getPaymentTitlePrice($pool['payment_id']),
+ 'cat' => getCategory($pool['cat_id']),
+ 'sent' => $pool['max_rec'],
+ 'ruserids' => convertReceivers($pool['receivers']),
+ 'unconfirmed' => $pool['unconfirmed'],
+ 'type' => translatePoolType($pool['data_type']),
+ 'target_send' => $pool['target_send'],
+ 'frametester' => generateFrametesterUrl($pool['url']),
+ 'url' => $pool['url'],
+ 'timestamp' => generateDateTime($pool['timestamp'], 0),
+ 'mid' => $pool['id'],