<div id="picturemove_block"> 
<div class="owl-carousel2 owl-theme owl-loaded owl-drag">
<{foreach item=blockmenu from=$block.picturemove}>
<div class="item"><div class="thumbnail"><div id='picturemoveimg'><a href="<{$blockmenu.url}>" title='<{$blockmenu.sorttitle}>' target="<{$blockmenu.target}>" ><img alt='<{$blockmenu.sorttitle}>' src="<{xoAppUrl}><{$blockmenu.buttonimg}>"  /></a></div>
</div></div>
<{/foreach}>
</div>
   
<{if $xoops_isadmin}>    
<a  href="<{xoAppUrl}>modules/neothemesadmin/admin/blockmenusort.php?op=imgfunction&categoryid=<{$block.menusortid}>" target="_blank" class="btn btn-primary navbar-btn btn-block " role="button"><{$block.menuadmin}></a>
<{/if}>
</div>



<script type="text/javascript" src="<{$xoops_url}>/modules/neillibrary/js/OwlCarousel/js/owl.carousel.js"></script>
<script type="text/javascript" src="<{$xoops_url}>/modules/neillibrary/js/accessibility.js"></script>

<script>
$(document).ready(function() {
  var owl = $('.owl-carousel2');
  owl.owlCarousel({
  margin: 10,
  nav: false,
  autoplay: true,
  dots: true,
  autoplayHoverPause: true,
  loop: true,
  items:<{$block.imgQuantity}>,
  onInitialized: function() {
   accessibility_dottoggle('.owl-carousel2 .owl-dots .owl-dot'); 
   }      
  })
  })
</script>      