<head>
<?php zenJavascript(); ?>
<title><?php echo getBareAlbumTitle(); ?> | <?php echo getBareGalleryTitle(); ?></title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo getOption('charset'); ?>" />
<link rel="stylesheet" href="<?php echo $_zp_themeroot; ?>/style.css" type="text/css" />
<?php require_once(SERVERPATH.'/'.ZENFOLDER.'/js/colorbox/colorbox_ie.css.php')?>
<script src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/colorbox/jquery.colorbox-min.js" type="text/javascript"></script>
<script type="text/javascript">
// <!-- <![CDATA[
$(document).ready(function(){
$(".colorbox").colorbox({inline:true, href:"#imagemetadata"});
$("a.thickbox").colorbox({maxWidth:"98%", maxHeight:"98%"});
});
// ]]> -->
</script>
<?php zenJavascript(); ?>
<?php printRSSHeaderLink('Album',getAlbumTitle()); ?>
<?php printZDRoundedCornerJS(); ?>
</head>
<body>
<div id="main">
<div id="header">
<h1><?php echo getGalleryTitle();?></h1>
<?php if (getOption('Allow_search')) {
$album_list = array($_zp_current_album->name);
printSearchForm(NULL, 'search', NULL, 'Search album', NULL, NULL, $album_list);
} ?>
</div>
<div id="content">
<div id="breadcrumb">
<h2><a>" title="<?php echo gettext('Index'); ?>"><?php echo gettext("Index"); ?></a> » <?php echo gettext("Gallery"); ?><?php printParentBreadcrumb(" » "," » "," » "); ?>[b]<?php printAlbumTitle(true);?>[/b]</h2>
</div>
<div id="content-left">
<div><p><?php printAlbumDesc(true); ?></p></div>
<?php printPageListWithNav("« ".gettext("prev"), gettext("next")." »"); ?>
<div id="albums">
<?php while (next_album()): ?>
<div class="album">
<div class="thumb">
<a>" title="<?php echo gettext('View album:'); ?> <?php getBareAlbumTitle();?>"><?php printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 95, 95, 95, 95); ?></a>
</div>
<div class="albumdesc">
<h3><a href="<?php echo
htmlspecialchars(getAlbumLinkURL());?>" title="<?php echo gettext('View album:'); ?> <?php echo getBareAlbumTitle();?>"><?php printAlbumTitle(); ?></h3>
<?php printAlbumDate(""); ?>
<p><?php echo truncate_string(getAlbumDesc(), 45); ?></p>
</div>
<p style="clear: both; "></p>
</div>
<?php endwhile; ?>
</div>
<div id="images">
<?php while (next_image(false, $firstPageImages)): ?>
<div class="image">
<div class="imagethumb"><a>" title="<?php echo getBareImageTitle();?>"><?php printImageThumb(getBareImageTitle()); ?></a></div>
</div>
<?php endwhile; ?>
<?php if(getOption("Use_thickbox")) {
$boxclass = " class=\"thickbox\"";
$tburl = getUnprotectedImageURL();
} else {
$thickboxclass = "";
$tburl = getFullImageURL();
}
if (!empty($tburl)) {
?>
<a>"<?php echo $boxclass; ?> title="<?php echo getBareImageTitle();?>">
<?php
}
printCustomSizedImageMaxSpace(getBareImageTitle(),580,580); ?>
<?php
if (!empty($tburl)) {
?>
</a>
<?php
}
</div>
well use this code album.php, but still will not work, where's my mistake I can not understand