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