<?php
/*
Template Name: Archive
*/
?>

<?php get_header(); ?>

<div id="wrap">

<div id="content">

	<div id="contentleft">
    
        <div class="postarea">
    
				<h1>Site Archives</h1>
				
				<div class="archive">
		
					<h2>By Page:</h2>
						<ul>
							<?php wp_list_pages('title_li='); ?>
						</ul>
				
					<h2>By Month:</h2>
						<ul>
							<?php wp_get_archives('type=monthly'); ?>
						</ul>
							
					<h2>By Category:</h2>
						<ul>
							<?php wp_list_categories('sort_column=name&title_li='); ?>
						</ul>
		
				</div>
				
				<div class="archive">
					
					<h2>By Post:</h2>
						<ul>
							<?php wp_get_archives('type=postbypost&limit=100'); ?> 
						</ul>
				</div>
			            
        </div>
		
	</div>
			
<?php include(TEMPLATEPATH."/sidebar.php");?>

</div>

<!-- The main column ends  -->

<?php get_footer(); ?>