All pastes #727688 Raw Edit

Someone

public php v1 · immutable
·published 2007-10-06 08:26 UTC
rendered paste body
<?php if(is_home()) {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; ?>	</div></div><?php if(is_home()) {get_footer();} ?>