видать кеш очистился и стало 0 тумб
scj/tube/index.php?force_template=viewed_in_country&last_viewed_cache_id=last_items_SE
если же зайти без страны
/scj/tube/index.php?force_template=viewed_in_country
то выводит Х тумб
Вопрос, почему если на стране нету тумб он вывел просто белый экран а не Х рандомных как в примере без страны?
Code: Select all
<thumb num=1-10 limit_by_gallery_id=true gallery_id=CACHE_GET_last_viewed_cache_id order=row zero_items_to_404="off">
<li class="swiper-slide">
<article>
<a class="ths-preview-link" href="/video/<!--GALLERY_ID-->/<!--SAFE_ALT-->/" target="_blank">
<figure>
<img src="<!--THUMB_URL-->" class="lazy" width="320" height="180">
</figure>
</a>
<h3><a href="/video/<!--GALLERY_ID-->/<!--SAFE_ALT-->/"><!--ALT--></a></h3>
<footer>
<span class="likes"><?=min(round(100*"<!--RATING_2-->"/("<!--RATING_2-->"+"<!--RATING_1-->"+0.001)), 100)?>%</span>
<span class="views"><?=number_format("<!--SHOWS-->", 0, '', ' ');?></span>
<span class="durat"><!--DURATION--></span>
</footer>
</article>
</li>
</thumb>