-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage.php
executable file
·40 lines (33 loc) · 1.79 KB
/
image.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php include ("inc-header.php"); ?>
</div> <!-- close #header -->
<div id="content" class="grid_12">
<div id="sidebar" class="grid_3 alpha">
<?php include ("inc-sidemenu.php"); ?>
</div>
<div class="image-nav grid_9 omega">
<?php if (hasPrevImage()) {
$prev_url = getPrevImageURL();
}
else {
$prev_url = getLastImageURL();
} ?>
<a class="image-prev" href="<?php echo html_encode($prev_url);?>"><</a>
<?php if (hasNextImage()) {
$next_url = getNextImageURL();
}
else {
$next_url = getFirstImageURL();
} ?>
<a class="image-next" href="<?php echo html_encode($next_url);?>">></a>
<span><?php echo printAlbumTitle(true); ?></span>
</div>
<div id="image-wrap" class="grid_9 omega">
<div id="full-image" style="display:none">
<?php if (($zpmin_finallink)=='colorbox') { ?><a class="thickbox" href="<?php echo html_encode(getUnprotectedImageURL());?>" title="<?php echo getBareImageTitle();?>"><?php printCustomSizedImage(getAnnotatedImageTitle(),620); ?></a><?php } ?>
<?php if (($zpmin_finallink)=='nolink') { printCustomSizedImage(getAnnotatedImageTitle(),620); } ?>
<?php if (($zpmin_finallink)=='standard') { ?><a href="<?php echo html_encode(getFullImageURL());?>" title="<?php echo getBareImageTitle();?>"><?php printCustomSizedImage(getAnnotatedImageTitle(),620); ?></a><?php } ?>
<?php if (($zpmin_finallink)=='standard-new') { ?><a target="_blank" href="<?php echo html_encode(getFullImageURL());?>" title="<?php echo getBareImageTitle();?>"><?php printCustomSizedImage(getAnnotatedImageTitle(),620); ?></a><?php } ?>
</div>
</div>
</div>
<?//php include ("inc-footer.php"); ?>