<div class="boxer">
<h2>Photos</h2>
<p>As of [% today %] these are the photos that have scored the highest interest
from you folks.
<form method="post" action="[% cgipath %]/pages.cgi">
<input type="hidden" name="act" value="album-main" />
<input type="hidden" name="latest" value="0" />
<p>
[% ddmonths %][% ddyears %] <input type="submit" value="GO" />
<p>
<a href="[% cgipath %]/pages.cgi?act=album-main&latest=1">Latest Updates</a>
</form>
</div>
<div class="boxer">
<table class="blocker">
<tr>
<th>Hits</th>
<th>Image</th>
<th>Tagline</th>
<th>Page</th>
</tr>
[% FOREACH record = photos %]
<tr>
<td>[% record.counter %]</td>
<td><a href="[% docroot %]/photo/[% record.photoid %]"><img src="[% picpath %]/photos/[% record.thumb %]" border="0" height="50" /></a></td>
<td>[% record.tagline %]</td>
<td><a href="[% docroot %]/album/[% record.pageid %]">[% record.title %]</a> [[% record.month %]/[% record.year %]]</td>
</tr>
[% END %]
[% IF norecs %]<tr><td colspan="4" align="center">Sorry, no photos found.</td></tr>[% END %]
</table>
</div>