Guest User

home.slider.html

a guest
Jul 22nd, 2020
9
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {strip}
  2. {if $theme_settings.shop_homepage_slider_view ne "none"}
  3.     {$_slides_count = 0}
  4.     <div class="home-pg__section home-pg__section_main-slider{if $theme_settings.shop_homepage_slider_view ne 'always'} {$theme_settings.shop_homepage_slider_view}{/if}">
  5.         <div class="main-slider-row pos-rel">
  6.             <div class="descr-mode pos-abs"><span class="pos-rel">SLIDER</span></div>
  7.             {if !empty($theme_settings.shop_homepage_slider_banners_1_image) || !empty($theme_settings.shop_homepage_slider_banners_2_image)}
  8.                 <div class="main-slider-row__banners">
  9.                     <div class="sld-side-banrs">
  10.                         <div class="sld-side-banrs__inner">
  11.                             {if !empty($theme_settings.shop_homepage_slider_banners_1_image)}
  12.                                 {if !empty($theme_settings.shop_homepage_slider_banners_1_link)}<a class="sld-side-banrs__item" href="{$theme_settings.shop_homepage_slider_banners_1_link}">
  13.                                 {else}<span class="sld-side-banrs__item">{/if}
  14.                                         <img src="{$wa_theme_url}{$theme_settings.shop_homepage_slider_banners_1_image}?v{$wa_theme_version}" alt>
  15.                                 {if !empty($theme_settings.shop_homepage_slider_banners_1_link)}</a>
  16.                                 {else}</span>{/if}
  17.                             {/if}
  18.                             {if !empty($theme_settings.shop_homepage_slider_banners_2_image)}
  19.                                 {if !empty($theme_settings.shop_homepage_slider_banners_2_link)}<a class="sld-side-banrs__item" href="{$theme_settings.shop_homepage_slider_banners_2_link}">
  20.                                 {else}<span class="sld-side-banrs__item">{/if}
  21.                                         <img src="{$wa_theme_url}{$theme_settings.shop_homepage_slider_banners_2_image}?v{$wa_theme_version}" alt>
  22.                                 {if !empty($theme_settings.shop_homepage_slider_banners_2_link)}</a>
  23.                                 {else}</span>{/if}
  24.                             {/if}
  25.                         </div>
  26.                     </div>
  27.                 </div>
  28.             {/if}
  29.             <div class="main-slider-row__slider">
  30.                 <div class="main-slider main-slider_js swiper-container" data-auto="{$theme_settings.shop_homepage_slider_autodelay}000">
  31.                     <div class="main-slider__inner swiper-wrapper">
  32.                         {if !empty($theme_settings.homepage_slider_slide_1_image)}
  33.                             {$_slides_count = $_slides_count+1}
  34.                             {if !empty($theme_settings.homepage_slider_slide_1_link)}<a class="main-slider__slide swiper-slide" href="{$theme_settings.homepage_slider_slide_1_link}">
  35.                             {else}<span class="main-slider__slide swiper-slide">{/if}
  36.                                     <img data-src="{$wa_theme_url}{$theme_settings.homepage_slider_slide_1_image}?v{$wa_theme_version}" src="data:image/gif;base64,R0lGODlh6gDqAIAAAP///wAAACH5BAEAAAEALAAAAADqAOoAAAL+jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8Y9jRw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOo1UAAA7" alt>
  37.                                     <span class="swiper-lazy-preloader swiper-lazy-preloader-black"></span>
  38.                             {if !empty($theme_settings.homepage_slider_slide_1_link)}</a>
  39.                             {else}</span>{/if}
  40.                         {/if}
  41.                         {if !empty($theme_settings.homepage_slider_slide_2_image)}
  42.                             {$_slides_count = $_slides_count+1}
  43.                             {if !empty($theme_settings.homepage_slider_slide_2_link)}<a class="main-slider__slide swiper-slide" href="{$theme_settings.homepage_slider_slide_2_link}">
  44.                             {else}<span class="main-slider__slide swiper-slide">{/if}
  45.                                     <img data-src="{$wa_theme_url}{$theme_settings.homepage_slider_slide_2_image}?v{$wa_theme_version}" src="data:image/gif;base64,R0lGODlh6gDqAIAAAP///wAAACH5BAEAAAEALAAAAADqAOoAAAL+jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8Y9jRw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOo1UAAA7" alt>
  46.                                     <span class="swiper-lazy-preloader swiper-lazy-preloader-black"></span>
  47.                             {if !empty($theme_settings.homepage_slider_slide_2_link)}</a>
  48.                             {else}</span>{/if}
  49.                         {/if}
  50.                         {if !empty($theme_settings.homepage_slider_slide_3_image)}
  51.                             {$_slides_count = $_slides_count+1}
  52.                             {if !empty($theme_settings.homepage_slider_slide_3_link)}<a class="main-slider__slide swiper-slide" href="{$theme_settings.homepage_slider_slide_3_link}">
  53.                             {else}<span class="main-slider__slide swiper-slide">{/if}
  54.                                     <img data-src="{$wa_theme_url}{$theme_settings.homepage_slider_slide_3_image}?v{$wa_theme_version}" src="data:image/gif;base64,R0lGODlh6gDqAIAAAP///wAAACH5BAEAAAEALAAAAADqAOoAAAL+jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8Y9jRw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOo1UAAA7" alt>
  55.                                     <span class="swiper-lazy-preloader swiper-lazy-preloader-black"></span>
  56.                             {if !empty($theme_settings.homepage_slider_slide_3_link)}</a>
  57.                             {else}</span>{/if}
  58.                         {/if}
  59.                         {if !empty($theme_settings.homepage_slider_slide_4_image)}
  60.                             {$_slides_count = $_slides_count+1}
  61.                             {if !empty($theme_settings.homepage_slider_slide_4_link)}<a class="main-slider__slide swiper-slide" href="{$theme_settings.homepage_slider_slide_4_link}">
  62.                             {else}<span class="main-slider__slide swiper-slide">{/if}
  63.                                     <img data-src="{$wa_theme_url}{$theme_settings.homepage_slider_slide_4_image}?v{$wa_theme_version}" src="data:image/gif;base64,R0lGODlh6gDqAIAAAP///wAAACH5BAEAAAEALAAAAADqAOoAAAL+jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8Y9jRw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOo1UAAA7" alt>
  64.                                     <span class="swiper-lazy-preloader swiper-lazy-preloader-black"></span>
  65.                             {if !empty($theme_settings.homepage_slider_slide_4_link)}</a>
  66.                             {else}</span>{/if}
  67.                         {/if}
  68.                         {if !empty($theme_settings.homepage_slider_slide_5_image)}
  69.                             {$_slides_count = $_slides_count+1}
  70.                             {if !empty($theme_settings.homepage_slider_slide_5_link)}<a class="main-slider__slide swiper-slide" href="{$theme_settings.homepage_slider_slide_5_link}">
  71.                             {else}<span class="main-slider__slide swiper-slide">{/if}
  72.                                     <img data-src="{$wa_theme_url}{$theme_settings.homepage_slider_slide_5_image}?v{$wa_theme_version}" src="data:image/gif;base64,R0lGODlh6gDqAIAAAP///wAAACH5BAEAAAEALAAAAADqAOoAAAL+jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8Y9jRw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vwJNKjQoUSLGj2KNKnSpUybOo1UAAA7" alt>
  73.                                     <span class="swiper-lazy-preloader swiper-lazy-preloader-black"></span>
  74.                             {if !empty($theme_settings.homepage_slider_slide_5_link)}</a>
  75.                             {else}</span>{/if}
  76.                         {/if}
  77.                     </div>
  78.                     {if $_slides_count > 1}
  79.                         <div class="main-slider__nav">
  80.                             <button class="slider-ar slider-ar_round pos-rel default-btn">
  81.                                 <svg class="icon cent-icon" width="8" height="15">
  82.                                     <use xlink:href="#arrow-left-big"></use>
  83.                                 </svg>
  84.                             </button>
  85.                             <button class="slider-ar slider-ar_round pos-rel default-btn">
  86.                                 <svg class="icon cent-icon" width="8" height="15">
  87.                                     <use xlink:href="#arrow-right-big"></use>
  88.                                 </svg>
  89.                             </button>
  90.                         </div>
  91.                         <div class="main-slider__pag">
  92.                             <div class="swiper-pagination"></div>
  93.                         </div>
  94.                     {/if}
  95.                 </div>
  96.             </div>
  97.         </div>
  98.     </div>
  99. {/if}
  100. {/strip}
RAW Paste Data