this ignoring stuff is not working
[phpfspot.git] / templates / photo_index.tpl
1 <!-- Image Matrix -->
2 <table>
3  <tr>
4   <td class="index_header">
5    <b>Photo Index,</b>
6    {if ! $searchfor }
7     {if $count == 1}
8      {$count} image has been found for the selected tags
9     {else}
10       {$count} images have been found for the selected tags
11     {/if}
12    {else}
13     {if $count == 1}
14      {$count} image is the result for your search about "{$searchfor}"
15     {else}
16      {$count} images are the result for your search about "{$searchfor}"
17     {/if}
18    {/if}
19   </td>
20   <td class="index_header" style="text-align: right;">
21    <img src="resources/photo_index.png" alt="photo index" />
22   </td>
23  </tr>
24  <tr>
25   <td colspan="2">
26    <div id="matrix">
27    <table>
28    {section name="row" loop=$rows step=1}
29     <tr>
30     {section name="col" loop=$columns step=1}
31      <td class="thumb">
32       {if $images[row][col] }
33       <div id="outter">
34       <div id="inner">
35        <a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" class="bubble">
36         <img class="thumb" id="{$images[row][col]}" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" alt="thumb_{$images[row][col]}" />
37        </a>
38       </div>
39       </div>
40       {else}
41        &nbsp;
42       {/if}
43      </td>
44     {/section}
45     </tr>
46    {/section} 
47    </table>
48    </div>
49   </td>
50  </tr>
51 </table>
52 <script type="text/javascript">
53 <!--
54    bindBubbles();
55 -->
56 </script>
57 <!-- /Image Matrix -->