  {if $view_common_languages|@count>1}
 <div class="language-block">
  <div class="flagbox"><img src="{$view_host}/public/uploads/languages/{$view_common_languageImage|escape}" width="14" height="11" alt="{$resCommonLanguages.languageName}" /></div>
  <div class="languagebox_head">{$view_common_languageName}</div><span class="arw"></span> <span class="clse">x</span>
  <div class="languageList" id="languageDropdown">
    <ul>
      {foreach from=$view_common_languages item="resCommonLanguages" key="key"}
      {if $currentLanguageID neq $resCommonLanguages.languageID}
      <li id="common_language_{$resCommonLanguages.languageID}" class="clearfix">
        <div class="flagbox"><img src="{$view_host}/public/uploads/languages/{$resCommonLanguages.languageImage|escape}" width="14" height="11" alt="{$resCommonLanguages.languageName}" /></div>
        <div class="languagebox">{$resCommonLanguages.languageName}</div>
      </li>
      {/if}
      {/foreach}
    </ul>
  </div>
</div>
  {/if}