<div id="linksidbar">
<div id="sidebarsearch">
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
</div>
<div id="news">
<ul id="newsinside">
<?php
global $post;
$myposts = get_posts(‘numberposts=5&offset=1&category=news’);
foreach($myposts as $post) :
?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>
</div>
<div id="cal">
<ul id="calinside">
<?php
global $post;
$myposts = get_posts(‘numberposts=5&offset=1&category=calendar’);
foreach($myposts as $post) :
?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>