- $content = array(
- 'sw' => $SW,
- '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' => GET_POOL_TYPE($pool[6]),
- 'tsend' => $pool[9],
- 'url' => FRAMETESTER($pool[8]),
- 'stamp' => MAKE_DATETIME($pool[7], "0"),
- 'mid' => $pool[0],
- );
+ $content['timestamp'] = generateDateTime($pool['timestamp'], 0);
+
+ // Merge pool data with content
+ $content = merge_array($content, $pool);