Rev Author Line No. Line
228 kaklik 1 <h2><?php echo $sg->image->name(); ?></h2>
2 <h4><?php echo $sg->image->byArtistText(); ?></h4>
3 </div>
4 <div id="sgContent">
5  
6 <div class="sgImageWrapper">
7 <div class="sgImageBox" style="width: <?php echo $sg->image->width(); ?>px; ">
8 <?php echo $sg->image->imageHTML() ?>
9 <a class="thumb" style="width: <?php echo $sg->image->width().'px;" href="'.$sg->image->parent->URL().'"><span>'.$sg->translator->_g("image|Thumbnails").'</span></a>'; ?>
10 <?php if($sg->image->hasPrev()) {echo '<a class="prev" style="height:'.$sg->image->height().'px;" href="'.$sg->image->prevURL().'"><span style="margin-top:'.floor(($sg->image->height())/2).'px;">'.$sg->translator->_g("image|Previous").'</span></a>'; } ?>
11 <?php if($sg->image->hasNext()) {echo '<a class="next" style="height:'.$sg->image->height().'px;" href="'.$sg->image->nextURL().'"><span style="margin-top:'.floor(($sg->image->height())/2).'px;">'.$sg->translator->_g("image|Next").'</span></a>'; } ?>
12 </div>
13 </div>
14  
15 <?php if ($sg->config->show_fullsizeURL == 1) { ?>
16 <p class="sgFullsize"><a href="<?php echo $sg->image->realURL(); ?>"><?php echo $sg->translator->_g("image|View Full Size Image"); ?></a> <a href="<?php echo $sg->image->realURL(); ?>" target="_new">[+]</a></p>
17 <?php } ?>
18  
19 <div class="sgDetailsList">
20 <dl>
21 <?php foreach($sg->image->detailsArray() as $key => $value): ?>
22 <dt><?php echo $key; ?>:</dt><dd><?php echo $value; ?></dd>
23 <?php endforeach; ?>
24 </dl>
25 </div>
26  
27 <div class="sgPreview">
28 <?php echo $sg->previewThumbnails(); ?>
29 <p>
30 <?php if($sg->image->hasPrev()) echo "&#8249; ".$sg->image->prevLink()." &nbsp;&nbsp; "; ?>
31 <?php echo $sg->image->parentLink(); ?>
32 <?php if($sg->image->hasNext()) echo " &nbsp;&nbsp; ".$sg->image->nextLink()." &#8250;"; ?>
33 </p>
34 </div>
35 </div>
36 <?php echo $sg->imageMap() ?>