<div id="sidebar">
<div class="inside">

<form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
	<p><label for="s">Search the blog:</label> <input type="text" name="s" id="s" /> 
	<button type="submit">Search</button>
	</p>
</form>

<h2>Categories</h2>
<ul>
	<?php wp_list_cats(); ?>
</ul>

<h2>Pages</h2>
<ul>
<?php wp_list_pages('sort_column=menu_order&title_li='); ?>
</ul>

<h2>Feeds</h2>
<ul id="feeds">
<li><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a></li>
</ul>

</div>
</div>