Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {*
- * 2007-2012 PrestaShop
- *
- * NOTICE OF LICENSE
- *
- * This source file is subject to the Academic Free License (AFL 3.0)
- * that is bundled with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://opensource.org/licenses/afl-3.0.php
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@prestashop.com so we can send you a copy immediately.
- *
- * DISCLAIMER
- *
- * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
- * versions in the future. If you wish to customize PrestaShop for your
- * needs please refer to http://www.prestashop.com for more information.
- *
- * @author PrestaShop SA <contact@prestashop.com>
- * @copyright 2007-2012 PrestaShop SA
- * @version Release: $Revision: 14973 $
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
- * International Registered Trademark & Property of PrestaShop SA
- *}
- <!-- Module HomeSlider -->
- {if isset($homeslider)}
- <script type="text/javascript">
- {if isset($homeslider_slides) && $homeslider_slides|@count > 1}
- {if $homeslider.loop == 1}
- var homeslider_loop = true;
- {else}
- var homeslider_loop = false;
- {/if}
- {else}
- var homeslider_loop = false;
- {/if}
- var homeslider_speed = {$homeslider.speed};
- var homeslider_pause = {$homeslider.pause};
- </script>
- {/if}
- {if isset($homeslider_slides)}
- <ul id="homeslider">
- {foreach from=$homeslider_slides item=slide}
- {if $slide.active}
- <li>
- <a href="{$slide.url}" title="{$slide.description}"><img src="{$smarty.const._MODULE_DIR_}/homeslider/images/{$slide.image}" alt="{$slide.legend}" title="{$slide.description}" height="{$homeslider.height}" width="{$homeslider.width}" /></a>
- <div class="caption">
- <p class="legend">{$slide.legend}</p>
- <p class="description">{$slide.description}</p>
- <a class="leo_shop_now" href="#">{l s='Kup teraz' mod='homeslider'}</a>
- </div>
- </li>
- {/if}
- {/foreach}
- </ul>
- {/if}
- <!-- /Module HomeSlider -->
- <img src="http://www.iiacanadanationalconference.com/wp-content/uploads/2013/01/test.jpg" alt="Smiley face" height="200" width="200">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement