<?php $session = Goweb::registry('session'); ?>
<?php echo $this->loadCss('/media/css/loja.css'); ?>
<?php //Goweb::dump($session->cambios); ?>
<?php 

if(is_array($session->cambios) && count($session->cambios) > 1):?>
<div id="select_cambio" >

<form action="" method="POST">
<img src="<?php echo $baseUrl;?>/media/images/moeda_<?php echo $session->lang; ?>.gif" />&nbsp;
<select name="moeda" size="1" onchange="this.form.submit();">
<?php foreach ($session->cambios as $cambio):?>
		<option value="<?php echo $cambio['nome']; ?>" <?php if($session->cambio == $cambio['nome']) echo ' selected '; ?>><?php echo $cambio['simbolo']?>&nbsp;<?php echo $cambio['nome']; ?>&nbsp;</option>
<?php endforeach;?>
	</select>
	</form>
	</div>
<?php endif; ?>    
