issue2, first tag cloud implementation
[phpfspot.git] / templates / photo_index.tpl
1 <!-- Image Matrix -->
2 <table>
3  <tr>
4   <td class="index_header">
5    <b>Photo Index</b><br />
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  </tr>
21  <tr>
22   <td>
23    <div id="matrix">
24    <table>
25    {section name="row" loop=$rows step=1}
26     <tr>
27     {section name="col" loop=$columns step=1}
28      <td class="thumb">
29       {if $images[row][col] }
30       <div id="outter">
31       <div id="inner">
32        <a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" class="bubble">
33         <img class="thumb" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" />
34        </a>
35       </div>
36       </div>
37       {else}
38        &nbsp;
39       {/if}
40      </td>
41     {/section}
42     </tr>
43    {/section} 
44    </table>
45    </div>
46   </td>
47  </tr>
48 </table>
49 <script type="text/javascript">
50 <!--
51    bindBubbles();
52 -->
53 </script>
54 <!-- /Image Matrix -->