Update Photo.php

This commit is contained in:
themohooks 2024-07-17 05:03:01 +03:00
parent 84b37f6ab2
commit 7b10549afc

View file

@ -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'));