Moderator options
This commit is contained in:
parent
4d85f92454
commit
71db494365
@ -588,7 +588,7 @@ if (isset($_GET['do']) && $isModerator == true) {
|
|||||||
$pgs = db::c()->query('SELECT count(`id`) FROM `forum` WHERE `parent` = ?i ORDER BY `fix` DESC, `updated` DESC', $_GET['conf'])->fetch_row();
|
$pgs = db::c()->query('SELECT count(`id`) FROM `forum` WHERE `parent` = ?i ORDER BY `fix` DESC, `updated` DESC', $_GET['conf'])->fetch_row();
|
||||||
$pgs = $pgs[0] / 20;
|
$pgs = $pgs[0] / 20;
|
||||||
$pages_str = '';
|
$pages_str = '';
|
||||||
$page = !empty((int)$_GET['page']) ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0;
|
$page = (!empty((int)$_GET['page'])) ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0;
|
||||||
$page = ceil($page);
|
$page = ceil($page);
|
||||||
?>
|
?>
|
||||||
<td rowspan="2" style="padding-left: 10px">
|
<td rowspan="2" style="padding-left: 10px">
|
||||||
|
Loading…
Reference in New Issue
Block a user