All pastes #510208 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-25 20:05 UTC
rendered paste body
<?php get_header(); ?>

<div id="homecolumn1">

	<div class="feature">
		<h1>Feature Story</h1>
		<?php query_posts('category_name=feature&showposts=1');
		while (have_posts()) : the_post();
		$do_not_duplicate = $post->ID; ?>
		<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
		<?php the_excerpt(); ?>
		<strong><a href="<?php the_permalink() ?>">Read the full story.</a></strong>
		<?php endwhile; ?>
	</div>

	<div class="postlists">
		<h1>Science &amp; Technology</h1>
		<?php query_posts('category_name=science-tech&showposts=2');
		while (have_posts()) : the_post();
		if( $post->ID == $do_not_duplicate ) continue;
		$do_not_duplicate = $post->ID; ?>
		<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		<div class="entry">
			<?php the_excerpt(); ?>
		</div>
		<?php endwhile; ?>
		<a href="<?php bloginfo('url'); ?>/category/lounge/science-tech">More Science &amp; Technology</a> ...
	</div>

	<div class="postlists">
		<h1>Opinion</h1>
		<?php query_posts('category_name=opinion&showposts=1');
		while (have_posts()) : the_post();
		if( $post->ID == $do_not_duplicate ) continue;
		$do_not_duplicate = $post->ID; ?>
		<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		<div class="entry">
			<?php the_excerpt(); ?>
		</div>
		<?php endwhile; ?>
		<a href="<?php bloginfo('url'); ?>/category/lounge/opinion">More Opinion</a> ...
	</div>

</div>

<div id="homecolumn2">

	<div class="lists">
		<h1>Arts &amp; Entertainment</h1>
		<ul class="ae">
		<?php query_posts('category_name=art-entertainment&showposts=10');
		while (have_posts()) : the_post();
		if( $post->ID == $do_not_duplicate ) continue;
		$do_not_duplicate = $post->ID; ?>
			<li id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
		<?php endwhile; ?>
		</ul>
		<a href="<?php bloginfo('url'); ?>/category/lounge/art-entertainment">More Arts &amp; Entertainment </a> ...
	</div>

	<div class="postlists">
		<h1>Life &amp; Culture</h1>
		<?php query_posts('category_name=life-culture&showposts=2');
		while (have_posts()) : the_post();
		if( $post->ID == $do_not_duplicate ) continue;
		$do_not_duplicate = $post->ID; ?>
		<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		<div class="entry">
			<?php the_excerpt(); ?>
		</div>
		<?php endwhile; ?>
		<a href="<?php bloginfo('url'); ?>/category/lounge/life-culture">More Life &amp; Culture</a> ...
	</div>

	<div class="postlists">
		<h1>Business News</h1>
		<ul class="ae">
		<?php query_posts('category_name=business&showposts=10');
		while (have_posts()) : the_post();
		if( $post->ID == $do_not_duplicate ) continue;
		$do_not_duplicate = $post->ID; ?>
			<li id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
		<?php endwhile; ?>
		</ul>
		<a href="<?php bloginfo('url'); ?>/category/lounge/business">More Business</a> ...
	</div>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>