Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $startTime = array_sum(explode(" ",microtime()));
- if (!defined('WEBPATH')) die();
- require_once ('joshuaink.php');
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <head>
- <?php zp_apply_filter('theme_head'); ?>
- <title><?php printGalleryTitle(); ?></title>
- <link rel="stylesheet" href="<?php echo $_zp_themeroot ?>/css/gallery.css" type="text/css" />
- <?php printRSSHeaderLink('Album',getAlbumTitle()); ?>
- <script type="text/javascript" src="<?php echo $_zp_themeroot ?>/js/lightbox.js"></script>
- <script type="text/javascript" src="/js/jquery-1.6.4.min.js"></script>
- <link rel="stylesheet" type="text/css" href="<?php echo $_zp_themeroot ?>/js/lightbox/themes/default/jquery.lightbox.css" />
- <!--[if IE 6]>
- <link rel="stylesheet" type="text/css" href="js/lightbox/themes/default/jquery.lightbox.ie6.css" />
- <![endif]-->
- </head>
- <body>
- <div id="wrap">
- <div id="header">
- <!-- <?php printAlbumDesc(true); ?> -->
- <!--[if gte IE 5.5]>
- <p>Internet Explorer users should <a href="#">CLICK HERE</a> to activate the image rollovers.</p>
- <![endif]-->
- </div>
- <div id="gallerytitle">
- <h2>
- <!-- <a href="<?php echo getGalleryIndexURL();?>" title="Gallery Index"><?php echo getGalleryTitle(); ?></a> | <?php echo getAlbumTitle(); ?> -->
- </h2>
- </div>
- <div id="main-content">
- <div id="banner2">
- <img src="/images/testbanner.jpg" alt="banner" title="junkwax" />
- </div>
- <div id="gallerytitle">
- <h2>
- <a href="<?php echo getGalleryIndexURL();?>" title="Gallery Index"><?php echo getGalleryTitle(); ?></a> | <?php echo getAlbumTitle(); ?>
- </h2>
- </div>
- <ul><?php if(PAGINATED) { while (next_album()){ ji_show_thumb();}} else {while (next_album()) { ji_show_thumb(); }}?></ul>
- <!-- <ul> -->
- <?php
- while (next_image()):
- $ch = THM_HEIGHT;
- $cw = THM_WIDTH;
- if (isLandscape()) {
- list($nw, $nh) = getSizeCustomImage(null, null, $ch);
- $ih = $ch;
- if ($nw < $cw) {
- list($nw, $nh) = getSizeCustomImage(null, $cw);
- $ih = $ch;
- $iw = $nw;
- } else {
- $iw = $cw;
- }
- } else {
- list($nw, $nh) = getSizeCustomImage(null, $cw);
- $iw = $cw;
- $ih = $ch;
- }
- //$cx = ($iw - $cw) / 2;
- //$cy = ($ih - $ch) / 2;
- ?>
- <li>
- <a href="<?php echo getImageLinkURL();?>"
- title="<?php echo getImageTitle();?>"><img
- src="<?php echo getCustomImageURL(null, $iw, $ih, $cw, $ch); ?>"
- alt="<?php echo getImageTitle(); ?>"
- width="<?php echo $iw; ?>" height="<?php echo $ih; ?>" />
- <span><?php
- echo 'image size: ' . getFullWidth() . 'x' . getFullHeight();
- if (getImageDesc() != '') {
- echo '<br /><br />' . getImageDesc();
- } ?></span></a>
- </li>
- <?php endwhile; ?>
- </ul>
- </div>
- <div id="fullplate-navigation">
- <ul>
- <?php
- if (hasPrevPage()) {
- echo "\t\t" . '<li id="previous"><a href="' . getPrevPageURL() .
- '" title="Previous Image"><img src="' . $_zp_themeroot .
- '/images/arrow_left.png" width="16" height="16" alt="left ' .
- 'arrow" /></a></li>' . "\n";
- } else {
- echo "\t\t" . '<li> </li>' . "\n";
- }
- if (in_context(ZP_IMAGE)) {
- echo "\t\t" . '<li><a href="' . getFullImageURL() .
- '" title="Full Size Image"><img src="' . $_zp_themeroot .
- '/images/arrow_out.png" width="16" height="16" alt="arrows ' .
- 'pointing out" /></a></li>' . "\n";
- } else {
- echo "\t\t" . '<li> </li>' . "\n";
- }
- if (hasNextPage()) {
- echo "\t\t" . '<li id="next"><a href="' . getNextPageURL() .
- '" title="Next Image"><img src="' . $_zp_themeroot .
- '/images/arrow_right.png" width="16" height="16" alt="right ' .
- 'arrow" /></a></li>' . "\n";
- } else {
- echo "\t\t" . '<li> </li>' . "\n";
- }
- ?>
- </ul>
- </div>
- </div>
- <div id="foot">
- <div id="logo">
- <a href="http://www.facebook.com/groups/168463999906089/" title="Facebook">Facebook |</a>
- <a href="mailto: [email protected]" title="Email Us">Contact Us</a>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment