<div class="title">Polecamy</div>
<div id="banner_container">
  <? if ( is_array( $this -> _banners ) ): foreach ( $this -> _banners as $baner ):?>
    <div class="banner">
      <a href="<?= $baner['link'];?>" rel="nofollow">
        <img src="resources/thumber.php?img=<?= $baner['image'];?>&w=540" />
      </a>
    </div>
  <? endforeach; endif;?>
</div>
<script type="text/javascript" src="/resources/jquery.cycle.all.js"></script>
<script type="text/javascript">
  $( document ).ready( function() {
    $( '#banner_container' ).cycle();
  });
</script>