<link rel="stylesheet" type="text/css" href="<?php echo $main_url; ?>pages/application/template/modules/modules_css/galeria_style.css" media="screen" />	
<script type="text/javascript" src="<?=prep_url(base_url())?>application/template/modules/modules_js/jquery-1.3.2.min.js" ></script>
<script type="text/javascript" src="<?=prep_url(base_url())?>application/template/modules/modules_js/jquery.tools.min.js" ></script>
<script type="text/javascript" src="<?=prep_url(base_url())?>application/template/modules/modules_js/jquery.prettyPhoto.js" ></script>
<script type="text/javascript" src="<?=prep_url(base_url())?>application/template/modules/modules_js/script.js" ></script>
                <div class="photo_gallery article_gallery">
				<?php foreach ($content->result() as $photo):  ?>
                	<a href="<?= prep_url($adres).'/foto/'.$photo->photos_name; ?>" rel="prettyPhoto[gallery]" >
                    	<img src="<?=prep_url($adres); ?>/foto/thumb_<?= $photo->photos_name; ?>" width="127" height="100" alt="<?=$photo->photos_header; ?>" class="image portf preload" title="<?=$photo->photos_header; ?>"/>
                    </a>
				<?php endforeach; ?>
				</div>
				
				<div class="clear"></div>
				<br/>