getskinurl() 函数将进入基本路径以获取图像
<?php if(count($this->getStores())>1): ?>
<div id="languages_box">
<ul id='languages'>
<?php foreach ($this->getStores() as $_lang): ?>
<?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
<li><a href="<?php echo $_lang->getCurrententer code hereUrl() ?>">
<img src="<?php echo $this->getSkinUrl('images/flags/'.$_lang->getCode().'.gif');?>" alt="<?php echo $_lang->getCode();?>">
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>