mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-15 03:31:10 +03:00
Update Photo.php
This commit is contained in:
parent
84b37f6ab2
commit
7b10549afc
1 changed files with 1 additions and 2 deletions
|
@ -149,7 +149,6 @@ if ($photo->i('id') !== null) {
|
||||||
if ($photo->i('postbody') != null) { ?>
|
if ($photo->i('postbody') != null) { ?>
|
||||||
<td class="nw" valign="top" align="right"><b><?= htmlspecialchars($photo->i('postbody')) ?></b></td>
|
<td class="nw" valign="top" align="right"><b><?= htmlspecialchars($photo->i('postbody')) ?></b></td>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<td class="nw" align="left" valign="top"></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
@ -162,7 +161,7 @@ if ($photo->i('id') !== null) {
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div><br>
|
</div><br>
|
||||||
<?php
|
<?php
|
||||||
if ($photo->i('posted_at') === 943909200) {
|
if ($photo->i('posted_at') === 943909200 || Date::zmdate($photo->i('posted_at')) === '30 ноября 1999 в 00:00') {
|
||||||
$date = 'не указана';
|
$date = 'не указана';
|
||||||
} else {
|
} else {
|
||||||
$date = Date::zmdate($photo->i('posted_at'));
|
$date = Date::zmdate($photo->i('posted_at'));
|
||||||
|
|
Loading…
Reference in a new issue