Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (Mage::getStoreConfig('easybanner/info/enabled')):?>
- <script src="<?php echo $this->getSkinUrl('js/easybanner/jquery.pikachoose.js')?>" type="text/javascript"></script>
- <?php if ($this->isVisible()): ?>
- <?php $_banner = $this->getBanner(); ?>
- <?php if ($_banner->getShowTitle()==1): ?>
- <!--<h3><?php // echo $_banner->getTitle(); ?></h3>-->
- <?php endif; ?>
- <div class="pikachoose" style="width:<?php echo $_banner->getWidth().'px'?>;" >
- <ul id="pikame" >
- <?php $_banner_items = $this->getBannerItems(); ?>
- <?php foreach ($_banner_items as $_banner_item): ?>
- <li>
- <a href="<?php echo $_banner_item->getLinkUrl(); ?>">
- <?php if ($_banner_item->getImage()): ?>
- <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).$_banner_item->getImage()?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="Wild Pacific Salmon"/>
- <?php elseif ($_banner_item->getImageUrl()): ?>
- <img src="<?php echo $_banner_item->getImageUrl() ?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="Wild Pacific Salmon" />
- <?php endif; ?>
- </a>
- <?php echo $_banner_item->getTitle(); ?>
- <span><?php echo $_banner_item->getTitle(); ?></span>
- </li>
- <?php endforeach ?>
- <?php endif; ?>
- </ul>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement