Pastoid

<?php include 'heade

The page you are looking at now is at this URL: http://pastoid.com/ara

This paste was last updated on March 5, 2009 at 1:12 pm.

php coderaw

<?php include 'header.php'; ?>
 
<h2 class="archive-header"><?php echo $year ?> Archives</h2>
<ul class="archive-list">
	<?php foreach ( $collection_years as $collection_year ) { ?>
	<li<?php echo ( $collection_year->year == $year ) ? ' class="current" ' : ''; ?>>
		<a href="<?php URL::out( 'display_archives', "year={$collection_year->year}" ); ?>"><?php echo $collection_year->year; ?></a>
	</li>
	<?php } ?>
</ul>
 
 
<?php foreach ( $collections as $collection ) { ?>
 
<?php if ( $collection->start_month->int > time() || !$collection->posts ) continue; ?>
 
<h3>The <?php echo $collection->name; ?> Collection</h3>
<p class="meta"><?php echo $collection->description; ?></p>
 
<div class="archive-img"><img src="<?php Site::out_url('theme'); ?>/images/<?php echo $collection->image; ?>" /></div>
 
<ul class="archive-month">
	<?php if ( $collection->posts ) { foreach ( $collection->posts as $post ) { ?>
	<li>
		<a href="<?php echo $post->permalink; ?>" rel="bookmark" title="Permalink: <?php echo $post->title; ?>">
			<?php echo $post->title_out; ?>
			<span class="meta">
				<?php echo $post->pubdate_archives; ?> (<?php echo $post->comments->approved->count; ?>)
			</span>
		</a>
	</li>
	<?php } } else { echo '<li>No entries made during this period.</li>'; } ?>
</ul>
 
<hr style="clear:both;" />
 
<?php } ?>
 
<div class="post-meta" style="text-align:right; margin-top:2em;">inspired by the archives at <a href="http://www.mezzoblue.com/" title="mezzoblue: the home of Dave Shea.">mezzoblue</a></div>
 
 
<?php include 'footer.php'; ?>

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 6
search.live.com 1
Is this paste spam?
<Hide