Location: PHPKode > projects > Exhibitae > exhibitae-1.1-ffd/Exhibitae/includes/templates/default/index.tpl
{strip}
{if $newest}
<p class="gallery_index_header_newest">{#l_index_newest_title#}</p>
{section name=i loop=$newest}
<table cellpadding="0" cellspacing="0" class="gallery_index_table">
 <tr>
  {section name=o loop=$newest[i]}
  <td{if $newest[i][o.index_prev]} class="gallery_index_image_not_first"{/if}>
   <a href="{$newest[i][o].link}" title="{if #c_lightbox_imagelist#}{$newest[i][o].header}{else}{$newest[i][o].title}{/if}"{if #c_lightbox_imagelist#} rel="lightbox[newest]"{/if}>
    <img src="{$newest[i][o].image}" width="{$newest[i][o].width}" height="{$newest[i][o].height}" class="gallery_index_image" alt="{$newest[i][o].title}">
   </a>
  </td>
  {/section}
 </tr>
</table>
{/section}
{/if}
{if $popular}
<p class="gallery_index_header_popular">{#l_index_popular_title#}</p>
{section name=i loop=$popular}
<table cellpadding="0" cellspacing="0" class="gallery_index_table">
 <tr>
  {section name=o loop=$popular[i]}
  <td{if $popular[i][o.index_prev]} class="gallery_index_image_not_first"{/if}>
   <a href="{$popular[i][o].link}" title="{if #c_lightbox_imagelist#}{$popular[i][o].header}{else}{$popular[i][o].title}{/if}"{if #c_lightbox_imagelist#} rel="lightbox[popular]"{/if}>
    <img src="{$popular[i][o].image}" width="{$popular[i][o].width}" height="{$popular[i][o].height}" class="gallery_index_image" alt="{$popular[i][o].title}">
   </a>
  </td>
  {/section}
 </tr>
</table>
{/section}
{/if}
{if $random}
<p class="gallery_index_header_random">{#l_index_random_title#}</p>
{section name=i loop=$random}
<table cellpadding="0" cellspacing="0" class="gallery_index_table">
 <tr>
  {section name=o loop=$random[i]}
  <td{if $newest[i][o.index_prev]} class="gallery_index_image_not_first"{/if}>
   <a href="{$random[i][o].link}" title="{if #c_lightbox_imagelist#}{$random[i][o].header}{else}{$random[i][o].title}{/if}"{if #c_lightbox_imagelist#} rel="lightbox[random]"{/if}>
    <img src="{$random[i][o].image}" width="{$random[i][o].width}" height="{$random[i][o].height}" class="gallery_index_image" alt="{$random[i][o].title}">
   </a>
  </td>
  {/section}
 </tr>
</table>
{/section}
{/if}
{if !$newest && !$popular && !$random}
<div id="error_empty">
 {#l_error_empty_no_images#}
</div>
{/if}
{/strip}
Return current item: Exhibitae