Update Photo.php

This commit is contained in:
themohooks 2024-10-08 21:48:52 +03:00
parent 9b793811c5
commit 8fc843ed32

View file

@ -371,7 +371,10 @@ if ($photo->i('id') !== null) {
} }
?> ?>
<div class="p0" id="pp-item-comments"> <div class="p0" id="pp-item-comments">
<?php
if ($commcount > 0) { ?>
<h4 class="pp-item-header">Комментарии<span id="commcount" style="font-weight:normal"> <span style="color:#aaa">&middot;</span> <?= $commcount ?></span></h4> <h4 class="pp-item-header">Комментарии<span id="commcount" style="font-weight:normal"> <span style="color:#aaa">&middot;</span> <?= $commcount ?></span></h4>
<?php } ?>
<div id="posts"> <div id="posts">
<?php <?php
$number = 1; $number = 1;