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/admin/view/template/extension/module/uni_gallery_list.twig
{{ header }}
{{ column_left }}
<div id="content">
	<div class="page-header">
		<div class="container-fluid">
			<div class="pull-right">
				<a href="{{ insert }}" data-toggle="tooltip" title="{{ button_insert }}" class="btn btn-primary"><i class="fa fa-plus"></i></a>
				<button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="confirm('{{ text_confirm }}') ? $('#form').submit() : false;"><i class="fa fa-trash-o"></i></button>
			</div>
			<h1>{{ heading_title }}</h1><br />
			<ul class="breadcrumb">
				{% for breadcrumb in breadcrumbs %}
					<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
				{% endfor %}
			</ul>
		</div>
	</div>
	<div class="container-fluid">
		{% if error_warning %}
			<div class="alert alert-danger"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}<button type="button" class="close" data-dismiss="alert">&times;</button></div>
		{% endif %}
		{% if success %}
			<div class="alert alert-success"><i class="fa fa-check-circle"></i> {{ success }}<button type="button" class="close" data-dismiss="alert">&times;</button></div>
		{% endif %}
		<div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title"><i class="fa fa-pencil"></i> {{ heading_title }}</h3>
			</div>
			<div class="panel-body">
				<form action="{{ delete }}" method="post" enctype="multipart/form-data" id="form">
					<div class="table-responsive">
						<table class="table table-bordered table-hover">
							<tr>
								<td width="1" style="text-align:center;"><input type="checkbox" onclick="$('input[name*=\'selected\']').attr('checked', this.checked);" /></td>
								<td class="left">
									{% if sort == 'name' %}
										<a href="{{ sort_name }}" class="{{ order }}">{{ column_name }}</a>
									{% else %}
										<a href="{{ sort_name }}">{{ column_name }}</a>
									{% endif %}
								</td>
								<td class="left">
									{% if sort == 'status' %}
										<a href="{{ sort_status }}" class="{{ order }}">{{ column_status }}</a>
									{% else %}
										<a href="{{ sort_status }}">{{ column_status }}</a>
									{% endif %}
								</td>
								<td class="text-right">{{ column_action }}</td>
							</tr>
							{% if galleries %}
								{% for gallery in galleries %}
									<tr>
										<td style="text-align: center;">
											{% if gallery.selected %}
												<input type="checkbox" name="selected[]" value="{{ gallery.gallery_id }}" checked="checked" />
											{% else %}
												<input type="checkbox" name="selected[]" value="{{ gallery.gallery_id }}" />
											{% endif %}
										</td>
										<td class="left">{{ gallery.name }}</td>
										<td class="left">{{ gallery.status }}</td>
										<td class="text-right">
											<a target="_blank" href="{{  gallery.shop_href  }}" data-toggle="tooltip" title="{{  button_shop  }}" class="btn btn-success"><i class="fa fa-eye"></i></a>
											{% for action in gallery.action %}
												<a href="{{ action.href }}" data-toggle="tooltip" title="{{ button_edit }}" class="btn btn-primary"><i class="fa fa-pencil"></i></a>
											{% endfor %}
										</td>
									</tr>
								{% endfor %}
							{% else %}
								<tr>
									<td class="center" colspan="4">{{ text_no_results }}</td>
								</tr>
							{% endif %}
						</table>
					</div>
				</form>
				<div class="pagination">{{ pagination }}</div>
			</div>
		</div>
    </div>
</div>
{{ footer }}