<div class="comments-area" style=" margin-bottom: 30px;">
	<div class="row mb-2">
		<div class="col-sm-6 d-none d-md-block ">
			<h3>
				{{ lang['static_title'] }}</h3>
		</div>
		<!-- /.col -->
		<div class="col-sm-6">
			<ol class="breadcrumb float-sm-right">
				<li class="breadcrumb-item">
					<a href="{{ php_self }}">
						<i class="fa fa-home"></i>
					</a>
				</li>
				<li class="breadcrumb-item">
					<a href="?mod=static">{{ lang['static_title'] }}</a>
				</li>

			</ol>
		</div>
		<!-- /.col -->
	</div>
	<!-- /.row -->
</div>
<div
	class="comments-area">
	<!-- Info content -->
	<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center" class="contentNav">
		<tr>
			<td width="100%" align="right">{{ lang['per_page'] }}
				<form action="{{ php_self }}" method="get" name="options_bar"><input type="hidden" name="mod" value="static"/><input style="text-align: center" name="per_page" value="{{ per_page }}" type="text" size="3"/>
					<input type="submit" value="{{ lang['do_show'] }}" class="button"/></form>
				&nbsp;</td>
		</tr>
	</table>
	<form action="{{ php_self }}?mod=static" method="post" name="static">
		<input type="hidden" name="token" value="{{ token }}"/>
		<table border="0" cellspacing="0" cellpadding="0" class="content" align="center">
			<thead>
					<tr>
						<th width="100">{{ lang['list.date'] }}</th>
						<th width="45%">{{ lang['title'] }}</th>
						<th nowrap>{{ lang['list.altname'] }}</th>
						<th>{{ lang['list.template'] }}</th>
						<th width="50">{{ lang['state'] }}</th>
						{% if (perm.modify) %}
							<th width="20">
								<input class="check" type="checkbox" name="master_box" title="{{ lang['select_all'] }}" onclick="javascript:check_uncheck_all(static)" />
							</th>
						{% endif %}
					</tr>
				</thead>
				{% for entry in entries %}
						<tr>
							<td nowrap>{{ entry.date }}</td>
							<td nowrap>
								{% if (perm.details) %}
									<a title="ID: {{ entry.id }}" href="{{ php_self }}?mod=static&action=editForm&id={{ entry.id }}">
								{% endif %}
									{{ entry.title }}
								{% if (perm.details) %}</a>{% endif %}
								<br/>
								<small>{{ entry.url }}</small>
							</td>
							<td>{{ entry.alt_name }}</td>
							<td>{{ entry.template }}</td>
							<td>
								{{ entry.status }}
							</td>
							{% if (perm.modify) %}
								<td>
									<input name="selected[]" value="{{ entry.id }}" class="check" type="checkbox" />
								</td>
							{% endif %}
						</tr>
					{% else %}
						<tr>
							<td colspan="6"><p>- {{ lang['not_found'] }} -</p></td>
						</tr>
					{% endfor %}
			<tr>
				<td colspan="6">&nbsp;</td>
			</tr>
		</table>
		<table border="0" cellspacing="0" cellpadding="0" class="content" align="center">
			<tr>
				<td width="47%" align="left" class="contentEdit">
					<div id="submit">
						{% if (perm.modify) %}
							<select name="subaction">
								<option value="">--
									{{ lang['action'] }}
									--</option>
								<option value="do_mass_delete">{{ lang['delete'] }}</option>
								<option value="do_mass_approve">{{ lang['approve'] }}</option>
								<option value="do_mass_forbidden">{{ lang['forbidden'] }}</option>
							</select>
							<input type="submit" value="OK" class="button"/>
						{% endif %}
					</div>
				</td>
				<td width="50%" class="contentEdit" align="right">
					{% if (perm.modify) %}<input type="button" value="{{ lang['addstatic'] }}" onclick="document.location='?mod=static&action=addForm'; return false;" class="button"/>
					{% endif %}
					&nbsp;</td>
			</tr>
			<tr>
				<td colspan="2">{{ pagesss }}</td>
			</tr>
		</table>
	</form>
</div>
