- 'start_date' => MAKE_DATETIME($content['start_time'], "2"),
- 'end_date' => MAKE_DATETIME($content['end_time'] , "2"),
- 'active_lnk' => TRANSLATE_YESNO($content['is_active']),
- 'notify_lnk' => TRANSLATE_YESNO($content['send_notify']),
- 'auto_lnk' => TRANSLATE_YESNO($content['auto_add_new_user']),
- 'notified' => TRANSLATE_YESNO($content['notified']),
- 'prices_cnt' => TRANSLATE_COMMA(GET_TOTAL_DATA($content['id'], "rallye_prices", "id", "rallye_id", true)),
- 'descr' => COMPILE_CODE($content['descr']),
- 'min_users' => $content['min_users'],
- 'min_prices' => $content['min_prices'],
+ 'start_date' => generateDateTime($row['start_time'], '2'),
+ 'end_date' => generateDateTime($row['end_time'] , '2'),
+ 'active_lnk' => translateYesNo($row['is_active']),
+ 'notify_lnk' => translateYesNo($row['send_notify']),
+ 'auto_lnk' => translateYesNo($row['auto_add_new_user']),
+ 'notified' => translateYesNo($row['notified']),
+ 'prices_cnt' => translateComma(countSumTotalData($row['id'], 'rallye_prices', 'id', 'rallye_id', true)),
+ 'descr' => $row['descr'],
+ 'min_users' => $row['min_users'],
+ 'min_prices' => $row['min_prices'],