3 <!-- Header - displays count of matched photos and some link's -->
6 <div style="float: left;">
10 {$count} image is the result for your search about "{$searchfor}".
12 {$count} images are the result for your search about "{$searchfor}".
16 {$count} image has been found for the selected tags.
18 {$count} images have been found for the selected tags.
22 {$count} image has been found.
24 {$count} images have been found.
27 {if $from_date && $to_date }
29 Results are limited to a date within {$from_date} to {$to_date}.
32 <div style="text-align: right">
34 <a href="{$slideshow_link}" title="Slideshow" target="_blank"><img src="{$web_path}/resources/slideshow.png" /> Slideshow</a>
37 <a href="{$extern_link}" title="Use this link to return to the current view"><img src="{$web_path}/resources/link.png" /> External Link</a>
40 <a href="{$export_link}" target="_blank" title="this will open a new browser window where you can export this page in several formats"><img src="{$web_path}/resources/export.png" /> Export</a>
43 <a href="{$rss_link}" target="_blank" title="RSS feed"><img src="{$web_path}/resources/rss.png" /> RSS-Feed</a>
48 <!-- if result of a tag-search is displayed, show the selected tags
49 with some small pictures in a bar. -->
52 <div id="whiteline" /></div>
53 <div class="subheader">
54 <div style="display: table-cell; vertical-align: middle;">
61 <!-- the photo matrix itself -->
65 {section name="thumb" loop=$thumbs step=1}
69 <div class="thumb" onmouseover="setBackGrdColor(this, 'mouseover');" onmouseout="setBackGrdColor(this, 'mouseout');" style="width: { $thumb_container_width }px; height: { $thumb_container_height }px;">
70 <a href="javascript:showImage({$images[thumb]}, 'scrollup');" id="thumblink{$images[thumb]}" name="image{$img_id[thumb]}" class="thumblink" onclick="click(this);" title="{$img_title[thumb]}">
71 <img class="thumb" id="thumbimg{$images[thumb]}" width="{$img_width[thumb]}" height="{$img_height[thumb]}" />
76 <a href="{$web_path}/phpfspot_img.php?idx={$images[thumb]}&width={$preview_width}" alt="thumb_{$images[thumb]}" rel="lightbox[photoidx]" title="Preview of {$img_fullname[thumb]}"><img src="{$web_path}/resources/eyes.png" /></a>
85 <br class="clearboth" />
86 <div style="width: 100%; margin-top: 20px;">
88 <!-- the right nav arrow -->
89 <div style="float: right; width: 40px; margin-right: 0px; padding-right: 10px;">
90 { if $next_url == "" }
92 <img src="{$web_path}/resources/arrow_right_gray.png" alt="last page reached" />
95 <a href="{$next_url}" id="next_link" title="click for the next page (right cursor)">
96 <img src="{$web_path}/resources/arrow_right.png" alt="next photo" />
101 <!-- the left nav arrow -->
102 <div style="float: left; margin: 0px; padding-left: 10px; width: 40px;">
103 { if $previous_url == "" }
105 <img src="{$web_path}/resources/arrow_left_gray.png" alt="first page reached" />
108 <a href="{$previous_url}" id="prev_link" title="click for the previous page (left cursor)">
109 <img src="{$web_path}/resources/arrow_left.png" alt="previous photo" />
114 <!-- the middle page selector -->
115 <div style="text-align: center;">
116 { if $page_selector != "" }
121 <br class="clearboth" />
122 <script type="text/javascript" language="JavaScript">
124 /*** image preloading ***/
128 var image_urls = new Array();
131 {section name="thumb" loop=$thumbs step=1}
133 image_urls[{counter}] = '{$web_path}/phpfspot_img.php?idx={$images[thumb]}&width={$width}';
134 last_thumb = {$images[thumb]};
138 preloadPhotos(image_urls);
142 // if browser is to far down the page, that he can't see the photo at all
143 // scroll it up so that at least the last photo becomes visisble.
148 // check where we are with the browser
149 if (window.pageYOffset) {
150 ywnd = window.pageYOffset;
151 } else if (document.body && document.body.scrollTop) {
152 ywnd = document.body.scrollTop;
154 // check the y-pos of the last thumbnail
155 if(thumbimg = document.getElementById('thumbimg' + last_thumb)) {
156 yimg = findPos(thumbimg,'top');
158 // if the browser-window is scrolled further then the last_thumb, scroll back
160 window.scrollTo(0, yimg-100);
168 <!-- /Photo Index -->