<div class="main_tabs">
	<div class="tab_block first {if $form.page eq '1'} active{/if}">
		<a href="./aff_summary.php">{$lang.affiliate.summary}</a>
	</div>
	<div class="tab_block {if $form.page eq '2'} active{/if}">
		<a href="./aff_sales.php">{$lang.affiliate.sales}</a>
	</div>
	<div class="tab_block {if $form.page eq '3'}active{/if}">
		<a href="./aff_stats.php">{$lang.affiliate.statistics}</a>
	</div>
	<div class="tab_block {if $form.page eq '4'}active{/if}">
		<a href="./aff_links.php">{$lang.affiliate.links}</a>
	</div>
	<div class="tab_block {if $form.page eq '5'}active{/if}">
		<a href="./aff_profile.php">{$lang.affiliate.uprofile}</a>
	</div>
	<div class="tab_block {if $form.page eq '6'}active{/if}">
		<a href="./aff_index.php?action=logout">{$lang.logoff}</a>
	</div>
</div>
