Moderator options
This commit is contained in:
parent
71db494365
commit
eb2cb4203b
@ -365,8 +365,6 @@ if (isset($_GET['do']) && $isModerator == true) {
|
||||
<script type='text/javascript' src='js/contact.js'></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Форум</h1>
|
||||
<a href="/">← на главную</a>
|
||||
<table width="100%" border="0">
|
||||
<tr valign="top">
|
||||
<td width="200">
|
||||
@ -588,7 +586,8 @@ 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 = $pgs[0] / 20;
|
||||
$pages_str = '';
|
||||
$page = (!empty((int)$_GET['page'])) ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0;
|
||||
if (empty($_GET['page'])) $_GET['page'] = 0;
|
||||
$page = (int)$_GET['page'] ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0;
|
||||
$page = ceil($page);
|
||||
?>
|
||||
<td rowspan="2" style="padding-left: 10px">
|
||||
|
Loading…
Reference in New Issue
Block a user