	{*
 * $Revision: 1.11 $
 * If you want to customize this file, do not edit it directly since future upgrades
 * may overwrite it.  Instead, copy it into a new directory called "local" and edit that
 * version.  Gallery will look for that file first and use it if it exists.
 *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    {* Let Gallery print out anything it wants to put into the <head> element *}
    {g->head}

    {* If Gallery doesn't provide a header, we use the album/photo title (or filename) *}
    {if empty($head.title)}
      <title>{$theme.item.title|default:$theme.item.pathComponent|markup:strip}</title>
    {/if}

    {* Include this theme's style sheet *}
    <link rel="stylesheet" type="text/css" href="{g->theme url="theme.css"}"/>
    <link rel="stylesheet" type="text/css" href="../inc/css.css"/>
  </head>
 
<body class="gallery">
<ul id="nav">
  <li><a href="../index.php">Home</a></li>
  <li><a href="../store/catalog/">Store</a></li>
  <li id="current"><a href="../gallery/">Gallery</a></li>
  <li><a href="../news/">News</a></li>
  <li><a href="../about.php">About</a></li>
</ul>
    <table width="960px" align="center">
      <tr>
        <td height="224"><div {g->mainDivAttributes}&gt;
          {*
          * Some module views (eg slideshow) want the full screen.  So for those, we
          * don't draw a header, footer, navbar, etc.  Those views are responsible for
          * drawing everything.
          *}
          {if $theme.useFullScreen}
          {include file=&quot;gallery:`$theme.moduleTemplate`&quot; l10Domain=$theme.moduleL10Domain}
          {else}
          <div id="gsHeader" align="center"> <img src="{g-&gt;url href="images="images"/galleryLogo_sm.gif"}" alt="stuff"/> </div>
          <div id="gsNavBar" class="gcBorder1">
        <div class="gbSystemLinks"> {g-&gt;block type=&quot;core.SystemLinks&quot;
          order=&quot;core.SiteAdmin core.YourAccount core.Login core.Logout&quot;
          othersAt=4} </div>
            <div class="gbBreadCrumb"> {g-&gt;block type=&quot;core.BreadCrumb&quot;} </div>
          </div>
          {* Include the appropriate content type for the page we want to draw. *}
          {if $theme.pageType == 'album'}
          {g-&gt;theme include=&quot;album.tpl&quot;}
          {elseif $theme.pageType == 'photo'}
          {g-&gt;theme include=&quot;photo.tpl&quot;}
          {elseif $theme.pageType == 'admin'}
          {g-&gt;theme include=&quot;admin.tpl&quot;}
          {elseif $theme.pageType == 'module'}
          {g-&gt;theme include=&quot;module.tpl&quot;}
          {elseif $theme.pageType == 'progressbar'}
          {g-&gt;theme include=&quot;progressbar.tpl&quot;}
          {/if}
          <div id="gsFooter" align="center"> {g-&gt;logoButton type=&quot;validation&quot;}
            {g-&gt;logoButton type=&quot;gallery2&quot;}
            {g-&gt;logoButton type=&quot;gallery2-version&quot;}
            {g-&gt;logoButton type=&quot;donate&quot;} </div>
          <p>{/if}  {* end of full screen check *} </p>
          <p>{*
     * Give Gallery a chance to output any cleanup code, like javascript that
     * needs to be run at the end of the  tag.  If you take this out, some
     * code won't work properly.
     *}
    {g-&gt;trailer}

    {* Put any debugging output here, if debugging is enabled *}
    {g-&gt;debug} </p>
        </div></td>
      </tr>
    </table>
</body>
</html>