mirror of
https://github.com/WerySkok/nativegallery.git
synced 2024-11-15 03:31:19 +03:00
fix logout
This commit is contained in:
parent
3357da8339
commit
cb2d7dd5b4
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ if (NGALLERY['root']['title'] != null) {
|
||||||
<li><a href="/lk/pm.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-comments"></i></span><span class="mm-label">Личные сообщения</span></a></li>
|
<li><a href="/lk/pm.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-comments"></i></span><span class="mm-label">Личные сообщения</span></a></li>
|
||||||
<li><a href="/search.php?aid=32944" class="mm-item"><span class="mm-icon"><i class="far fa-sm fa-fw fa-images"></i></span><span class="mm-label">Мои фотографии</span></a></li>
|
<li><a href="/search.php?aid=32944" class="mm-item"><span class="mm-icon"><i class="far fa-sm fa-fw fa-images"></i></span><span class="mm-label">Мои фотографии</span></a></li>
|
||||||
<li><a href="/fav.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-star"></i></span><span class="mm-label">Избранные снимки</span></a></li>
|
<li><a href="/fav.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-star"></i></span><span class="mm-label">Избранные снимки</span></a></li>
|
||||||
<li><a href="/logout.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-sign-out-alt"></i></span><span class="mm-label">Выход</span></a></li>
|
<li><a href="/logout" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-sign-out-alt"></i></span><span class="mm-label">Выход</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -21,7 +21,7 @@ use App\Services\{Router, Auth, DB, Date};
|
||||||
<h1>Результаты поиска</h1>
|
<h1>Результаты поиска</h1>
|
||||||
<div>Найдено изображений: <b>12</b> · <a href="#sf">Новый поиск</a></div><br>
|
<div>Найдено изображений: <b>12</b> · <a href="#sf">Новый поиск</a></div><br>
|
||||||
<?php
|
<?php
|
||||||
$photos = DB::query('SELECT * FROM photos WHERE user_id=:uid ORDER BY id DESC', array(':uid'=>$_GET['id']));
|
$photos = DB::query('SELECT * FROM photos WHERE user_id=:uid ORDER BY id DESC', array(':uid'=>$_GET['aid']));
|
||||||
foreach ($photos as $p) {
|
foreach ($photos as $p) {
|
||||||
echo ' <div class="p20p">
|
echo ' <div class="p20p">
|
||||||
<table>
|
<table>
|
||||||
|
|
Loading…
Reference in a new issue