{include file="$gentemplates/$header_tpl"}
	{strip}
	<form action="{$action}" method="post" name="payment">
	<input type="hidden" name="sel" id="sel" value="save_account">
	<input type="hidden" name="paysys" id="paysys" value="{$id}">
	<input type="hidden" name="system" id="system" value="authorizenet">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td valign="top" class="text"  style="padding-top: 5px;">{$lang.payment.update_account_page.toptext}</td>
		</tr>
                
		{*if $form.err}
		<tr>
			<td valign="top" style="padding-top:10px;"><font class="error_msg">*&nbsp;{$form.err}</font><br>&nbsp;</td>
		</tr>
                {/if*}
		</table>
		
		
		<div id="payment">
			<table cellpadding="0" cellspacing="5" border="0">
				<tr>
					<td class="help" colspan="2" width="600px" style="padding-bottom: 5px; padding-top:15px;"><b>{$lang.content.payment_authorizenet}</b>
					</td>
				</tr>
				<tr>
					<td>{$lang.content.amount} <font class="error_msg">*</font>:&nbsp;</td>
					<td width="400px;">
						<input type="text" name="account_to_add" class="str" value="{$add}" style="padding-{$default_left}:3px;">
					</td>
				</tr>
				<tr>
					<td>{$lang.authorizenet.card_num} <font class="error_msg">*</font>:&nbsp;</td>
					<td width="400px;">
						<input type="text" name="card_num" class="str" value="{$card}" style="padding-{$default_left}:3px;">
					</td>
				</tr>
				<tr>
					<td>{$lang.authorizenet.exp_date} <font class="error_msg">*</font>:&nbsp;</td>
					<td width="400px;">
						<select name="month">
						{foreach from=$month item=item}
							<option>{$item}</option>
						{/foreach}
						</select>
						&nbsp;
						<select name="year">
						{foreach from=$year item=item}
							<option>{$item}</option>
						{/foreach}
						</select>
					</td>
				</tr>
				<tr>
					<td>{$lang.authorizenet.card_code}:&nbsp;</td>
					<td width="400px;">
						<input type="text" name="card_code" class="str" value="" style="padding-{$default_left}:3px;">
					</td>
				</tr>
				<tr>
					<td>{$lang.users.fname}:&nbsp;</td>
					<td width="400px;">
						<input type="text" name="fname" class="str" value="" style="padding-{$default_left}:3px;">
					</td>
				</tr>
				<tr>
					<td>{$lang.users.sname}:&nbsp;</td>
					<td width="400px;">
						<input type="text" name="sname" class="str" value="" style="padding-{$default_left}:3px;">
					</td>
				</tr>
				<tr>
					<td>{$lang.users.email}:&nbsp;</td>
					<td width="400px;">
						<input type="text" name="email" class="str" value="" style="padding-{$default_left}:3px;">
					</td>
				</tr>
			</table>
		</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td>
				<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td width="200px">&nbsp;</td>
						<td height="30"><input name="do_payment" id="do_payment" type="button" onclick="javascript: document.payment.submit();" value="{$lang.button.send}"></td>
					</tr>
				</table>
			</td>
		</tr>
		</table>
	</form>
	{/strip}
{include file="$gentemplates/$footer_tpl"}