- 'id' => $id,
- 'select' => $select,
- 'title' => $title,
- 'aid' => $aid,
- 'email_link' => CREATE_EMAIL_LINK($aid),
- 'alogin' => $alogin,
- 'start' => MAKE_DATETIME($start, "3"),
- 'end' => MAKE_DATETIME($end, "3"),
+ 'id' => $content['id'],
+ 'title' => $content['title'],
+ 'admin_id' => $content['admin_id'],
+ 'admin_link' => generateAdminLink($content['admin_id']),
+ 'login' => $content['login'],
+ 'start' => generateDateTime($content['start_time'], 3),
+ 'end' => generateDateTime($content['end_time'], 3),