<div id="menucontainer">

<div class="menubefore"></div>
<div class="menu">

<?php if(is_home()) { ?>
<h3>Archives</h3>
<p><?php bloginfo('description'); ?></p>
<p>
<span class="right"><?php posts_nav_link('','','Older &raquo;') ?></span>
<span class="left"><?php posts_nav_link('','&laquo; Newer','') ?></span>
</p>
<p class="clear"></p>

<?php } elseif(is_single()) { ?>
<h3>Post Information</h3>
<p>You are reading <em><?php the_title(); ?></em>. You can leave a <a href="#respond">comment</a> or <a href="<?php trackback_url(); ?>" title="Trackback to <?php the_title(); ?>">trackback</a> this post.</p>

<?php } elseif(is_404()) { ?>
<h3>Oops</h3>

<?php } elseif(is_day()) { ?>
<h3><?php the_time('F jS'); ?></h3>
<p>You are looking at posts that were written on <em><?php the_time('F jS, Y'); ?></em>.</p>
<p>
<span class="right"><?php posts_nav_link('','','Older &raquo;') ?></span>
<span class="left"><?php posts_nav_link('','&laquo; Newer','') ?></span>
</p>
<p class="clear"></p>


<?php } elseif(is_category()) { ?>
<h3><?php single_cat_title(); ?></h3>
<p>You are looking at posts in the category <em><?php single_cat_title(); ?></em>.</p>
<p>
<span class="right"><?php posts_nav_link('','','Older &raquo;') ?></span>
<span class="left"><?php posts_nav_link('','&laquo; Newer','') ?></span>
</p>
<p class="clear"></p>

<?php } elseif(is_page()) { ?>
<h3>Page Information</h3>
<p>You are reading <em><?php the_title(); ?></em>.</p>

<?php } elseif(is_month()) { ?>
<h3><?php the_time('F, Y'); ?></h3>
<p>You are looking at posts that were written in the month of <em><?php the_time('F'); ?></em> in the year <em><?php the_time('Y'); ?></em>.</p>
<p>
<span class="right"><?php posts_nav_link('','','Older &raquo;') ?></span>
<span class="left"><?php posts_nav_link('','&laquo; Newer','') ?></span>
</p>
<p class="clear"></p>

<?php } elseif(is_search()) { ?>
<h3>Search Results</h3>
<p>You searched for <em><?php echo($_GET['s']); ?></em>.</p>
<p>
<span class="right"><?php posts_nav_link('','','Older &raquo;') ?></span>
<span class="left"><?php posts_nav_link('','&laquo; Newer','') ?></span>
</p>
<p class="clear"></p>

<?php } elseif(is_author()) { ?>
<h3>Author Archives</h3>
<p>You are reading <?php the_title(); ?>. You can leave a comment or trackback this post.</p>
<p>
<span class="right"><?php posts_nav_link('','','Older &raquo;') ?></span>
<span class="left"><?php posts_nav_link('','&laquo; Newer','') ?></span>
</p>
<p class="clear"></p>

<?php } else {} ?>

</div>
<div class="menuafter"></div>


<?php if ( !function_exists('dynamic_sidebar')
        || !dynamic_sidebar() ) : ?>
        

<div class="menubefore"></div>
<div class="menu">

<?php get_calendar(); ?>

<h3>Pages</h3>
<ul>
<?php wp_list_pages('title_li='); ?> 
</ul>

<h3>Categories</h3>
<ul>
<?php wp_list_cats('sort_column=name&optioncount=1'); ?>
</ul>

</div>
<div class="menuafter"></div>


<div class="menubefore"></div>
<div class="menu">
<ul id="links">
<?php get_links_list('id'); ?> 
</ul>
</div>
<div class="menuafter"></div>

<div class="menubefore"></div>
<div class="menu">
<a href="<?php bloginfo('rss2_url'); ?>" title="Feed for <?php bloginfo('name'); ?>" class="right"><img src="<?php bloginfo(template_directory); ?>/images/feedicon24.png" alt="Feed for <?php bloginfo('name'); ?>" class="feedicon" /></a>
<h3>Site Meta</h3>
<ul>
<li><a href="http://jigsaw.w3.org/css-validator/check/referer">css</a></li>
<li><a title="xhtml 1.0 strict" href="http://validator.w3.org/check/referer">xhtml 1.0</a></li>
<li><a href="http://wordpress.org/" title="WordPress">WordPress</a></li>
<li><a href="http://vistered.scarylittlemonkey.com/" title="Download your own copy of Vistered Little">Vistered Little Theme</a></li>
</ul>

</div>
<div class="menuafter"></div>

<?php endif; ?>

</div>