{include file="$gentemplates/$header_tpl"}
<div class="profile_general_table">
<div>
	<h2>{$lang.payment.pay}</h2>
        
	{*if $form.err}
	<p class="error_msg">*&nbsp;{$form.err}</p>
	{/if*}
        
	{$lang.payment.toptext}
	<div style="margin-top: 10px">
		<p style="overflow:hidden;">
			<span class="float_left">{$lang.payment.account_count}:&nbsp;</span>
			<span class="float_left">{$data.count}&nbsp;</span>
			<span class="float_left">{$data.account_currency}</span>
		</p>
		<p style="overflow:hidden;">
			<span class="float_left">{$lang.payment.chosen_groups}:&nbsp;</span>
			<span class="float_left">{$data.chosen_group}</span>
		</p>
		<p style="overflow:hidden;">
			<span class="float_left">{$lang.payment.chosen_period}:&nbsp;</span>
			<span class="float_left">{$data.chosen_period}</span>
		</p>
		<p style="overflow:hidden;">
			<span class="float_left">{$lang.payment.chosen_cost}:&nbsp;</span>
			<span class="float_left">{$data.chosen_cost}&nbsp;</span>
			<span class="float_left">{$data.account_currency}</span>
		</p>
		<p style="overflow:hidden;">
			<span class="float_left">{$lang.payment.chosen_forpay}:&nbsp;</span>
			<span class="float_left">{$data.chosen_forpay}&nbsp;</span>
			<span class="float_left">{$data.account_currency}</span>
		</p>
		
		<form name="add_pay" action="{$form.action}" method="post">
		{$form.hiddens}
		</form>
			
	</div>
	<div style="margin: 0px;">
	{if $data.chosen_forpay eq '0'}
		<input type="button" class="button" onclick="javascript:document.add_pay.paysys.value='user_account'; document.add_pay.submit();" value="{$lang.account.only_change}">
	{else}
	{section name=s loop=$paysys}
		<input style="margin-top:5px;" type="button" class="button" onclick="javascript:document.add_pay.paysys.value='{$paysys[s].template_name}'; document.add_pay.submit();" value="{$paysys[s].name}">
	{/section}
	{/if}
	</div>
</div>					  	
{include file="$gentemplates/$footer_tpl"}