Moderator options
This commit is contained in:
parent
6a57db8588
commit
4d85f92454
@ -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 = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user