- // Remember data in array for the template
- $content = array(
- 'sw' => $SW,
- 'ulink' => generateUserProfileLink($content['userid']),
- 'ptype' => translateComma($content['payout_total']) . ' ' . $content['type'],
- 'account' => $content['target_account'],
- 'bank' => $content['target_bank'],
- 'tstamp' => generateDateTime($content['payout_timestamp'], 2),
- 'status' => $content['status'],
- );
+ // Add/Translate some data
+ $content['payout_timestamp'] = generateDateTime($content['payout_timestamp'], 2);