{form->start name="formPaymentGateway" method="post" action=""}
<ul class="levl-00">
<li class="clearfix">{include file='OrderCheckoutPaymentInfo.tpl'}</li>
<li class="clearfix">
<h3><span>{$language.lblCheckout}</span></h3></li>
<li class="clearfix">
{form->hidden name="imgFullPath" value=$view_images}
{form->hidden name="siteHosted" value=0}
{form->hidden name="userCardType"}
{form->hidden name="paymentGatewaysCount" value=$paymentGatewaysCount|default:0}
<div class="left_box">
<ul class="level00">

	<li class="clearfix">
		<div class="left01 mandatory">
			{$language.lblPromoDiscount}
		</div>
		<div class="right01 ">
			{if $cartData.orderPromoCode neq ''}
				{form->textbox value=$cartData.orderPromoCode readonly=true name="promocode" autocomplete="Off" class="textbox width-60per "}
				{html->anchor href="" caption=$language.lblRemove default=$language.lblRemove title=$language.lblRemove class="linkbtnt01 remove_promo"}
			{else}
				{form->textbox name="promocode" autocomplete="Off" class="textbox width-60per "}
				{html->anchor href="" caption=$language.lblApply default=$language.lblApply title=$language.lblApply class="linkbtnt01 applay_promo"}
			{/if}	
		</div>
	</li>

	{if $paymentGatewaysCount|default:0 >0}
	<li class="clearfix">
		<div class="left01 mandatory">
			{$language.lblPaymentMethod}
		</div>
		<div class="right01 ">
			{if $paymentGatewaysCount eq 1}
			{form->hidden name="paymentSettingsGroupKey" value=$resPaymentGateways[0].paySetGroupKey} 
			<strong>{$resPaymentGateways[0].label}</strong> 	{else}
			{/if}
			{if $paymentGatewaysCount >1}
			{form->select name="paymentSettingsGroupKey" options=$resPaymentGateways caption="->{$language.lblSelect}"
			class="listbox" validate="required" error=$language.errPaymentMethod}
			{/if}
		</div>
	</li>
	{/if}
	<li class="clearfix payment-div">
		<div class="left01    mandatory">
			{$language.lblCardholderFirstName} 
		</div>
		<div class="right01 ">
			{form->textbox name="creditCardFirstName"  autocomplete="Off" class="textbox width-92per " validate="siteHosted->isequal->1~*required" error=$language.errCardholderFirstName maxlength="50"}
		</div>
	</li>
	<li class="clearfix payment-div">
		<div class="left01    mandatory">
			{$language.lblCardholderLastName}
		</div>
		<div class="right01 ">
			{form->textbox name="creditCardLastName" autocomplete="Off" class="textbox width-92per "  validate="siteHosted->isequal->1~*required" error=$language.errCardholderLastName maxlength="50"}
		</div>
	</li>
	<li class="clearfix payment-div">
		<div class="left01    mandatory">
			{$language.lblCardType} 
		</div>
		<div class="right01 ">
			{form->select name="creditCardType" class="listbox"
			validate="siteHosted->isequal->1~*required" error=$language.errCardType}
		</div>
	</li>
	
	
</ul>
</div>
<div class="right_box">
<ul class="levl-01">
	<!--<li class="clearfix payment-div" style="display:none;">
		<div class="left01    mandatory flt-right" id="AjaxdivPaymentCardTypes">
			<ul id="AjaxdivPaymentCardTypeImages" style="width:70%;"></ul>
		</div>
		<div class="right01 ">
		</div>
	</li>-->
	<li class="clearfix payment-div">
		<div class="left01    mandatory">
			{$language.lblCardNumber} 
		</div>
		<div class="right01 ">
			{form->textbox name="creditCardNumber" autocomplete="Off" class="textbox width-92per "  
          validate="siteHosted->isequal->1~*required" error=$language.errInvalidcc maxlength="20"}
		</div>
	</li>
	<li class="clearfix payment-div">
		<div class="left01    mandatory flt-right">
			{$language.lblSecurityCode}
		</div>
		<div class="right01 ">
			{form->textbox name="securityCode" autocomplete="Off" class="textbox width-50per"  validate="siteHosted->isequal->1~*required~*isNumber" error=$language.errInvalidcvv maxlength="5"}
		</div>
	</li>
	<li class="clearfix payment-div">
		<div class="left01    mandatory">
			{$language.lblExpiryDate} 
		</div>
		<div class="right01 ">
			{form->select name="expMonth" options="01->Jan~*02->Feb~*03->Mar~*04->Apr~*05->May~*06->Jun~*07->Jul~*08->Aug~*09->Sep~*10->Oct~*11->Nov~*12->Dec" class="listbox width-auto"}
			{form->select name="expYear" options=$years|default:array() class="listbox width-auto"}
		</div>
	</li>
</ul>
</div>
</li>
<li class="clearfix  ">
	<div class="right1 AjaxOfflinePaymentDesc">
    </div>
    <div class="codFee margin-top bsfc"></div>
  </li>
    <!-- End : Visa Payment -->
  <li class="clearfix proceed" id="divPaymentButtonDiv"> 
    {form->submit name="submitPayment" id="submitPayment" value=$language.lblCompletePayment 
    class="button03 curve-3 "}
    {form->submit  name="submitPaymentLoader" style="display:none" tabindex="3"
    disabled="disabled"  id="submitPaymentLoader" class="button01 buttonDisable"
    value="{$language.lblCartPleaseWait}"} 
  
    </li>
 </ul>
  {form->close}
  {form->validate_script form="formPaymentGateway"} 

