36d095575297b6d652cd03591a65971febda0201
[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]}" width="{$img_width[row][col]}" height="{$img_height[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  <tr>
52   <td style="text-align: left; width: 33%;">
53   { if $previous_url == "" }
54    &nbsp;
55   { else }
56    <a href="{$previous_url}">
57     <img src="resources/arrow_left.png" alt="previous photo" />
58    </a>
59   { /if }
60   </td>
61   <td style="text-align: right; width: 33%;">
62   { if $next_url == "" }
63    &nbsp;
64   { else }
65    <a href="{$next_url}">
66     <img src="resources/arrow_right.png" alt="next photo" />
67    </a>
68   { /if}
69   </td>
70  </tr>
71 </table>
72 <script type="text/javascript">
73 <!--
74    bindBubbles();
75 -->
76 </script>
77 <!-- /Image Matrix -->