<?php /* Smarty version Smarty-3.1.8, created on 2020-01-21 16:07:36
         compiled from "/home/agmc/beta/application/core/views/manage/standard/PaymentGatewayAdd.tpl" */ ?>
<?php /*%%SmartyHeaderCode:5439533605e26e9884e5800-65246873%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '648d1c08a6898a1bc9dcc25d877fceef86bce1f8' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/PaymentGatewayAdd.tpl',
      1 => 1579606051,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '5439533605e26e9884e5800-65246873',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'paySetGroupLabel' => 0,
    'resPaymentSettings' => 0,
    'key' => 0,
    'paymentSettings' => 0,
    'tabvalue' => 0,
    'listCurrencyCodes' => 0,
    'listPaymentCards' => 0,
    'paymentCard' => 0,
    'key1' => 0,
    'cardTypeValue' => 0,
    'listNetpayPaymentMethods' => 0,
    'netpayPaymentMethods' => 0,
    'netpayMethodValue' => 0,
    'checked' => 0,
    'tabvaluebtn' => 0,
    'previousURL' => 0,
    'view_javascript' => 0,
    'common_js' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e26e988597829_22526988',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e26e988597829_22526988')) {function content_5e26e988597829_22526988($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblSettings'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblPaymentDiscounts'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblEditPayment'];?>
</title>
<?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/inner-formlisting.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/right-menu.css" />
<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/chosen.css" media="screen"/>
</head>
<body>
<div class="outer_container"> <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
  <!--****************************************************END HEADER CONTAINER*********************************************-->
  <div class="content_container2 clearfix">
    <div class="right-sidebar">
      <div class="side_wrapper"> <?php echo $_smarty_tpl->getSubTemplate ('ShippingRightLinks.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 </div>
    </div>
    <!--End: Right Block-->
    <div class="left_wrapper">
    
      <div class="content_wrapper">
        <h2><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEditPayment'];?>
 - <?php echo $_smarty_tpl->tpl_vars['paySetGroupLabel']->value;?>
</h2>
        <div class="form_listing form_listing03"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formPaymentGateway",'method'=>"post",'action'=>''),$_smarty_tpl);?>

          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"submit_button_click",'value'=>''),$_smarty_tpl);?>

          <ul>
            <?php  $_smarty_tpl->tpl_vars["paymentSettings"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["paymentSettings"]->_loop = false;
 $_smarty_tpl->tpl_vars["key"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resPaymentSettings']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["paymentSettings"]->key => $_smarty_tpl->tpl_vars["paymentSettings"]->value){
$_smarty_tpl->tpl_vars["paymentSettings"]->_loop = true;
 $_smarty_tpl->tpl_vars["key"]->value = $_smarty_tpl->tpl_vars["paymentSettings"]->key;
?>
            <?php $_smarty_tpl->tpl_vars["tabvalue"] = new Smarty_variable($_smarty_tpl->tpl_vars['key']->value+1, null, 0);?>
            <li class="clearfix">
              <div class="leftside01 <?php if (strpos($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],"required")!==false){?>mandatory<?php }?>"><?php echo $_smarty_tpl->tpl_vars['paymentSettings']->value['paySetLabel'];?>

                <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']=='payment_currency'){?><br />
                <span> (<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSupportingCurrencyCodes'];?>
) <?php }?></span> </div>
              <div class="rightside01"> <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetType']=="textbox"){?>                   
                <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']=='payment_gateway_charge'||$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']=='payment_gateway_charge_percent'){?> 
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"textbox",'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError'],'maxlength'=>"10"),$_smarty_tpl);?>

                <?php }elseif($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']=='payment_currency'){?> 
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"textbox",'style'=>"width:91% !important;",'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>
                                    
                <?php }else{ ?>                  
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"textbox",'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>

                <?php }?>  
                <?php }elseif($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetType']=="textarea"){?>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textarea(array('name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>

                <?php }elseif($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetType']=="upload"){?>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->upload(array('name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'class'=>"class01",'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>
 
                <?php }elseif($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetType']=="select"){?>
                <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']=='transaction_currencies'){?> 
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'style'=>"width:91% !important;",'id'=>"transactionCurrencies",'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'options'=>$_smarty_tpl->tpl_vars['listCurrencyCodes']->value,'multiple'=>"multiple",'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>

                <?php }else{ ?>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'options'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetOptions'],'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>

                <?php }?>
                <?php }elseif($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetType']=="password"){?>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->password(array('name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'class'=>"textbox",'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>

                <?php }elseif($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetType']=="checkbox"){?>
                <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetOptions']==$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue']){?>
                <?php $_smarty_tpl->tpl_vars["checked"] = new Smarty_variable("checked", null, 0);?>
                <?php }else{ ?>
                <?php $_smarty_tpl->tpl_vars["checked"] = new Smarty_variable('', null, 0);?>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']=='payment_card_type'){?>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"payment_card_type",'value'=>''),$_smarty_tpl);?>

                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"paySetCardypeValue",'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue']),$_smarty_tpl);?>

                <div class="grid_table00 " >
                  <table width="100%" border="0" cellspacing="0" cellpadding="0"   >
                    <tr>
                      <th width="5%" align="left" valign="middle"  class="checkbox_column"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"SelectAllCheckbox",'name'=>"SelectAllCheckbox"),$_smarty_tpl);?>
 </th>
                      <th align="left" valign="middle"  ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCardCode'];?>
</th>
                      <th align="left" valign="middle" ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCardName'];?>
</th>
                      <th align="left" valign="middle" ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblRequireCVV2'];?>
</th>
                    </tr>
                    <?php $_smarty_tpl->tpl_vars['selectedCardTypes'] = new Smarty_variable(explode("~*",$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue']), null, 0);?>  
                    <?php  $_smarty_tpl->tpl_vars["paymentCard"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["paymentCard"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['listPaymentCards']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["paymentCard"]->key => $_smarty_tpl->tpl_vars["paymentCard"]->value){
$_smarty_tpl->tpl_vars["paymentCard"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["paymentCard"]->key;
?>
                    <?php $_smarty_tpl->tpl_vars["cardTypeID"] = new Smarty_variable($_smarty_tpl->tpl_vars['paymentCard']->value['cardTypeID'], null, 0);?>
                    <?php $_smarty_tpl->tpl_vars["cardTypeValue"] = new Smarty_variable((($_smarty_tpl->tpl_vars['paymentCard']->value['cardType']).("->")).($_smarty_tpl->tpl_vars['paymentCard']->value['cardTypeCode']), null, 0);?>
                    <tr <?php if ($_smarty_tpl->tpl_vars['key1']->value%2!=0){?> class="shade01" <?php }?>>
                      <td><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"check_".($_smarty_tpl->tpl_vars['cardTypeID']->value),'name'=>"checkcardTypeIDs[]",'class'=>("checkbox01 ListAll List").($_smarty_tpl->tpl_vars['paymentCard']->value['status']),'value'=>$_smarty_tpl->tpl_vars['cardTypeValue']->value),$_smarty_tpl);?>
</td>
                      <td><?php echo $_smarty_tpl->tpl_vars['paymentCard']->value['cardTypeCode'];?>
</td>
                      <td><?php echo $_smarty_tpl->tpl_vars['paymentCard']->value['cardType'];?>
</td>
                      <td><?php echo $_smarty_tpl->tpl_vars['paymentCard']->value['enableCVV2'];?>
</td>
                    </tr>
                    <?php } ?>
                  </table>
                  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"selectedCardTypeIDs",'value'=>''),$_smarty_tpl);?>

                  <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate']=='required'){?>
                  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"validateCardTypes",'validate'=>"selectedCardTypeIDs->required",'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>

                  <?php }?> </div>
                <div class="clear"></div>
                <?php }elseif($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']=='payment_methods'){?>
                
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"payment_methods",'value'=>''),$_smarty_tpl);?>

                
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"payMethodNames",'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue']),$_smarty_tpl);?>

                <div class="grid_table00" >
                  <table width="100%" border="0" cellspacing="0" cellpadding="0"   >
                    <tr>
                      <th width="5%" align="left" valign="middle"  class="checkbox_column"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"SelectAllPaymentMethods",'name'=>"SelectAllCheckbox"),$_smarty_tpl);?>
 </th>
                      <th align="left" valign="middle"  ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPaymentMethodCode'];?>
</th>
                      <th align="left" valign="middle" ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPaymentMethodName'];?>
</th>
                    </tr>
                    <?php $_smarty_tpl->tpl_vars['selectedCardTypes'] = new Smarty_variable(explode("~*",$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue']), null, 0);?>                       
                    <?php  $_smarty_tpl->tpl_vars["netpayPaymentMethods"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["netpayPaymentMethods"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['listNetpayPaymentMethods']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["netpayPaymentMethods"]->key => $_smarty_tpl->tpl_vars["netpayPaymentMethods"]->value){
$_smarty_tpl->tpl_vars["netpayPaymentMethods"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["netpayPaymentMethods"]->key;
?>    
                    <?php $_smarty_tpl->tpl_vars["netpayMethodID"] = new Smarty_variable($_smarty_tpl->tpl_vars['netpayPaymentMethods']->value['payMethodId'], null, 0);?>                      
                    <?php $_smarty_tpl->tpl_vars["netpayMethodValue"] = new Smarty_variable((($_smarty_tpl->tpl_vars['netpayPaymentMethods']->value['methodName']).("->")).($_smarty_tpl->tpl_vars['netpayPaymentMethods']->value['methodCode']), null, 0);?>
                    <tr <?php if ($_smarty_tpl->tpl_vars['key1']->value%2!=0){?> class="shade01" <?php }?>>
                      <td><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"check_".($_smarty_tpl->tpl_vars['netpayMethodID']->value),'name'=>"checknetpayMethodIDs[]",'class'=>("checkbox01 ListAllNetPay").($_smarty_tpl->tpl_vars['netpayPaymentMethods']->value['status']),'value'=>$_smarty_tpl->tpl_vars['netpayMethodValue']->value),$_smarty_tpl);?>
</td>
                      <td><?php echo $_smarty_tpl->tpl_vars['netpayPaymentMethods']->value['methodCode'];?>
</td>
                      <td><?php echo $_smarty_tpl->tpl_vars['netpayPaymentMethods']->value['methodName'];?>
</td>
                    </tr>
                    <?php } ?>
                  </table>
                  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"selectednetpayMethod",'value'=>''),$_smarty_tpl);?>
                    
                  <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate']=='required'){?>                    
                  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate(array('name'=>"validateNetpayMethod",'validate'=>"selectednetpayMethod->required",'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>
                    
                  <?php }?> </div>
                <div class="clear"></div>
                <?php }else{ ?>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'checked'=>$_smarty_tpl->tpl_vars['checked']->value,'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetOptions'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>

                <?php }?>
                <?php }elseif($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetType']=="radio"){?>              
                <?php if ($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']=='payment_status'){?>       
                <?php $_smarty_tpl->tpl_vars[$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']] = new Smarty_variable($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'], null, 0);?>
                <div id="perioddiv"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('name'=>($_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey']),'class'=>"customradio",'options'=>"Active~*Inactive",'value'=>"Active"),$_smarty_tpl);?>
 </div>
                <?php }else{ ?>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('name'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetKey'],'tabindex'=>$_smarty_tpl->tpl_vars['tabvalue']->value,'options'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetOptions'],'value'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValue'],'validate'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidate'],'error'=>$_smarty_tpl->tpl_vars['paymentSettings']->value['paySetValidateError']),$_smarty_tpl);?>

                
                <?php }?>
                <?php }?> </div>
            </li>
            <?php } ?>              
            <?php $_smarty_tpl->tpl_vars["tabvaluebtn"] = new Smarty_variable($_smarty_tpl->tpl_vars['tabvalue']->value+1, null, 0);?>
            <li class="clearfix">
              <div class="submit-block clearfix">
              <span>&nbsp; </span>
              <div class="leftside01">&nbsp;</div>
              <div class="rightside01"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitPayment",'tabindex'=>$_smarty_tpl->tpl_vars['tabvaluebtn']->value,'id'=>"submitPayment",'class'=>"curve-3",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblUpdate'])),$_smarty_tpl);?>
 <?php echo $_smarty_tpl->tpl_vars['language']->value['lblOr'];?>
 
                <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>$_smarty_tpl->tpl_vars['previousURL']->value,'id'=>"cancel",'class'=>"cancelPayment",'tabindex'=>$_smarty_tpl->tpl_vars['tabvaluebtn']->value,'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblCancel'])),$_smarty_tpl);?>
 </div>
            </li>
          </ul>
          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>
 </div>
        <!--End:Table Listing--> 
      </div>
    </div>
  </div>
  <!--End:Content Container--> 
  <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 </div>
<!--End:Outer Container--> 
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->basepath_script(array(),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->rootpath_script(array(),$_smarty_tpl);?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/paymentAdd.page.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/validate.plugin.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/custom-radiobutton.js"></script> 
<script language="javascript" type="text/javascript">
if($("#transactionCurrencies").length>0) {
	$("#transactionCurrencies").chosen();
}
</script> 
<script type="text/javascript">
$(function(){
	 $("#perioddiv input").customInput('');
	});
	$(document).ready(function(e) {
	  $('.side_wrapper ul li a[rel=paymentgateway]').addClass('selected'); 
    });
</script> 
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>"formPaymentGateway"),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

</body>
</html>
<?php }} ?>