mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-15 03:31:10 +03:00
add admin pages
This commit is contained in:
parent
7b10549afc
commit
dc2d080cdb
1 changed files with 15 additions and 4 deletions
|
@ -27,7 +27,7 @@ use \App\Models\User;
|
||||||
<tr>
|
<tr>
|
||||||
<th width="100">Изображение</th>
|
<th width="100">Изображение</th>
|
||||||
<th width="90%">Информация</th>
|
<th width="90%">Информация</th>
|
||||||
<th></th>
|
<th>Действия</th>
|
||||||
<th class="c nw">Покинуло очередь</th>
|
<th class="c nw">Покинуло очередь</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@ -54,9 +54,20 @@ use \App\Models\User;
|
||||||
<p class="sm"><b>'.Date::zmdate($p['posted_at']).'</b><br>Автор: <a href="/author/'.$p['user_id'].'/">'.htmlspecialchars($author->i('username')).'</a></p>
|
<p class="sm"><b>'.Date::zmdate($p['posted_at']).'</b><br>Автор: <a href="/author/'.$p['user_id'].'/">'.htmlspecialchars($author->i('username')).'</a></p>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td class="c" style="padding:10px">
|
<td class="c">
|
||||||
</td>
|
';
|
||||||
<td class="cs">'.Date::zmdate($p['timeupload']).'<div style="margin-top:15px">Оценка<br><b>И+ К+</b></div>
|
if ($p['moderated'] === 0) {
|
||||||
|
echo ' <div class="cmt-submit"><input type="submit" value="Принять" id="sbmt"></div><div style="font-size: 11px;"><input style="background-color:red !important; margin-top: 15px;" type="submit" value="Отклонить" id="sbmt"></div>';
|
||||||
|
}
|
||||||
|
echo '
|
||||||
|
</td>';
|
||||||
|
if ($p['endmoderation'] === -1) {
|
||||||
|
$endm = 'На модерации';
|
||||||
|
} else {
|
||||||
|
$endm = Date::zmdate($p['endmoderation']).'<div style="margin-top:15px">Оценка<br><b>И+ К+</b></div>';
|
||||||
|
}
|
||||||
|
echo '
|
||||||
|
<td class="cs">'.$endm.'
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>';
|
</tr>';
|
||||||
|
|
Loading…
Reference in a new issue