HEX
Server: LiteSpeed
System: Linux php-prod-3.spaceapp.ru 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: sarli3128 (1010)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/retile.ru/public_html/catalog/view/theme/unishop2/template/extension/module/uni_news.twig
{% if news %}
	{% if heading_title %}<div class="heading">{{ heading_title }}</div>{% endif %}
	<div class="uni-module news-module news-{{ module }}">
		<div class="uni-module__wrapper row-flex">
			{% for news in news %}
				<div class="news-module__item uni-item">
					{% if news.image %}
						<div class="news-module__image uni-href" data-href="{{ news.href }}">
							<img src="{{ news.image }}" loading="lazy" alt="{{ news.name }}" title="{{ news.name }}" class="img-responsive" width="{{ img_width }}" height="{{ img_height }}" />
						</div>
					{% endif %}
					<div class="news-module__description">
						<div class="news-module__category-date-viewed">
							<a class="news-module__category uni-href" data-href="{{ news.category_href }}" title="{{ news.category_name }}">{{ news.category_name }}</a>
							<span class="news-module__date"><i class="fa fa-calendar"></i>{{ news.posted }}</span>
							<span class="news-module__viewed"><i class="fa fa-eye"></i>{{ news.viewed }}</span>
						</div>
						<a class="news-module__name" href="{{ news.href }}" title="{{ news.name }}">{{ news.name }}</a>
						<div class="news-module__text">
							{{ news.description }}
							<!-- <a title="{{ text_more }}" data-toggle="tooltip" data-href="{{ news.href }}" class="news-module__more uni-href">&rarr;</a> -->
						</div>
					</div>
				</div>
			{% endfor %}
		</div>
	</div>
	<script>
		$(function() {
			$('.news-{{ module }}').uniModules({
				type:'{{ type_view is defined ? type_view : 'carousel' }}',
				items: {0:{items:1},700:{items:3},1050:{items:4},1400:{items:5}}
			});
		});
	</script>
{% endif %}