<?php 
/*
 * @package WordPreciousss
 * @subpackage Precious_Parent_Theme
*/
?>

<div id="sidebar">

	<ul id="sidebar_one">
		<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(__('Right Sidebar','precious')) ) : else : ?>


		
		<li id="sidebar_search">
			<?php get_search_form(); ?>
		</li>

		<li id="rss_feeds"><span class="widgettitle><?php _e('RSS Feeds','precious'); ?></span>
			<ul>
			<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('RSS Feed Posts','precious'); ?>">
		
			</ul>
		</li>
		
		<!--<?php if(!is_home() && !is_front_page()) { ?>
		<li id="homelink"><a href="<?php bloginfo('url'); ?>/"><?php _e('Home','precious'); ?></a></li>
		<?php } ?> -->


		<?php wp_list_pages('sort_column=menu_order&title_li=<span class="widgettitle>' . __('Pages','precious') . '</span>'); ?>

<?php wp_list_categories('sort_column=name&show_count=1&title_li=<span class="widgettitle>' . __('Categories','precious') . '</span>'); ?>

		<li id="tagcloud"><span class="widgettitle><?php _e('Tags','precious'); ?></span>
			<?php wp_tag_cloud('smallest=0.8&largest=2&unit=em&format=list'); ?></li>


		<li id="randomlinks"><span class="widgettitle><?php _e('Random links','precious'); ?></span>
			<ul>
			<?php wp_list_bookmarks('orderby=rand&categorize=0&limit=7&title_li='); ?>
			</ul></li>


	<li id="meta"><span class="widgettitle><?php _e('Meta','precious'); ?></span>
			<ul>
			<?php wp_register(); ?>
			<li><?php wp_loginout(); ?></li>

			<?php wp_meta(); ?>
			</ul>
		</li>
	<?php endif; ?>
	</ul>


</div>
<!-- end sidebar -->
