{include file="shared:layouts/comp_create_navbar.tpl"}

<br />
<h2>Competition Fee Payment</h2>

<b>Competition title</b><br />
Etc.<br />
etc.<br />

<table width="100%">
<tr>
  <td><b>Billing Information:</b>
  <div class="chunk300">
	<h2 class="withBG">
		<div class="topRight hideShow"><a href="javascript:toggle('billInfo', '', 'showHide');"><img id="billInfo_swap" src="./img/blank.gif" class="showHide_{if $success.billIsValid}off{else}on{/if}" alt="show/hide" border="0" /></a></div>
		Billing Information</h2>
	<p>Enter the billing information for the credit card owner.<br />
	<small>(* indicates a required field)</small></p>
	
	<div id="billInfo" style="display:{if $success.billIsValid}none{else}block{/if};">
	<a href="javascript:billFromShip();" class="button">Same as Shipping</a><br />
	*First Name:
	<input type="text" name="bill[firstname]" value="{$smarty.request.bill.firstname|default:$userInfo.firstName}" class="textInput" style="width:200px;" /><br />
	*Last Name:
	<input type="text" name="bill[lastname]" value="{$smarty.request.bill.lastname|default:$userInfo.lastName}" class="textInput" style="width:200px;" /><br />

	Company:
	<input type="text" name="bill[company]" value="{$smarty.request.bill.company|default:$userInfo.company}" class="textInput" style="width:200px;" /><br />

	*Address:
	<input type="text" name="bill[address1]" value="{$smarty.request.bill.address1|default:$userInfo.address1}" class="textInput" style="width:200px;" /><br />
	Line 2:
	<input type="text" name="bill[address2]" value="{$smarty.request.bill.address2|default:$userInfo.address2}" class="textInput" style="width:200px;" /><br />

	*City:
	<input type="text" name="bill[city]" value="{$smarty.request.bill.city|default:$userInfo.city}" class="textInput" style="width:200px;" /><br />

	*State, *Zip:
	<input type="text" name="bill[state]" value="{$smarty.request.bill.state|default:$userInfo.state}" class="textInput" style="width:30px;" maxlength="2" />
	<input type="text" name="bill[zip]" value="{$smarty.request.bill.zip|default:$userInfo.zip}" class="textInput" style="width:50px;" /><br />

	*Country:
	<input type="text" name="bill[country]" value="{$smarty.request.bill.country|default:$userInfo.country}" class="textInput" style="width:200px;" maxlength="30" /><br />

	*Phone:<small>(xxx-xxx-xxxx)
	<input type="text" name="bill[phone]" value="{$smarty.request.bill.phone|default:$userInfo.phone}" class="textInput" style="width:200px;" maxlength="80" /><br />

	</div>
</div>
</td>
  <td><b>Payment Information:</b></td>
</tr>
</table>
