Forum cleanup

This commit is contained in:
Igor Barkov [iwork] 2018-11-01 11:45:30 +02:00
parent 15f4ed8efe
commit 133292ae9a

View File

@ -451,7 +451,7 @@ if (isset($_GET['do']) && $isModerator == true) {
echo $pages_str;
?>
<div id="leaf<?= $row['id'] ?>" style="background-color: #ddd;margin: 2px;overflow-x: auto;word-wrap: break-word;box-shadow: 1px 2px 3px #ccc;">
<div id="leaf<?= $row['id'] ?>" style="background-color: #ddd;margin: 2px;padding:5px;overflow-x: auto;word-wrap: break-word;box-shadow: 1px 2px 3px #ccc;">
<span class="topicTitle">
<img src="i/forum/icon<?= $icons ?>.gif"> <?= $row['topic'] ?>
</span>
@ -484,7 +484,7 @@ if (isset($_GET['do']) && $isModerator == true) {
if (empty($_GET['page'])) $_GET['page'] = "";
$data = db::c()->query('SELECT * FROM `forum` WHERE `parent` = "?s" ORDER BY `id` ASC LIMIT ?i,20', $_GET['topic'], ($_GET['page'] * 20));
while ($row = $data->fetch_assoc()): ?>
<div id="leaf<?= $row['id'] ?>">
<div id="leaf<?= $row['id'] ?>" style="background-color: #ddd;margin: 2px;padding:5px;overflow-x: auto;word-wrap: break-word;box-shadow: 1px 2px 3px #ccc;">
<div class="mesTopBar">
<table width="100%">
<tr>
@ -504,12 +504,13 @@ if (isset($_GET['do']) && $isModerator == true) {
<td align="right">
<a href="javascript:void(0);" class="quote_btn"
onclick="return add_cites(<?= $row['id'] ?>);" title="Цитата">
<img src="i/forum/icon13.gif">
<small>Цитировать</small>
</a>
<?php if ($isAdmin): ?>
<a href="javascript:void(0);" class="contact"
id="<?= $row['id'] ?>"><img
src="i/forum/edit.png"></a>
id="<?= $row['id'] ?>">
<small>Редактировать</small>
</a>
<?php endif; ?>
</td>
</tr>
@ -520,11 +521,9 @@ if (isset($_GET['do']) && $isModerator == true) {
<?php
endwhile;
if ($pgs > 1) {
echo "<img src=i/ico/news.gif width=\"16\" height=\"16\" /> Страницы : ";
echo "<img src=i/ico/news.gif> Страницы: ";
}
echo $pages_str;
$closed = '';
$closepal = '';
if ($closed == 1) {
echo "<br /><div align=center>" . $closepal . "</div><br /><br />";