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_gallery.twig
{% if images %}
	<div class="heading">{{ heading_title }}</div>
	<div class="uni-module gallery-module gallery-{{ module }}">
		<div class="uni-module__wrapper row-flex">
			{% for key, image in images %}
				<div class="gallery-module__item uni-item">
					<div class="gallery-module__image {{ image.title is empty  ? ' not-title' }}">
						<a href="{{ image.popup }}" title="{{ image.title }}" class="img_popup">
							<img src="{{ image.image }}" alt="{{ image.title }}" title="{{ image.title }}" loading="lazy" class="img-responsive" />
						</a>
					</div>
{#}
					{% if image.title %}
						{% if image.link %}
							<a href="{{ image.link }}" class="gallery-module__name">{{ image.title }}</a>
						{% else %}
							<span class="gallery-module__name">{{ image.title }}</span>
						{% endif %}
					{% endif %}
{#}
				</div>
			{% endfor %}
		</div>
	</div>
	{% if show_more %}
		<div class="gallery__show-more">
			<a href="{{ gallery_href }}" class="btn btn-lg btn-primary"><span>{{ text_show_more }}</span></a>
		</div>
	{% endif %}
	<script>
		$('.gallery-{{ module }}').uniModules({
			type:'{{ type_view is defined ? type_view : 'carousel' }}'
		});
		
		$('.gallery-{{ module }}').magnificPopup({
			type:'image',
			delegate: 'a.img_popup',
			gallery: {
				enabled:true
			}
		});
	</script>
{% endif %}