" data-essay-status="<?php echo $essay['status']; ?> "> <p style="font-size:24px;"> <b style="font-size:24px;"><?php echo $essay['firstname']; ?> , </b> <b style="font-size:16px;"> <?php echo $essay['city']; ?> , <?php echo app\models\User::getYearsOld($essay['birth_date']); ?> года </b> </p> <p> <?php echo Essays::getPhoto($essay['photo_path']) ? "<img src=" . Essays::getPhoto($essay['photo_path']) . ">" : ""; ?> <?php echo $essay['text']; ?> </p> </div> <?php }
?> "> <div class="item-gallery"> <div class="content-esse"> <div class="title-esse"> <p><strong><?php echo $essay['firstname']; ?> </strong> / <?php echo $essay['city']; ?> / <?php echo app\models\User::getYearsOld($essay['birth_date']); ?> <?php echo app\components\ShellHelper::YearTextArg(app\models\User::getYearsOld($essay['birth_date'])); ?> <?php echo $essay['c_votes'] > 0 ? '<span style="float:right">Количество голосов: <span class="count_votes">' . $essay['c_votes'] . '</span></span>' : ''; ?> </p> </div> <div class="text-esse <?php echo Essays::getPhoto($essay['photo_path']) ? '' : 'without-foto'; ?> "> <div class="fleft"> <p><?php echo $essay['text']; ?> </p>