All pastes #727690 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-06 08:34 UTC
rendered paste body
get_header();
} ?>

<div class="page">

	<div class="post">
	<h2 class="highlight"><?php _e('Latest Entries'); ?></h2>

<?php function post_style() {
	static $post_count;
	$post_count++;
		if ($post_count % 2) {
			echo "title-item";
		}
		else {
			echo "title-item-alt";
		}
}
?>

	<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>

	<div class="<?php post_style(); ?>" id="post-<?php the_ID(); ?>">
<span class="postdate"><?php the_time('m.d.y') ?></span> - <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
	</div>

	<?php endwhile; ?>

	<?php include (TEMPLATEPATH . '/browse.php'); ?>

	<?php else : ?>

	<div class="title-item">
<?php _e('404 Error&#58; Not Found'); ?>
	</div>

	<?php endif; ?>