<div id="top-news">
<h3><?php echo $title; ?></h3>
<div class="news">
	<?php  while ($r->have_posts()) : $r->the_post(); ?>
	<div class="day"><?php the_time('Y.m.d');?></div>
	<div class="title"><a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?> </a></div>
	<div class="clear"></div>
	<?php endwhile; ?>
</div>
</div>

