<div class="col2">
	
	<?php include('ads/ads-management.php'); ?>
	
	<?php include('ads/ads-300x250.php'); ?>
    
	<?php include('ads/ads-top.php'); ?>

	<div id="myTabs1" class="sideTabs">
		
		<ul class="mootabs_title">
			<li title="pop"><span>Popular</span></li>
			<li title="feat"><span>Latest</span></li>
            <li title="comm"><span>Comments</span></li>
			<?php if (function_exists('wp_tag_cloud')) { ?><li title="tagcloud"><span>Tags</span></li><?php } ?>
            <li title="sub"><span>Subscribe</span></li>
		</ul>	

		<div class="mootabs_panel" id="pop">
			<ul class="list1">
                <?php include(TEMPLATEPATH . '/includes/popular.php' ); ?>                    
			</ul>
        </div>

		<div id="feat" class="mootabs_panel">
	        <ul class="list2">
				<?php 
					include(TEMPLATEPATH . '/includes/version.php');	
					$the_query = new WP_Query('cat=' . $ex_feat . '&showposts=10&orderby=post_date&order=desc');	
					while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;
				?>
				<li><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li>
				<?php endwhile; ?>		
			</ul>
		</div>
			
		<div class="mootabs_panel" id="comm">
			<ul class="list3">
                <?php include(TEMPLATEPATH . '/includes/comments.php' ); ?>                    
			</ul>
		</div>
			
		<?php if (function_exists('wp_tag_cloud')) { ?>
	
			<div class="mootabs_panel" id="tagcloud">
				
				<?php wp_tag_cloud('smallest=10&largest=18'); ?>
			
			</div>
	
		<?php } ?>

        <div class="mootabs_panel" id="sub">
	        <ul id="rss">
				<li><h2>Stay up to date</h2><a href="<?php if ( get_option('woo_feedburner_url') <> "" ) { echo get_option('woo_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/ico-rss.gif" alt="" /></a></li>
				<li><a href="<?php if ( get_option('woo_feedburner_url') <> "" ) { echo get_option('woo_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>">Subscribe to the RSS Feed</a></li>
				<li><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=<?php $feedburner_id = get_option('woo_feedburner_id'); echo $feedburner_id; ?>" 	target="_blank">Subscribe to the feed via email</a></li>
			</ul>
        </div>
	
	</div>
	
    <div class="fix" style="height:15px !important;"></div>

	<?php include('ads/ads-bottom.php'); ?>
	
	<?php if (get_option('woo_flickr_id') != "") { ?>
	
		<div class="flickr">
			<?php $flickr_url = get_option('woo_flickr_url'); ?>
			<h2>Our Flickr Photos <span class="flickr-ar"><a href="<?php echo "$flickr_url"; ?>">- See all photos</a></span></h2>
			<script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=<?php echo get_option('woo_flickr_entries'); ?>&amp;display=latest&amp;size=s&amp;layout=x&amp;source=user&amp;user=<?php echo get_option('woo_flickr_id'); ?>"></script>	
        	<div class="fix"></div>
		</div><!--/flickr-->
	
	<?php } ?>
	
	<div class="fix"></div>
	
	<div class="subcol fl">
	
		<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>		
		
			<div class="widget">
			
				<h2 class="hl">Related Sites</h2>
				<ul>
					<?php get_links('-1','<li>','</li>'); ?>
				</ul>
			
			</div><!--/widget-->
		
		<?php endif; ?>
	
	</div><!--/subcol-->
		
	<div class="subcol fr">

		<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?>		
		
			<div class="widget">
				
				<h2 class="hl">Information</h2>
				<ul>
					<li><a href="http://www.woothemes.com">WooThemes</a></li>
					<li><a href="http://www.adii.co.za">Designed by Adii</a></li>
					<?php wp_register(); ?>
					<li><?php wp_loginout(); ?></li>					
					<li><a href="http://www.wordpress.org">Powered by Wordpress</a></li>
					<li><a href="http://localhost/premium/?feed=rss2">Entries RSS</a></li>
					<li><a href="http://localhost/premium/?feed=comments-rss2">Comments RSS</a></li>
				</ul>
				
			</div><!--/widget-->
		
		<?php endif; ?>
			
	</div><!--/subcol-->
	
</div><!--/col2-->
