This commit is contained in:
Zhuk Viatcheslav
2020-11-20 13:11:58 +03:00
parent 8bd08b5d6b
commit 1a3f089b2d
2 changed files with 2 additions and 1 deletions

View File

@@ -325,7 +325,7 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){
$content['stuff'] = apipage_kuri($price['price_id'], $page);
foreach ($content as $news) {
foreach ($content['stuff'] as $news) {
$author_id = $news['author_id'];
}

View File

@@ -19,6 +19,7 @@
<?if (count($content) > 0):?>
<?foreach($content['stuff'] as $news):?>
<?=$content['authorname']?>
<h2 class="antitle"><?=$news['title']?></h2>
<?if ($news['img'] !== ''):?>
<figure class="anphoto">