This commit is contained in:
Zhuk Viatcheslav
2020-11-20 13:17:21 +03:00
parent f95858ccfb
commit a7cc149c4b

View File

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