<?php require ('customfunctions.php'); $themeResult = getTheme($zenCSS, $themeColor, 'effervescence');normalizeColumns(3, 5);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<title><?php printGalleryTitle(); ?> | Archive</title>
	<link rel="stylesheet" href="<?php echo  $zenCSS ?>" type="text/css" />
	<script type="text/javascript" src="<?php echo  $_zp_themeroot ?>/scripts/bluranchors.js"></script>
	<?php 
  	  zenJavascript(); 
	?>
</head>

<body onload="blurAnchors()">

<!-- Wrap Header -->
<div id="header">
  <div id="gallerytitle">

<!-- Logo -->
  <div id="logo">
    <?php
	echo '<h1><a href="' . getMainSiteURL() . '" title="Visit ' . getMainSiteName() . '">' . $_SERVER['HTTP_HOST'] . '</a></h1>';
    ?>
    </div>
  </div>

<!-- Crumb Trail Navigation -->

<div id="wrapnav">
  <div id="navbar">
    <span><a href="<?php echo getGalleryIndexURL();?>" title="Albums Index"><?php echo getGalleryTitle();?></a>
	</span>  | Archive View
  </div>
</div>

<!-- Random Image -->
<?php printHeadingImage(getRandomImages()); ?>
	
</div>

<!-- Wrap Main Body -->
<div id="content">
<div id="main">

<!-- Date List -->
<div id="archive"><p>Images by Date</p><?php printAllDates(); ?></div>
<div id="tag_cloud"><p>Popular Tags</p><?php printAllTagsAs('cloud', 'tags'); ?></div>
</div>
</div>

<!-- Footer -->
<div class="footlinks">
<?php 
if (!$themeResult) { 
  /* display missing css file error */
  echo '<div class="errorbox" id="message">'; 
  echo  "<h2>" . "Could not find the style sheet '" . getOption('Theme_colors') . ".css'" . "</h2>";  
  echo '</div>'; 
} ?>

<small>
<?php printThemeInfo(); ?>
</small>
<a href="http://www.zenphoto.org" title="A simpler web photo album">Powered by 
<font face="Arial Narrow" size="4">zen</font><span style="font-variant: small-caps; font-weight: 700"><font face="Arial Black" size="1">photo</font></span></a><br/>
<?php printRSSLink('Gallery','', 'Gallery RSS', ''); ?>
</div>

<?php printAdminToolbox(); ?>

</body>
</html>