<div class="habblet-container news-promo" style="width:208px; height:125px;">		
	<div class="cbb clearfix notitle " style="width:208px;height:125px;"> 				
		<div id="newspromo" style="width:208px;height:125px;" > 
		
        <div id="topstories" style="width:208px;height:125px;"> 
		<?php
		
		$getNews = dbquery("SELECT * FROM site_news ORDER BY timestamp DESC LIMIT 3");
		$c = 0;
		
		while ($n = mysql_fetch_assoc($getNews))
		{
			$disp = 'block';
			
			if ($c > 0)
			{
				$disp = 'none';
			}
		
	        echo '<div class="topstory" style="background-image: url(' . clean($n['topstory_image']) . '); display: ' . $disp . '; background-size: 208px;"> 
	            <h4>Neuste Meldungen</h4> 
	            <h3><a href="' . WWW . '/articles/' . $n['id'] . '-' . $n['seo_link'] . '">' . clean($n['title']) . '</a></h3> 
	            <p class="summary"> 
	            ' . clean($n['snippet']) . '
	            </p> 
	            <p> 
	                <a href="' . WWW . '/articles/' . $n['id'] . '-' . $n['seo_link'] . '">Les mehr &raquo;</a> 
	            </p> 
	        </div>';
			
			$c++;
		}
			
        echo '<div id="topstories-nav" style="display:none;"><a href="#" class="prev">&laquo; Neuer</a><span>1</span> / ' . $c . '<a href="#" class="next">Aelter &raquo;</a></div>';
		
		?>		
		</div>
</div> 

<script type="text/javascript"> 
	document.observe("dom:loaded", function() { NewsPromo.init(); });
</script> 
	
						
					</div> 
				</div> 
				<div class="spacer"></div>
				<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> 