<style type="text/css">
.headerBox{ width:100%; border-bottom:1px solid #efefef; float:left;} 
.headerBox a{ width:33.333%; padding:15px 0 8px; text-align:center; float:left; } 
.headerBox a.ch{border-bottom:1px solid #FF0000; color:#FF0000;  }
</style>
<div class="headerBox">
	<a href="?m=collect&a=index" <{if $smarty.get.a == '' || $smarty.get.a =='index'}>class="ch"<{/if}>>关注的商品</a>
	<a href="?m=collect&a=shop" <{if $smarty.get.a == 'shop'}>class="ch"<{/if}>>关注的店铺</a> 
	<a href="?m=collect&a=history" <{if $smarty.get.a == 'history'}>class="ch"<{/if}>>浏览记录</a> 
</div>