This commit is contained in:
themohooks 2024-07-12 00:45:53 +03:00
parent 40c53bf0fb
commit b01f2fa8f4
2 changed files with 5 additions and 12 deletions

View file

@ -29,16 +29,11 @@ if (NGALLERY['root']['title'] != null && NGALLERY['root']['showtitle'] === true)
<li><a href="/news.php" class="mm-item"><span class="mm-label">Новости и хронология</span></a></li> <li><a href="/news.php" class="mm-item"><span class="mm-label">Новости и хронология</span></a></li>
<li><a href="/misc/" class="mm-item"><span class="mm-label">Разные фотогалереи</span></a></li> <li><a href="/misc/" class="mm-item"><span class="mm-label">Разные фотогалереи</span></a></li>
<li><a href="/voting.php" class="mm-item"><span class="mm-label">Фотоконкурс</span></a></li> <li><a href="/voting.php" class="mm-item"><span class="mm-label">Фотоконкурс</span></a></li>
<li><a href="/maps.php" class="mm-item"><span class="mm-label">Карты и схемы</span></a></li>
<li><a href="/map/" class="mm-item"><span class="mm-label">Карта городов мира</span></a></li>
<li><a href="/articles/4289/" class="mm-item"><span class="mm-label">Неопознанные фотографии</span></a></li>
<li><a href="/news2.php" class="mm-item"><span class="mm-label">Новости сайта</span></a></li> <li><a href="/news2.php" class="mm-item"><span class="mm-label">Новости сайта</span></a></li>
<li><a href="//sttsclub.ru" class="mm-item"><span class="mm-label">СТТС.Клуб</span></a></li>
<li><a href="/links.php" class="mm-item"><span class="mm-label">Ссылки</span></a></li> <li><a href="/links.php" class="mm-item"><span class="mm-label">Ссылки</span></a></li>
</ul> </ul>
</div> </div>
</li> </li>
<li><a href="/video.php" class="mm-item"><span class="mm-label">Видеокаталог</span></a></li>
<li><a href="/comments.php" class="mm-item"><span class="mm-label">Комментарии</span></a></li> <li><a href="/comments.php" class="mm-item"><span class="mm-label">Комментарии</span></a></li>
<li><a href="#" onclick="return false" class="mm-item"><span class="mm-label">Обновления</span></a> <li><a href="#" onclick="return false" class="mm-item"><span class="mm-label">Обновления</span></a>
<div> <div>
@ -86,11 +81,9 @@ if (NGALLERY['root']['title'] != null && NGALLERY['root']['showtitle'] === true)
<li><a href="/lk/history" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-images"></i></span><span class="mm-label">Журнал</span></a></li> <li><a href="/lk/history" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-images"></i></span><span class="mm-label">Журнал</span></a></li>
<li><a href="/lk/konkurs.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-compass"></i></span><span class="mm-label">Конкурс</span></a></li> <li><a href="/lk/konkurs.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-compass"></i></span><span class="mm-label">Конкурс</span></a></li>
<li><a href="/lk/vehicles.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-folder-plus"></i></span><span class="mm-label"><b>Правка БД</b></span></a></li> <li><a href="/lk/vehicles.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-folder-plus"></i></span><span class="mm-label"><b>Правка БД</b></span></a></li>
<li><a href="/lk/video.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-film"></i></span><span class="mm-label">Мои видео</span></a></li>
<li><a href="/lk/ticket.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-question-circle"></i></span><span class="mm-label">Мои заявки</span></a></li> <li><a href="/lk/ticket.php" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-question-circle"></i></span><span class="mm-label">Мои заявки</span></a></li>
<li><a href="/lk/profile" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-cog"></i></span><span class="mm-label">Настройки профиля</span></a></li> <li><a href="/lk/profile" class="mm-item"><span class="mm-icon"><i class="fas fa-sm fa-fw fa-cog"></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?id=<?=Auth::userid()?>" 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" 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>

View file

@ -34,7 +34,7 @@ $userprofile = new User(explode('/', $_SERVER['REQUEST_URI'])[2]);
<?php if ($userprofile->content('badge') !== null) { ?> <?php if ($userprofile->content('badge') !== null) { ?>
<div style="float:left; border:solid 1px #3b7dc1; padding:6px 10px 7px; margin-bottom:13px; background-color:#0199ff44"><b><?=nl2br($userprofile->content('badge'))?></div><br> <div style="float:left; border:solid 1px #3b7dc1; padding:6px 10px 7px; margin-bottom:13px; background-color:#0199ff44"><b><?=nl2br($userprofile->content('badge'))?></div><br>
<?php } ?> <?php } ?>
<td valign="top" width="100%"> <td style="vertical-align:top; width:100%" valign="top" width="100%">
<div class="p20" style="padding-right:12px"> <div class="p20" style="padding-right:12px">
<table style="margin-bottom: 15px;"> <table style="margin-bottom: 15px;">
<colgroup><col width="170px"> <colgroup><col width="170px">
@ -175,7 +175,7 @@ $userprofile = new User(explode('/', $_SERVER['REQUEST_URI'])[2]);
<?=nl2br(json_decode($userprofile->i('content'), true)['aboutmemo']['value'])?> <?=nl2br(json_decode($userprofile->i('content'), true)['aboutmemo']['value'])?>
</div> </div>
<?php } ?> <?php } ?>
</td>
<td valign="top" align="right"> <td valign="top" align="right">
<script> <script>
@ -207,7 +207,7 @@ $userprofile = new User(explode('/', $_SERVER['REQUEST_URI'])[2]);
</div> </div>
<a href="<?= $userprofile->i('photourl') ?>" onclick="showUserPhoto(); return false;"><img onerror="this.src = '/static/img/avatar.png'; this.onerror = null;" src="<?= $userprofile->i('photourl') ?>" alt="" id="userphoto_img" class="f" style="width:auto; max-width:100px"></a> <a href="<?= $userprofile->i('photourl') ?>" onclick="showUserPhoto(); return false;"><img onerror="this.src = '/static/img/avatar.png'; this.onerror = null;" src="<?= $userprofile->i('photourl') ?>" alt="" id="userphoto_img" class="f" style="width:auto; max-width:100px"></a>
</td>
</tr> </tr>
</table> </table>
<div><b><a href="/search?id=<?=$userprofile->i('id')?>">Найти все фотографии, сделанные этим пользователем</a></b></div> <div><b><a href="/search?id=<?=$userprofile->i('id')?>">Найти все фотографии, сделанные этим пользователем</a></b></div>
@ -215,7 +215,7 @@ $userprofile = new User(explode('/', $_SERVER['REQUEST_URI'])[2]);
<center><h1>Пользователь не найден</h1></center> <center><h1>Пользователь не найден</h1></center>
<center><img src="/static/img/404.jpg"></center> <center><img src="/static/img/404.jpg"></center>
<?php } ?> <?php } ?>
</td>
</tr> </tr>
<tr> <tr>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Footer.php'); ?> <?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/Footer.php'); ?>