{foreach from=$items item=item}
<div class="col-sm-4 customer-testimonial">
<div class="logo"><img src="{$item->file_location}/{$item->fields.logo_companie.value}" alt="" width="80" height="80"></div>
<div class="testimonial testimonial{$item->item_id}" style="margin-bottom: 14px;">
<div class="testim_small testim_small{$item->item_id}" style="display:inline">{if $page_lang == 'ro'}{$item->testimonial_ro|truncate:249:""}{else}{$item->testimonial|truncate:249:""}{/if}<font class="testim_small testipp11m_small{$item->item_id}">...</font><font class="testim_small testi11m_small{$item->item_id}" style="display:inline">{if $page_lang == 'ro'}{$item->testimonial_ro|substr:249}{else}{$item->testimonial|substr:249}{/if}</font></div>
<div class="testim_small testim_small{$item->item_id}" style="display:inline"><span style="color: #ff5800;text-decoration: underline;" id="hidetext{$item->item_id}">{if $page_lang == 'ro'}Vezi mai mult{else}See more{/if}</span></div>
</div>
<div class="membru">
  <div class="profil">
    <img src="{$item->file_location}/{$item->fields.thumbnail.value}" alt="" class="img-circle">
  </div>
  <div class="nume">{$item->title}</div>
  <div class="pozitie">{$item->functia} {$item->companie}</div>
</div>
</div>
<script>
$(document).ready(function(){
  $(".testi11m_small{$item->item_id}").hide();
    $("#hidetext{$item->item_id}").click(function(){
        $("#hidetext{$item->item_id}").hide();
        $(".testipp11m_small{$item->item_id}").hide();
        $(".testi11m_small{$item->item_id}").show(500);
        console.log('#hidetext{$item->item_id}');
    });
});
</script>
{/foreach}
