This commit is contained in:
Zhuk Viatcheslav
2020-11-20 13:07:56 +03:00
parent 16087cfb4a
commit 6e4a6cbf28
2 changed files with 2 additions and 2 deletions

View File

@@ -323,7 +323,7 @@ function readtext_kuri($hash, $page = 1, $promo = 'full'){
$newcurr = strtotime($price['BeginDate']); $newcurr = strtotime($price['BeginDate']);
$full_ver_url = SITE."read/$hash/$page/$promo/pdf"; $full_ver_url = SITE."read/$hash/$page/$promo/pdf";
$content = apipage_kuri($price['price_id'], $page); $content['stuff'] = apipage_kuri($price['price_id'], $page);
foreach ($content as $news) { foreach ($content as $news) {
$author_id = $news['author_id']; $author_id = $news['author_id'];

View File

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