Click on the image to enlarge.<br/><br/>
{% set i = 0 %}
{% for screenshot in screenshots %}
	{% set i = i + 1 %}
	<table>
		<tr>
			<td style="height: 120px;" >
				<a href="?subtopic=screenshots&screenshot={{ screenshot.id }}" >
					<img src="{{ screenshot.thumb }}" border="0" />
				</a>
			</td>
			<td>{{ screenshot.comment }}</td>
			{% if canEdit %}
			<td>
				<a href="?subtopic=screenshots&action=edit&id={{ screenshot.id }}" title="Edit">
					<img src="images/edit.png"/>Edit
				</a>
				<a id="delete" href="?subtopic=screenshots&action=delete&id={{ screenshot.id }}" onclick="return confirm('Are you sure?');" title="Delete">
					<img src="images/del.png"/>Delete
				</a>
				<a href="?subtopic=screenshots&action=hide&id={{ screenshot.id }}" title="{% if screenshot.hidden != 1 %}Hide{% else %}Show{% endif %}">
					<img src="images/{% if screenshot.hidden != 1 %}success{% else %}error{% endif %}.png"/>{% if screenshot.hidden != 1 %}Hide{% else %}Show{% endif %}
				</a>
				{% if i != 1 %}
				<a href="?subtopic=screenshots&action=moveup&id={{ screenshot.id }}" title="Move up">
					<img src="images/icons/arrow_up.gif"/>Move up
				</a>
				{% endif %}
				{% if i != last %}
				<a href="?subtopic=screenshots&action=movedown&id={{ screenshot.id }}" title="Move down">
					<img src="images/icons/arrow_down.gif"/>Move down
				</a>
				{% endif %}
			</td>
			{% endif %}
		</tr>
	</table>
{% endfor %}