<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 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>
		<?php if($news->news_updated > 0){ ?>
		<p style="text-align: right;">Ostatnia aktualizacja: <?=$news->news_updated?></p>
		<?php }?>
		<p><?=$news->news_text_short?></p>
		<p><?=$news->news_text?></p>
		
	
	</div>
	<?php } ?>


