<h4><{$album_title}></h4>
<p><{$album_desc}></p>

<{$javascript}>

<!-- Top Nav Bar -->
<table border="0" width="100%" class="outer" cellspacing="0">
  <tr>
    <td align="right" class="even"><{$breadcrumb}></td>
  </tr>
  <tr>
  	<td align="center" class="odd">Page 
	<{foreach item=nav from=$navLinks}>
		<{$nav.leftdot}>
		<{if $nav.url != "" }>
			<a href="<{$nav.url}>" title="Page <{$nav.page}>"><{$nav.page}></a>
		<{else}>
			<strong><{$nav.page}></strong>
		<{/if}>
		<{if $nav.rightdot != "" }>
			&nbsp;<{$nav.rightdot}>&nbsp;
		<{/if}>
	<{/foreach}>
  	</td>
  </tr>
</table>
<{if ($adminHasCommands) }>
<table border="0" width="100%">
  <tr>
    <td align="right"><{$adminbox}></td>
  </tr>
</table>
<{/if}>

<!-- image grid table -->

<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
<td width="50%">&nbsp;</td>
<td>

	<table width="100%" border="0" cellspacing="0" cellpadding="7px">
	<{foreach item=row from=$picturerows}>
	  <tr>
	    <{section name=i loop=$row.pictures}>
	      <td style="text-align: center; vertical-align: middle; padding: 20px 20px 0 20px;">
	        <a href="<{$row.pictures[i].link}>"><{$row.pictures[i].image}></a>
	      </td>
	    <{/section}>
	  </tr>
	  <tr>
	    <{section name=i loop=$row.captions}>
	      <td style="text-align:center; padding: 0 20px 0 20px;">
	        <b><{$row.captions[i].title}></b> <{$row.captions[i].status}><{$row.captions[i].description}><br />
	      </td>
	    <{/section}>
	  </tr>
	  <tr>
	    <{section name=i loop=$row.captions}>
	      <td style="text-align:center; padding: 0 20px 20px 20px;">
	        <table class="outer" width="150" border="0" cellspacing="1">
	          <tr>
	            <td nowrap class="head"><{$lang_lastupdate}></td><td nowrap class="even"><{$row.captions[i].last_update}></td>
	          </tr>
	          <tr>
	            <td class="head"><{$lang_capturedate}></td><td nowrap class="even"><{$row.captions[i].captureupdate}></td>
	          </tr>
	          <{if $row.captions[i].num_items != ""}>
	          <tr>
	            <td class="head"><{$lang_items}></td><td class="even"><{$row.captions[i].num_items}></td>
	          </tr>
	          <{/if}>
	          <{if $row.captions[i].num_comments != ""}>
	          <tr>
	            <td class="head"><{$lang_comments}></td><td class="even"><{$row.captions[i].num_comments}></td>
	          </tr>
	          <{/if}>
	          <{if $row.captions[i].num_views != ""}>
	          <tr>
	            <td class="head"><{$lang_views}></td><td class="even"><{$row.captions[i].num_views}></td>
	          </tr>
	          <{/if}>
	        </table>
	        <{$row.adminforms[i]}>
	      </td>
	    <{/section}>
	  </tr>
	  
	<{/foreach}>
	</table>
</td>
<td width="50%">&nbsp;</td>
</table>

<!-- bottom nav -->

<table border="0" width="100%" class="outer" cellspacing="0">
  <tr>
  	<td align="center" class="odd">Page 
	<{foreach item=nav from=$navLinks}>
		<{$nav.leftdot}>&nbsp;
		<{if $nav.url != "" }>
			<a href="<{$nav.url}>" title="Page <{$nav.page}>"><{$nav.page}></a>
		<{else}>
			<strong><{$nav.page}></strong>
		<{/if}>
		<{if $nav.rightdot != "" }>
			&nbsp;<{$nav.rightdot}>&nbsp;
		<{/if}>
	<{/foreach}>
  	</td>
  </tr>
</table>

<table border="0" width="100%">
  <tr>
    <td>
    <!-- The Gallery code version number, linked to the Gallery home page -->
    <span style="font-size: smaller;">
    Powered by <a href="http://gallery.sourceforge.net/" target="_blank">Gallery</a> v<{$gallery_version}> for XOOPS v2
    </span>
    </td>
    <td align="right"><{$adminbox}></td>
  </tr>
</table>
