
<div class="banner-name"><?php echo $heading_title; ?></div>

<div id="banner-bgr">
<div id="banner-wrapper">
  <div id="banner_<?php echo 12 / count($banners); ?>" class="banner_<?php echo 12 / count($banners); ?>">
  <?php foreach ($banners as $banner) { ?>
  <?php if ($banner['link']) { ?>
  
  <div><h3><a href="<?php echo $banner['link']; ?>"><?php echo $banner['title']; ?></a></h3><a href="<?php echo $banner['link']; ?>"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" /></a></div>
  <?php } else { ?>

  <div>  <h3><?php echo $banner['title']; ?></h3><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" title="<?php echo $banner['title']; ?>" /></div>
  <?php } ?>
  <?php } ?>
</div>
</div>
</div>
