Moderator options

This commit is contained in:
lopar 2018-11-01 02:10:03 +02:00
parent 6a57db8588
commit 4d85f92454

View File

@ -615,7 +615,8 @@ if (isset($_GET['do']) && $isModerator == true) {
<img src="i/ico/news.gif" width="16" height="16"/> Страницы:<?= $pages_str ?> <img src="i/ico/news.gif" width="16" height="16"/> Страницы:<?= $pages_str ?>
</div> </div>
<?php <?php
if (!empty($_GET['conf']) AND !empty($_GET['page'])) { if (!empty($_GET['conf'])) {
if (empty($_GET['page'])) $_GET['page'] = 0;
$data = db::c()->query('SELECT * FROM `forum` WHERE `parent` = "?s" ORDER BY `fix` DESC, `updated` DESC LIMIT ?i,20', $_GET['conf'], ($_GET['page'] * 20)); $data = db::c()->query('SELECT * FROM `forum` WHERE `parent` = "?s" ORDER BY `fix` DESC, `updated` DESC LIMIT ?i,20', $_GET['conf'], ($_GET['page'] * 20));
while ($row = $data->fetch_assoc()) { while ($row = $data->fetch_assoc()) {
$logi = ''; $logi = '';