add allbooks
This commit is contained in:
22
app/views/allbooks.phtml
Normal file
22
app/views/allbooks.phtml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?if ($items['subscript'] == true):?>
|
||||
<p>Вам доступен весь архив</p>
|
||||
<?else:?>
|
||||
<!--<p>Всего покупок: <?=$items['count']?></p>-->
|
||||
<?endif?>
|
||||
|
||||
<div class="lib_container">
|
||||
|
||||
<?foreach ($items['books'] as $book):?>
|
||||
|
||||
<div class="book_mini">
|
||||
<a href="<?=$book['link']?>">
|
||||
<img src="<?=$book['pic']?>">
|
||||
<p><?=$book['pricename']?></p>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<?endforeach?>
|
||||
|
||||
</div>
|
||||
|
||||
<?include 'blocks/pagenav.phtml'?>
|
||||
Reference in New Issue
Block a user