<?php echo '唯美设计QQ:474902417商业模板保护！请到官网上购买正版模板 http://addon.discuz.com/?@1439.developer';exit;?>
<div class="tab-menu border-bottom">
	<ul class="tab-box">
		<li $opactives[base]><a href="home.php?mod=spacecp&ac=credit&op=base">{lang my_credits}</a></li>
		<!--{if $_G[setting][ec_ratio] && ($_G[setting][ec_account] || $_G[setting][ec_tenpay_opentrans_chnid] || $_G[setting][ec_tenpay_bargainor]) || $_G['setting']['card']['open']}-->
		<li $opactives[buy]><a href="home.php?mod=spacecp&ac=credit&op=buy">{lang buy_credits}</a></li>
		<!--{/if}-->
		<!--{if $_G[setting][transferstatus] && $_G['group']['allowtransfer']}-->
		<li $opactives[transfer]><a href="home.php?mod=spacecp&ac=credit&op=transfer">{lang transfer_credits}</a></li>
		<!--{/if}-->
		<!--{if $_G[setting][exchangestatus]}-->
		<li $opactives[exchange]><a href="home.php?mod=spacecp&ac=credit&op=exchange">{lang exchange_credits}</a></li>
		<!--{/if}-->
		<li $opactives[log]><a href="home.php?mod=spacecp&ac=credit&op=log">{lang memcp_credits_log}</a></li>
		<li $opactives[rule]><a href="home.php?mod=spacecp&ac=credit&op=rule">{lang credit_rule}</a></li>
		<!--{if !empty($_G['setting']['plugins']['spacecp_credit'])}-->
			<!--{loop $_G['setting']['plugins']['spacecp_credit'] $id $module}-->
				<!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}--><li{if $_GET[id] == $id} class="a"{/if}><a href="home.php?mod=spacecp&ac=plugin&op=credit&id=$id">$module[name]</a></li><!--{/if}-->
			<!--{/loop}-->
		<!--{/if}-->
		<!--{if $op == 'rule'}-->
			<li class="y">
				<select onchange="location.href='home.php?mod=spacecp&ac=credit&op=rule&fid='+this.value"><option value="">{lang credit_rule_global}</option>$select</select>
			</li>
		<!--{/if}-->
	</ul>
</div>