<div id="footer">
	<% showCopyrightText = copyrightText != null && copyrightText.length() > 0;
	showBottomContainer = showLastUpdated || (showImageCount && totalThumbnailCount > 0) || showCopyrightText || (excludeBacklinks != null && excludeBacklinks != void && !excludeBacklinks);
	firstFooterItem = false; %>
	<ja:if test="${showBottomContainer}">
		<p id="bottom_container">
			<ja:if test="${showLastUpdated}">$text.footer.lastUpdated: ${currentDate}<% firstFooterItem = true; %></ja:if><ja:if test="<%= showImageCount && totalThumbnailCount > 0 %>"><ja:if test="${firstFooterItem}"> | </ja:if><ja:else><% firstFooterItem = true; %></ja:else></a>$text.footer.images: <%= totalThumbnailCount %></ja:if><ja:if test="${showCopyrightText}"><ja:if test="${firstFooterItem}"> | </ja:if><ja:else><% firstFooterItem = true; %></ja:else>$text.footer.copyright: ${copyrightText}</ja:if><ja:if not test="${excludeBacklinks}"><ja:if test="${firstFooterItem}"> | </ja:if>$text.footer.createdWith <a href="${generatorUrl}" target="_blank" title="${generator}">${generator}</a> $text.footer.and <a href="http://jalbum.net/skins/skin/${skin}" title="${skin}">${skin}</a>.<br />Create <a href="${generatorUrl}" target="_blank">web photo albums</a> and <a target="_blank" href="${generatorUrl}/photo-books">photo books</a> with jAlbum.</ja:if>
		</p>
	</ja:if>
	<ja:if test="<%= customFooter != null && customFooter.length() > 0 %>">
		${customFooter}
	</ja:if>
</div>
