fix place on photo

This commit is contained in:
themohooks 2025-02-12 16:35:08 +03:00
parent 69706f7df6
commit 3078238206
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ class SearchController
{
public static function i()
{
Page::set('Search');
Page::set('Search/Index');
}

View file

@ -172,8 +172,8 @@ if ($photo->i('id') !== null) {
<table class="pwrite">
<tr>
<?php
if ($photo->i('postbody') != null) { ?>
<td class="nw" valign="top" align="right"><b><?= htmlspecialchars($photo->i('postbody')) ?></b></td>
if ($photo->i('place') != null) { ?>
<td class="nw" valign="top" align="right"><b><?= htmlspecialchars($photo->i('place')) ?></b></td>
<?php } ?>
</tr>
@ -197,7 +197,7 @@ if ($photo->i('id') !== null) {
<?php } ?>
<div>
<?php
if ($photo->content('comment') != null) { ?>
if ($photo->content('comment') != null) { ?>
<div style="padding-top:8px"><?= htmlspecialchars($photo->content('comment')) ?></div>
<?php } ?>
</div><br>