Pastoid

Excerpts from my "Resurrection" theme

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

This paste was last updated on April 25, 2009 at 5:28 pm.

home.phpraw

<?php $theme->display('head'); ?>
 
			<div id="bd">
				<div id="yui-main" class="hfeed">
					<div class="yui-b">
						<?php Session::messages_out(); ?>
						<?php
							foreach ( $posts as $index => $post ) :
								$theme->content($post);
							endforeach;
						?>
						<?php if($show_page_selector): ?>
						<div id="page-selector">
							<strong>Page:</strong> <?php $theme->page_selector(); ?>
						</div>
						<?php endif; ?>
					</div>
				</div>
				<div id="sidebar" class="yui-b">
					<?php $theme->area('sidebar'); ?>
				</div>
			</div>
 
<?php $theme->display('foot'); ?>

Toggle wordwrap

entry.phpraw

<div id="post-<?php echo $content->id; ?>" class="entry <?php echo $content->statusname; ?>">
	<div class="entry-head">
		<h2 class="entry-title"><a href="<?php echo $content->permalink; ?>" title="<?php echo $content->title; ?>"><?php echo $content->title_out; ?></a></h2>
		<div class="entry-meta">
			<span class="chronodata published"><?php echo $content->pubdate_out; ?></span> · 
			<span class="commentslink"><a href="<?php echo $content->permalink; ?>" title="<?php _e('Comments on this post', 'resurrection'); ?>"><?php printf(_n( '%d Comment', '%d Comments', $content->comments->approved->count, 'resurrection' ), $content->comments->approved->count); ?></a></span>
			<?php if ( is_object($user) && $user->can('edit_post') ) : ?>
			 · 	<span class="entry-edit"><a href="<?php echo $content->editlink; ?>" title="<?php _e('Edit post', 'resurrection'); ?>"><?php _e('Edit', 'resurrection'); ?></a></span>
			<?php endif; ?>
			<?php if ( is_array( $content->tags ) ) : ?>
			 · 	<span class="entry-tags"><?php echo $content->tags_out; ?></span>
			<?php endif; ?>
		</div>
	</div>
	<div class="entry-content">
		<?php echo $content->content_out; ?>
	</div>
	<ol class="entry-comments">
	<?php foreach($content->comments->moderated->comments as $comment): ?>
		<li>
			<?php $theme->content($comment); ?>
		</li>
	<?php endforeach; ?>
	</ol>
	<?php $theme->comment_form($content); ?>
</div>

Toggle wordwrap

comment.phpraw

<div class="comment-meta">
<div class="comment-avatar"><img src="http://www.gravatar.com/avatar.php?gravatar_id=<?php echo md5($content->email); ?>&size=50&default=<?php Site::out_url('theme', '/images/gravatar.png'); ?>"></div>
<div class="comment-author"><?php echo $content->name; ?></div>
<div class="comment-date"><a href="<?php echo $content->post->permalink; ?>#comment-<?php echo $content->id; ?>" title="<?php _e('Link to this comment'); ?>"><?php $content->date->out('M j, Y h:ia'); ?></a></div>
<?php if ( $content->status != Comment::STATUS_APPROVED ) : ?> 
<div class="comment-moderated"><?php _e('In moderation'); ?></div>
<?php endif; ?>
</div>
<div class="comment-content"><?php echo $content->content_out; ?></div>

Toggle wordwrap

Referring DomainHits
Unknown Referer 207
pastoid.com 37
drunkenmonkey.org 2
search.live.com 1
Is this paste spam?
<Hide