<?php if ( sizeof((array)$currencies) > 1) { ?>
<ul class="nav language pull-left">
  <li class="dropdown hover">
<?php foreach ($currencies as $currency) { ?>  
	<?php if ($currency[ 'code' ] == $currency_code) { ?>
	<a class="dropdown-toggle" data-toggle=""><span><span class="label label-orange font14"><?php echo $currency[ 'symbol' ]; ?></span> <?php echo $currency[ 'title' ]; ?></span><b class="caret"></b></a>
	<?php } ?>
<?php } ?>    
    <ul class="dropdown-menu currency">
<?php foreach ($currencies as $currency) { ?>  
      <li>
      	<a href="<?php echo $currency[ 'href' ] ?>"><?php echo $currency[ 'symbol' ]; ?> <?php echo $currency[ 'title' ]; ?></a>
      </li>
<?php } ?>
    </ul>
  </li>
</ul>
<?php } ?>