first commit
This commit is contained in:
16
templates/other/banners.php
Normal file
16
templates/other/banners.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user