<{if $show_search == true}>
<table width="100%" border="0" cellspacing="0">
  <tr>
    <form action="search.php" method="post"><td valign="middle" align="right">Search:<input style="font-size=10px;" type="text" name="searchstring" value="" size="25" /></td></form>
  </tr>
</table>
<{/if}>


<table width="100%" class="outer" cellspacing="0">
  <tr>
    <td class="odd"><{$navbar}></td>
  </tr>
<{if ($adminHasCommands) }>
  <tr>
    <td class="even"><{$adminbox}></td>
  </tr>
<{/if}>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<{foreach item=album from=$albums}>
<tr><td style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="7">
  <tr>
    <td style="padding 10px;" width="<{$album.image.width}>" height="<{$album.image.height}>"><a href="<{$album.image.link}>"><{$album.image.image}></a></td>
  </tr>
</table>
</td><td>
<table width="100%" border="0" cellpadding="0" cellspacing="7">
  <tr>
    <td style="padding 10px;">
      <div style="font-size: medium; font-weight: bold; padding: 5px;"><{$album.editlink}></div>
      <table class="outer">
        <tr>
          <td nowrap class="head"><{$lang_description}></td>
          <td width="600px" class="even"><{$album.album_desc}></td>
        </tr>
        <tr>
          <td nowrap class="head"><{$lang_owner}></td><td class="even"><a href="<{$xoops_url}>/userinfo.php?uid=<{$album.owner_id}>"><{$album.owner_name}></a></td>
        </tr>
        <{if $album.adminlink == true}>
        <tr><td nowrap class="head"><{$lang_administration}></td><td class="even"><{$album.adminlink}></td></tr>
        <{/if}>
        <tr>
          <td nowrap class="head"><{$lang_lastupdate}></td><td class="even"><{$album.last_modified}></td>
        </tr>
        <tr>
          <td nowrap class="head"><{$lang_items}></td><td class="even"><{$album.num_photos}></td>
        </tr>
        <{if $album.num_views != ""}>
        <tr>
          <td nowrap class="head"><{$lang_views}></td><td class="even"><{$album.num_views}> (<{$album.num_views_since}>) <{$album.num_views_resetlink}></td>
        </tr>
        <{/if}>
        <tr>
          <td nowrap class="head"><{$lang_subalbums}></td><td class="even"><{$album.albumtree}></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</td></tr>
<{/foreach}>
</table>

<table width="100%" class="outer" cellspacing="0">
  <tr>
    <td class="odd"><{$navbar}></td>
  </tr>
  <tr>
    <td class="even"><{$adminbox}></td>
  </tr>
</table>
