'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 * show_only_deleted: (optional) shows only deleted chapters (bin) */ $paging = pagination($templateVar['chapter_count'], $templateVar['current_page'], $templateVar['limit']); $show_only_deleted = $templateVar['show_only_deleted'] ?? 0; $timestamp = $templateVar['timestamp'] ?? time(); ?>
manga_id; endforeach; ?>
manga_id) ? display_manga_link($chapter->manga_id, $chapter->manga_name, $chapter->manga_hentai) : "" ?> volume == "" || $chapter->volume == 0) ? "" : "Vol. $chapter->volume " ?>chapter != "") ? "Ch. $chapter->chapter - " : "" ?>title, 0, 60, "...") ?>manga_last_chapter && $chapter->manga_last_chapter == $chapter->chapter) ? " END" : '' ?>available ? '' : display_fa_icon('file-excel', 'Unavailable', 'mx-1', 'fas') ?> thread_posts, 'chapter', $chapter->chapter_id) ?> chapter_views) ?> upload_timestamp < 86400 ? "text-success" : "") ?>" title="upload_timestamp) ?>">
manga_id . '/' . slugify($templateVar['manga']->manga_name) . '/' . $templateVar['mode']; break; case "group": $string = $templateVar['page'] . '/' . $templateVar['group']->group_id . '/' . slugify($templateVar['group']->group_name) . '/' . $templateVar['mode']; break; case "user": $string = $templateVar['page'] . '/' . $templateVar['uploader']->user_id . '/' . strtolower($templateVar['uploader']->username) . '/' . $templateVar['mode']; break; case "follows": $string = $templateVar['page'] . '/chapters/' . $templateVar['list_type']; break; default: $string = ""; break; } print display_pagination_v2($paging, "chapters", $string);