This commit is contained in:
Your Name
2022-12-04 16:45:00 +03:00
parent eefad1904e
commit 62fa3ea592
7 changed files with 52 additions and 13 deletions

View File

@@ -17,7 +17,7 @@
</p>
<?endif?>
<?=$book['priceanons']?>
<?if ($buy_status):?>
<?if ($buy_status): // если книжка куплена?>
<p class="price"><a href="<?=$book['links']['pdf']?>">Читать PDF</a></p>
<!-- <p><a href="<?=$book['links']['text']?>">Читать текст</a></p> -->
<?if ($book['category_id'] == 1):?>
@@ -31,7 +31,18 @@
<?if ($book['sub'] == 1):?>
<p class="price"><a href="<?=$link_subscript?>">Доступ к библиотеке за 490 руб. в год</a></p>
<p>Или <strong><a href="https://klan.argumenti.ru/login">войдите</a></strong> в личный кабинет если покупка уже оформлена</p>
<?endif?>
<?else:?>
<?if ($book['date_subscript'] !== '0000-00-00 00:00:00'):?>
<p>в подписке с <?=date('d.m.Y', strtotime($book['date_subscript']))?>
<?else:?>
<p>Скоро в подписке
<?endif?>
<?if (SUBSTATUS == 0):?>
<strong><a href="https://argumenti.ru/klan_landing">за 490 рублей в год</a></strong>
<?endif?>
</p>
<?endif?>
<?if ($book['offline_price'] > 0 && $book['pieces'] > 0):?>
<p class="price"><a href="<?=$link_offline?>">Бумажная за <?=$book['offline_price']?> руб.</a></p>
<?endif?>