<div id="neiltextblock_block">
<{if $block.illustrate}><div id='illustratebox'><{$block.illustrate}></div><{/if}>
<div class="row col-mdinitial">
<{foreach item=textblockArr from=$block.neil_textblockArr name=textblockArr}>
<div  id='textblock<{$textblockArr.textid}>'  class="neiltextblockeach col-md-4 row-initial textblock <{cycle values="textblock01,textblock02,textblock03" }>"  >
<div id='cententbox'>
<div id='texttitle'><span class='leftbox' id='leftbox<{$smarty.foreach.textblockArr.iteration}>'></span><div id='inside' ><a  title='<{$textblockArr.title}>' target="<{$textblockArr.target}>" href='<{$textblockArr.url}>'><{$textblockArr.title}></a></div><span class='rightbox'  id='rightbox<{$smarty.foreach.textblockArr.iteration}>'></span></div> 
<div id='textimgbox' >
<div id='transform'>
<a  title='<{$textblockArr.title}>' target="<{$textblockArr.target}>"  href="<{$textblockArr.url}>">
<img alt='<{$textblockArr.title}>'  src="<{xoAppUrl}>uploads/neothemesadmin/<{$textblockArr.imgid}>.png?state=<{$smarty.now|date_format:"%M:%S"}>"> 
</a>
</div>
</div>
<div id='textcontent'><{$textblockArr.content}></div>


</div></div>

<{/foreach}>
</div></div>
<div style='clear: both;'></div>
  <{if $xoops_isadmin}>    
<a  href="<{xoAppUrl}>modules/neothemesadmin/admin/textblock.php" target="_blank" class="btn btn-primary navbar-btn btn-block" role="button"><{$smarty.const._MA_NEILNEILTEXTBLOCK_BLOCLS03}></a>
<{/if}>   



<{if $block.themefolder eq 'computer'}>
<script>
function neothemesadmin_textblockfunction() {
    $(".neiltextblockeach").each(function(index) {
        var $index = index * 280; 
        var $textblock = '#' + $(this).attr("id"); 
        setTimeout(function() {
            $('#neiltextblock_block '+$textblock+'').css({
                "animation-name": "textblock",
                "transform": "scale(1,1)",
                "opacity": "1"
            });
        }, $index);
    });
}
</script>
<{/if}>   


<script>
$(document).ready(function() {
    $("#neiltextblock_block  #texttitle a").each(function(index) {
        $remaining = ($("#neiltextblock_block  #texttitle").outerWidth()- $(this).outerWidth()) / 2;
        $index = index + 1;
        $("#neiltextblock_block  #texttitle #leftbox" + $index + "").outerWidth($remaining - <{$block.neil_difference}>);
        $("#neiltextblock_block  #texttitle #rightbox" + $index + "").outerWidth($remaining - <{$block.neil_difference}>);
    });
});
</script>

<script>
if($("#construct<{$block.blockList.bid}>").length == '1') {
$("#construct<{$block.blockList.bid}>").addClass('noblockcontent');
}
</script>