<link rel="stylesheet" type="text/css" href="<?php echo $main_url; ?>pages/application/template/modules/modules_css/aktualnosci_style.css" />

<?php 
if($content && ($content->num_rows()) > 0) foreach($content->result() as $news){
	$this->load->helper('text');
?>
	<div id="news"> 
        <div class="hr">
        	<div class="titleM"><?=$news->news_title?></div>
            <div class="dataM"><?=substr($news->news_added, 0, -3)?></div>
            <div style="clear:both;"></div>
        </div>
		
		<p ><?=$news->news_text_short?></p>
		
		<a id="read_more_news" href="<?=$name_url.'/aktualnosci/'.$news->ID_news.'/'.$news->news_title_url?>">Czytaj więcej...</a>
	
	</div>
	<?php } ?>
<div class="clear"></div>

