<div class="left_side">
			
				<?php if ( !function_exists('dynamic_sidebar')
        || !dynamic_sidebar() ) : ?>
		
		<?php if (function_exists('wp_theme_switcher')) { ?>

<h2>Themes</h2>

<?php wp_theme_switcher('dropdown'); ?>

<?php } ?>

					<!-- START PAGES LIST -->
	<div class="nav">
<h2><?php _e('Pagina&#39;s:'); ?></h2>

<ul>

<li class="page_item"><a href="<?php bloginfo('url'); ?>">Home</a></li>

<?php wp_list_pages('title_li='); ?>

</ul>

<!-- END PAGES LIST -->
				</div>
				<br />
				<div class="hitems">


<?php

$today = current_time('mysql', 1);

if ( $recentposts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt < '$today' ORDER BY post_date DESC LIMIT 10")):

?>

<h2><?php _e("Recente berichten"); ?></h2>

<ul>

<?php

foreach ($recentposts as $post) {

if ($post->post_title == '')

$post->post_title = sprintf(__('Post #%s'), $post->ID);

echo "<li><a href='".get_permalink($post->ID)."'>";

the_title();

echo '</a></li>';

}

?>

</ul>

<?php endif; ?>






<h2>Categorieën</h2>

<ul>

<?php wp_list_cats('sort_column=name&hierarchical=0'); ?>

</ul>

 <?php if ( is_home() ) { ?>

<h2><?php _e('Blogroll'); ?></h2>

<ul>

<?php get_links(-1, '<li>', '</li>', '', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?>

</ul>

<?php } ?>

 <h2>Archieven</h2>

<ul>

<?php wp_get_archives('type=monthly'); ?>

</ul>

<h2><?php _e('Meta:'); ?></h2>

<ul>

<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Volg deze site met behulp van RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>

<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('De laatste reacties op alle berichten in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>

<li><a href="http://validator.w3.org/check/referer" title="<?php _e('Deze pagina valideert als XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>

<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>

<?php wp_meta(); ?>

</ul>

				</div>
				<?php endif; ?>
			</div>
		</div>