All pastes #629058 Raw Edit

moshu

public php v1 · immutable
·published 2007-07-21 22:32 UTC
rendered paste body
<?php get_header(); ?><div id="primary-content">		<h2 class="pagetitle">Archive for<?php single_cat_title(); ?> Category</h2>	<?php /* Start the loop */ if (have_posts()) { while (have_posts()) { the_post(); ?>		<?php if (is_home() || is_archive() || is_search() || is_single() || is_page() 	|| (function_exists('is_tag') && is_tag()) ) { ?>		<div id="post-<?php the_ID(); ?>" class="entry">			<h2 class="entry-header"><a href="<?php the_permalink() ?>" rel="bookmark" title='Permanent Link to "<?php strip_tags(the_title()); ?>"'>				<?php the_title(); ?>				</a> </h2>			<h3 class="date-header">				<?php the_time('F jS, Y') ?>				by				<?php the_author() ?>			</h3>			<!--				<?php trackback_rdf(); ?>				-->			<?php if (is_archive() || (function_exists('is_tag') && is_tag())) { ?>			<?php if(function_exists(UTW_ShowTagsForCurrentPost)) { ?>			<small><?php _e('Tags:','unnamed'); ?><?php UTW_ShowTagsForCurrentPost("commalist") ?>.</small>			<?php } ?>			<p class="entry-footer">						&nbsp;&nbsp;				<?php comments_popup_link('<span class="metacmt">'.__('Add a comment').'</span>', '<span class="metacmt">1&nbsp;'.__('Comment').'</span>', '<span class="metacmt">%&nbsp;'.__('Comments').'</span>', '', '<span class="metacmt">'.__('Closed').'</span>'); ?>			</p>			<?php } ?>		</div>		<?php  }	} /* End The Loop */ ?>				<?php /* If there is nothing to loop */  } else { $notfound = '1'; ?>		<h2 class="center">Not Found</h2>		<div class="entry">			<p>Oh no! You're looking for something which just isn't here! Fear not however,				errors are to be expected, and luckily there are tools on the sidebar for				you to use in your search for what you need.</p>		</div>		<?php /* End Loop Init  */ } ?>				</div><?php get_sidebar(); ?><?php get_footer(); ?>