获取magento当前浏览器的url
$currentUrl = $this->helper('core/url')->getCurrentUrl();
获取magento当前域名
$this->getUrl();
对url判断来显示不同的图片
<?php if(strpos($currentUrl,'promocatalog')):?>
<img src="<?php echo $this->getSkinUrl('images/boke.png');?>"/>
<div>随笔的事儿</div>
<?php else:?>
<img src="<?php echo $this->getSkinUrl('images/sb.png');?>"/>
<div>sbboke</div>
<?php endif;?>