<h2 class="section_name">{{ lang.nsm['list.news'] }}: [ <a href="{{ addURL }}">{{ lang.nsm['add.news'] }}</a> ]</h2>
<article class="box_content">
	<div class="box_in">

			<table class="nsm">
				<tr align="center">
					<td width="40">{{ lang.nsm['status.news'] }}</td>
					<td width="60">{{ lang.nsm['data.news.published'] }}</td>
					<td>&nbsp;</td>
					<td>{{ lang.nsm['add.news.title'] }}</td>
				</tr>
				{% for entry in entries %}
					<tr>
						<td width="25" align="center">
							{% if (entry.state == 1) %}
								<img src="{{ skins_url }}/images/yes.png" alt="{{ lang.nsm['state.published'] }}" />
							{% elseif (entry.state == 0) %}
								<img src="{{ skins_url }}/images/no.png" alt="{{ lang.nsm['state.unpublished'] }}" />
							{% else %}
								<img src="{{ skins_url }}/images/no_plug.png" alt="{{ lang.nsm['state.draft'] }}" />
							{% endif %}
						</td>
						<td width="60">{% if entry.flags.canEdit %}<a href="{{ entry.editlink }}">{% endif %}{{ entry.itemdate }}{% if entry.flags.canView %}</a>{% endif %}</td>
						<td width="48" cellspacing=0 cellpadding=0 align="center">
							{% if entry.flags.mainpage %}<img src="{{ skins_url }}/images/mainpage.png" border="0" width="16" height="16" title="{{ lang.nsm['entry.main'] }}"/> {% endif %}
							{% if (entry.attach_count > 0) %}<img src="{{ skins_url }}/images/attach.png" border="0" width="16" height="16" title="{{ lang.nsm['entry.files'] }}: {{ entry.attach_count }}"/> {% endif %}
							{% if (entry.images_count > 0) %}<img src="{{ skins_url }}/images/img_group.png" border="0" width="16" height="16" title="{{ lang.nsm['entry.img'] }}: {{ entry.images_count }}"/> {% endif %}
						</td>
						<td>
							{% if entry.flags.status %}<a href="{{ entry.link }}">{% endif %}{{ entry.title }}{% if entry.flags.status %}</a>{% endif %}
						</td>
					</tr>
				{% else %}
					<tr>
						<td colspan="4">{{ lang.nsm['err.news_not'] }}</td>
					</tr>
				{% endfor %}
			</table>

	</div>
</article>
{% if pagination %}
	<div class="navigation ignore-select" style="padding: 4% 8%;">
		<div class="pages">
			{{ pagination }}
		</div>
	</div>
{% endif %}