add login in book page

This commit is contained in:
Your Name
2021-07-14 14:36:44 +03:00
parent 8b3a8277e1
commit e83b1df170
2 changed files with 5 additions and 0 deletions

View File

@@ -38,6 +38,10 @@ function product_kuri($slug){
function category_kuri($category = 'knigi', $filter = 'all', $page = 1){
if (SUBSTATUS == 1)
$category = 'gazeta';
$cats = api_cats();
$books = api_books_kuri($category, $filter, $page);

View File

@@ -19,6 +19,7 @@
<?endif?>
<?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?>
<?if ($book['offline_price'] > 0 && $book['pieces'] > 0):?>
<p class="price"><a href="<?=$link_offline?>">Бумажная за <?=$book['offline_price']?> руб.</a></p>