2020-05-12 23:51:27 +03:00
|
|
|
|
<?if ($items['subscript'] == true):?>
|
|
|
|
|
|
<p>Вам доступен весь архив</p>
|
|
|
|
|
|
<?else:?>
|
|
|
|
|
|
<!--<p>Всего покупок: <?=$items['count']?></p>-->
|
|
|
|
|
|
<?endif?>
|
|
|
|
|
|
|
2020-05-16 14:53:38 +03:00
|
|
|
|
<div>
|
|
|
|
|
|
фильтр: <select id="year_filter" onchange="changeyear()">
|
|
|
|
|
|
<option value="all"<?=$selected?>>все</option>
|
|
|
|
|
|
<?for ($y = date('Y'); $y >= 2006; $y--):?>
|
|
|
|
|
|
<?$selected = ($filter == $y) ? ' selected' : ''?>
|
|
|
|
|
|
<option value="<?=$y?>"<?=$selected?>><?=$y?> год</option>
|
|
|
|
|
|
<?endfor?>
|
|
|
|
|
|
</select>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-12 23:51:27 +03:00
|
|
|
|
<div class="lib_container">
|
|
|
|
|
|
<?foreach ($items['books'] as $book):?>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="book_mini">
|
|
|
|
|
|
<a href="<?=$book['link']?>">
|
|
|
|
|
|
<img src="<?=$book['pic']?>">
|
2020-05-13 01:02:18 +03:00
|
|
|
|
<p class="book_mini_title"><?=$book['pricename']?></p>
|
2020-05-12 23:51:27 +03:00
|
|
|
|
</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<?endforeach?>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<?include 'blocks/pagenav.phtml'?>
|