- 'sw' => $SW,
- 'id' => $id,
- 'sender' => $sender,
- 'u_link' => ADMIN_USER_PROFILE_LINK($sender),
- 'subj' => COMPILE_CODE($subj),
- 'tester' => FRAMETESTER($url),
- 'url' => $url,
- 'cat_title' => str_replace("\"", """, GET_CATEGORY($cat)),
- 'cat_link' => $cat,
- 'pay_title' => str_replace("\"", """, GET_PAYMENT($pay, true)),
- 'pay_link' => $pay,
- 'ordered' => MAKE_DATETIME($time, "2"),
- 'tsend' => $tsend,
+ 'sw' => $SW,
+ 'id' => $content['id'],
+ 'sender' => $content['sender'],
+ 'u_link' => generateUserProfileLink($content['sender']),
+ 'subject' => $content['subject'],
+ 'tester' => generateFrametesterUrl($content['url']),
+ 'url' => $content['url'],
+ 'cat_title' => str_replace("\"", '"', getCategory($content['category'])),
+ 'cat_link' => $content['category'],
+ 'pay_title' => str_replace("\"", '"', getPaymentTitlePrice($content['payment'], true)),
+ 'pay_link' => $content['payment'],
+ 'timestamp' => generateDateTime($content['timestamp'], 2),
+ 'target_send' => $content['target_send'],