Rev Author Line No. Line
228 kaklik 1 <h2><?php echo $sg->gallery->name(); ?></h2>
2 <h4><?php echo $sg->gallery->byArtistText(); ?></h4>
3 </div>
4  
5 <div id="sgMain-nav">
6 <?php if($sg->gallery->hasPrev()) echo $sg->gallery->prevLink()." | "; ?>
7 <?php if(!$sg->gallery->isRoot()) echo $sg->gallery->parentLink(); ?>
8 <?php if($sg->gallery->hasNext()) echo " | ".$sg->gallery->nextLink(); ?>
9 </div>
10  
11 <div id="sgContent">
12 <p class="sgTab"><?php echo $sg->galleryTab(); ?></p>
13  
14 <?php for($index = $sg->gallery->startat; $index < $sg->gallery->galleryCountSelected()+$sg->gallery->startat; $index++): ?>
15 <div class="sgGallery <?php if ($sg->config->thumb_float_gallery == 1) { echo 'sgGalleryFloat';} ?>">
16 <?php echo $sg->gallery->galleries[$index]->thumbnailLink(); ?>
17 <h3 title="View Gallery"><?php echo $sg->gallery->galleries[$index]->nameLink(); ?></h3>
18 <p><?php echo $sg->gallery->galleries[$index]->summary(); ?></p>
19 <p class="sgCount"><?php echo $sg->gallery->galleries[$index]->itemCountText(); ?></p>
20 <?php if ($sg->config->show_slideshowURL == 1) { ?>
21 <?php if ($sg->gallery->galleries[$index]->hasImages() && !$sg->gallery->galleries[$index]->hasChildGalleries()) { ?>
22 <p><a href="<?php echo $sg->gallery->galleries[$index]->images[0]->URL(); if (!strstr($sg->gallery->galleries[$index]->images[0]->URL(), '?')) { echo '?'; } else { echo '&'; } ?>action=slideshow">View Slideshow</a></p>
23 <?php } ?>
24 <?php } ?>
25 <div class="sgFoot"></div>
26 </div>
27 <?php // The number below equals the number of boxes before a new line starts. 1 will never echo the clear
28 if($index % 2) {echo '<div class="clear"></div>';} ?>
29 <?php endfor; ?>
30  
31 <p class="sgTab"><?php echo $sg->galleryTab(); ?></p>
32  
33 <div class="sgDetailsList">
34 <dl>
35 <?php foreach($sg->gallery->detailsArray() as $key => $value): ?>
36 <dt><?php echo $key; ?>:</dt><dd><?php echo $value; ?></dd>
37 <?php endforeach; ?>
38 </dl>
39 </div>
40  
41 </div>