This commit is contained in:
Zhuk Viatcheslav
2020-11-20 13:16:01 +03:00
parent 1a3f089b2d
commit 1f60b08bf5
2 changed files with 4 additions and 2 deletions

View File

@@ -19,8 +19,9 @@
<?if (count($content) > 0):?>
<?foreach($content['stuff'] as $news):?>
<?=$content['authorname']?>
<h2 class="antitle"><?=$news['title']?></h2>
<p><?=$content['authorname']?></p>, <p><?=$content['authordescript']?></p>
<?if ($news['img'] !== ''):?>
<figure class="anphoto">
<?if (in_array($news['img'], ['jpg', 'png', 'gif', 'jpeg', 'JPG'])):?>