<?php if ( ! empty( $currencies ) && is_array( $currencies ) ) : ?>
	<ul class="header-topbar-links">		
		<?php foreach ( $currencies as $currency ) : ?>
			<?php if ( ! empty( $currency['code'] ) ) : ?>				
				<li class="<?php if ( $currency_code == $currency['code'] ) : ?>active<?php endif; ?>">
					<a href="?currency_code=<?php echo esc_attr( $currency['code'] ); ?>">					
						<span class="circelized"><?php echo esc_attr( $currency['symbol'] ); ?></span>
						<?php echo esc_attr( $currency['code'] ); ?>						
					</a>
				</li>
			<?php endif; ?>
		<?php endforeach; ?>
	</ul>
<?php endif; ?>