'manga' * user: the currently logged in user * list_type: (optional) if mode is follows, the user setting that controls the list format * manga: (optional) if mode is manga, the manga object * group: (optional) if mode is group, the group object * uploader: (optional) if mode is user, the user object of the uploader */ $paging = pagination($templateVar['chapter_count'], $templateVar['current_page'], $templateVar['limit']); $read_chapters_array = $templateVar['user']->get_read_chapters(); $followed_list = $templateVar['user']->get_followed_manga_ids_key_pair(); $user_group_ids = array_keys($templateVar['user']->get_groups()); $timestamp = $templateVar['timestamp'] ?? time(); ?>