public static function summary_userdata(&$data, $user_id) { $data['total_dive_time'] = Model_Post::summary_dive_time($user_id); $data['first_date'] = Model_Post::get_first_date($user_id); $data['creature'] = Model_Post::summary_report_count($user_id); $data['yearly'] = Model_Post::get_yearly($user_id); $data['location'] = Model_Post::summary_location($user_id); }