
<div class="generic-page-wrapper">

	<h3>{{$title}}</h3>

	{{if $can_post}}
	<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
	{{/if}}

	<div id="photo-album-contents" class="photos">
	{{foreach $photos as $photo}}
		{{include file="photo_top.tpl"}}
	{{/foreach}}
	</div>
	<div class="photos-end"></div>

	{{$paginate}}
</div>

<script type="text/javascript">$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>
