<?php
/*
Template Name: Archives
*/
get_header();?>


<div class="posts index">
<div id="main" role="main">				
				<div class="pagecontent">					
					<div class="cols">
                   			
					 <div class="sidebar">
                        
                         <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar_left')) : else : ?>  
       
    <?php endif; ?> </div>	
                     
                       				
	
	<div class="inside">
                     
                        	
       <?php the_post(); ?>
		<h1 class="entry-title"><?php the_title(); ?></h1>
		
		<?php get_search_form(); ?>
		
		<h2>Archives by Month:</h2>
		<ul>
			<?php wp_get_archives('type=monthly'); ?>
		</ul>
		
		<h2>Archives by Subject:</h2>
		<ul>
			 <?php wp_list_categories(); ?>
		</ul>
    </div>
								 <div class="sidebar">
                        
                         <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar_main')) : else : ?>  
       
    <?php endif; ?> </div>	
 	
				  </div>				
				</div>				
			</div>
</div>
<?php get_footer();?>