All pastes #547632 Raw Edit

category-3.php codes

public php v1 · immutable
·published 2007-06-07 13:16 UTC
rendered paste body
<?php get_header(); ?><!-- Left column --><div class="floatLeft width73"><br></br><?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?><!-- google_ad_section_start --><!-- Start Post --><h1>LIVE<span class="style2"></span><span class="dark">Reviews</span></h1><?php $posts = get_posts( "category=3&numberposts=3" ); ?><?php if( $posts ) : ?><?php foreach( $posts as $post ) : setup_postdata( $post ); ?><!-- Start Post --><div class="post"><div class="date"><span class="month"><?php the_time('M') ?></span><span class="day"><?php the_time('d') ?></span></div><p><span class="title">" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></span></p><?php the_content("Continue reading '" . the_title('', '', false) . "'"); ?></div><!-- End Post --><?php endforeach; ?><?php endif; ?><!-- google_ad_section_end --><?php endwhile; ?><?php next_posts_link('« Previous Entries') ?><?php previous_posts_link('Next Entries »') ?><?php else : ?><h2>Not Found</h2><div class="floatLeft width73">Sorry, but you are looking for something that isn't here.</div><?php endif; ?></div><!-- Left column end --><br></br><?php get_sidebar(); ?><?php get_footer(); ?>