- 'sw' => $SW,
- 'cat' => GET_CATEGORY(bigintval($pool[1])),
- 'pay' => GET_PAYMENT(bigintval($pool[2])),
- 'subj' => COMPILE_CODE($pool[3]),
- 'url' => DEREFERER($pool[4]),
- 'stamp' => MAKE_DATETIME($pool[5], "0"),
- 'recs' => $pool[6],
- 'sent' => MAKE_DATETIME($pool[7], "0"),
- 'clix' => $pool[8],
- 'perc' => COMPILE_CODE($pool[8] / $pool[6] * 100)."%",
+ 'cat_id' => $content['cat_id'],
+ 'payment_id' => $content['payment_id'],
+ 'url' => $content['url'],
+ 'timestamp_ordered' => generateDateTime($content['timestamp_ordered'], 2),
+ 'max_rec' => $content['max_rec'],
+ 'timestamp_sent' => generateDateTime($content['timestamp_send'], 2),
+ 'clicks' => $content['clicks'],
+ 'subject' => $content['subject'],
+ 'percents' => ($content['clicks'] / $content['max_rec'] * 100),