diff --git a/forum.php b/forum.php index 29b1f9a..4dedc71 100644 --- a/forum.php +++ b/forum.php @@ -605,15 +605,16 @@ if (isset($_GET['do']) && $isModerator == true) { } $pages_str .= ($page < $pgs - 5 ? " ..." : ""); $pages_str = ($page > 4 ? " « ... " : "") . $pages_str . (($page < ($pgs - 1) ? " »" : "")); + ?> +
+ Страницы: +
+ 4 ? $_GET['page'] > 0 ? " Первая " : "" : ""); $LastPage = (ceil($pgs) > 4 ? (ceil($pgs) - 1) != $_GET['page'] ? " Последняя " : "" : ""); $pages_str = $FirstPage . $pages_str . $LastPage; - ?> -
- Страницы: -
- query('SELECT * FROM `forum` WHERE `parent` = "?s" ORDER BY `fix` DESC, `updated` DESC LIMIT ?i,20', $_GET['conf'], ($_GET['page'] * 20));