HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/martyknows.com/wp-content/themes/andreas09/archive.php
<?php get_header(); ?>
<?php get_sidebar(); ?>
<?php include (TEMPLATEPATH . '/right-sidebar.php'); ?>

<div id="content">
	<?php if (have_posts()) : ?>
	<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
		<?php /* If this is a category archive */ if (is_category()) { ?>
      		<h1 class="pagetitle"><?php printf(__('Archive for the &#8216;%s&#8217; Category', 'andreas09'), single_cat_title('', false)); ?></h1>
      		<p><strong><em><?php echo category_description(); ?></em></strong></p>
       	  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
      		<h1 class="pagetitle"><?php printf(__('Posts Tagged &#8216;%s&#8217;', 'andreas09'), single_tag_title('', false) ); ?></h1>
       	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
      		<h1 class="pagetitle"><?php printf(_c('Archive for %s|Daily archive page', 'andreas09'), get_the_time(__('F jS, Y', 'andreas09'))); ?></h1>
       	  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
      		<h1 class="pagetitle"><?php printf(_c('Archive for %s|Monthly archive page', 'andreas09'), get_the_time(__('F, Y', 'andreas09'))); ?></h1>
       	  <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
      		<h1 class="pagetitle"><?php printf(_c('Archive for %s|Yearly archive page', 'andreas09'), get_the_time(__('Y', 'andreas09'))); ?></h1>
      	  <?php /* If this is an author archive */ } elseif (is_author()) { ?>
      		<h1 class="pagetitle"><?php _e('Author Archive', 'andreas09'); ?></h1>
       	  <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
      		<h1 class="pagetitle"><?php _e('Blog Archives', 'andreas09'); ?></h1>
       	  <?php } ?>

	<div class="navigation">
		<div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries','andreas09')) ?></div>
		<div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;','andreas09')) ?></div>
	</div>

	<?php while (have_posts()) : the_post(); ?>
		<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
			<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( 'Permanent link to %s' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_title(); ?></a></h2>

			<p class="date"><?php _e('Posted by','andreas09') ?> <?php if (get_the_author_url()) { ?><a href="<?php the_author_url(); ?>"><?php the_author(); ?></a><?php } else { the_author(); } ?> <?php _e('on','andreas09') ?> <?php the_time(get_option("date_format")); ?></p>

				<div class="entry">
					<?php the_content(__('Read the rest of this entry &raquo;','andreas09')); ?>
				</div>

			<p class="category"><?php _e('Posted in','andreas09'); ?> <?php the_category(', ') ?> | <?php the_tags( __( 'Tagged' ) . ': ', ', ', ' | '); ?> <?php edit_post_link(__('Edit','andreas09'), '', ' | '); ?>  <?php comments_popup_link(__('Leave a Comment &#187;','andreas09'), __('1 Comment &#187;','andreas09'), __('% Comments &#187;','andreas09')); ?></p>
		</div>

	<?php endwhile; ?>

	<div class="bottomnavigation">
		<div class="alignleft"><?php next_posts_link(__('&laquo; Previous Entries','andreas09')) ?></div>
		<div class="alignright"><?php previous_posts_link(__('Next Entries &raquo;','andreas09')) ?></div>
	</div>

	<?php else : ?>
	<div id="page">
		<h1 class="center"><?php _e('Not Found','andreas09'); ?></h1>
		<p class="center"><?php _e('Sorry, but you are looking for something that isn\'t here.','andreas09'); ?></p>
		<p class="center"><?php _e('Perhaps you would like to try a search or select from one of the links on the menu.','andreas09'); ?></p>
	</div>
	<?php endif; ?>

</div>

<?php get_footer(); ?>