<?php /* Smarty version Smarty-3.1.8, created on 2020-05-08 14:19:11
         compiled from "/home/agmc/beta/application/core/views/manage/standard/PaymentGatewayList.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9154257995e26e984dc0089-71729733%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b0aabb5f965b823f418bfae6b771ddf3c14b0e6f' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/PaymentGatewayList.tpl',
      1 => 1588855813,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9154257995e26e984dc0089-71729733',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e26e984e16757_36748443',
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'resListPayments' => 0,
    'editPrivilege' => 0,
    'resPayment' => 0,
    'paySetGroupID' => 0,
    'showPrivilege' => 0,
    'paymentMethod' => 0,
    'key1' => 0,
    'testRequestValue' => 0,
    'newstatus' => 0,
    'changeStatus' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e26e984e16757_36748443')) {function content_5e26e984e16757_36748443($_smarty_tpl) {?><?php if (!is_callable('smarty_mb_wordwrap')) include '/home/agmc/beta/library/template/plugins/shared.mb_wordwrap.php';
?><!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['lblPaymentGateways'];?>
</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;?>
/grid_listing.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); ?>

</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-->
  <!--***********************************************************************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['lblPaymentGateways'];?>
</h2>
          <div id="common_message" ></div>
               <div class="grid_table00"> <?php if ($_smarty_tpl->tpl_vars['resListPayments']->value){?>
            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formPaymentGateway",'action'=>'','method'=>"post"),$_smarty_tpl);?>

            <table width="100%" border="0" cellspacing="0" cellpadding="0" <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>id="tableElm" class="dragdrop-table-border"<?php }?>>
            <thead>
              <tr class="nodrag nodrop">
                <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?> <th width="31"  align="left" valign="middle"  class="checkbox_column"> <div class="chekingdiv">
                    <ul>
                      <li class="clearfix"> 
                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"ListStatusLinkCheckbox",'class'=>"fixing_left",'name'=>"ListStatusLinkCheckbox"),$_smarty_tpl);?>
 
                      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','id'=>"ListStatusLink",'class'=>"status-arw fixing_left",'alt'=>"down arrow"),$_smarty_tpl);?>

                        <ul id="ListStatusSelection" class="check_status">
                          <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListActive",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblActive']),$_smarty_tpl);?>
</li>
                          <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListInactive",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblInactive']),$_smarty_tpl);?>
</li>
                          <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','rel'=>"ListAll",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblSelectAll']),$_smarty_tpl);?>
</li>
                        </ul>
                      </li>
                    </ul>
                  </div></th><?php }?>
                <th  width="" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPaymentMethod'];?>
</th>
                <th width="12%"  align="left" valign="middle">
                    <?php echo $_smarty_tpl->tpl_vars['language']->value['lblTestMode'];?>

                  </th>
				<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>
					<th align="left" valign="middle" width="48"></th>
				<?php }?>		
              </tr>
            </thead>
            <tbody  border="0" cellspacing="0" cellpadding="0" >             
              <?php  $_smarty_tpl->tpl_vars["resPayment"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["resPayment"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resListPayments']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["resPayment"]->key => $_smarty_tpl->tpl_vars["resPayment"]->value){
$_smarty_tpl->tpl_vars["resPayment"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["resPayment"]->key;
?>              
              <?php $_smarty_tpl->tpl_vars["paySetGroupID"] = new Smarty_variable($_smarty_tpl->tpl_vars['resPayment']->value['paySetGroupID'], null, 0);?>
              <?php $_smarty_tpl->tpl_vars["paymentMethod"] = new Smarty_variable($_smarty_tpl->tpl_vars['resPayment']->value['paySetGroupLabel'], null, 0);?>
              <tr id="<?php echo $_smarty_tpl->tpl_vars['paySetGroupID']->value;?>
" class="listClass_<?php echo $_smarty_tpl->tpl_vars['paySetGroupID']->value;?>
 "  <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>style="cursor:move;"<?php }?>>
               <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>
				<td align="left"  valign="middle" class="checkbox_column"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"check_".($_smarty_tpl->tpl_vars['paySetGroupID']->value),'name'=>"checkPaymentIDs[]",'class'=>("checkbox01 ListAll List").($_smarty_tpl->tpl_vars['resPayment']->value['paySetGroupStatus']),'value'=>$_smarty_tpl->tpl_vars['paySetGroupID']->value),$_smarty_tpl);?>
</td>
				<?php }?>
                <td align="left"  valign="middle">
					<?php if ($_smarty_tpl->tpl_vars['showPrivilege']->value){?>
						<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('history'=>"yes",'href'=>"paymentgateway/show/id/".($_smarty_tpl->tpl_vars['paySetGroupID']->value)."/",'caption'=>smarty_mb_wordwrap($_smarty_tpl->tpl_vars['paymentMethod']->value,60,"<br /> \n",true),'class'=>"normal_link"),$_smarty_tpl);?>

					<?php }else{ ?>
						<?php echo smarty_mb_wordwrap($_smarty_tpl->tpl_vars['paymentMethod']->value,60,"<br /> \n",true);?>

					<?php }?>
				</td>
                <td align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['testRequestValue']->value[$_smarty_tpl->tpl_vars['key1']->value];?>
</td>
				<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>
                <td align="left"  valign="top">
               
                  <?php if ($_smarty_tpl->tpl_vars['resPayment']->value['paySetGroupStatus']=='Active'){?>
                  <?php $_smarty_tpl->tpl_vars["newstatus"] = new Smarty_variable("Inactive", null, 0);?>
                  <?php $_smarty_tpl->tpl_vars["changeStatus"] = new Smarty_variable("status-active", null, 0);?>
                  <?php }else{ ?>
                  <?php $_smarty_tpl->tpl_vars["newstatus"] = new Smarty_variable("Active", null, 0);?>
                  <?php $_smarty_tpl->tpl_vars["changeStatus"] = new Smarty_variable("status-inactive", null, 0);?>
                  <?php }?>
                   <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('rel'=>($_smarty_tpl->tpl_vars['newstatus']->value),'id'=>($_smarty_tpl->tpl_vars['paySetGroupID']->value),'title'=>($_smarty_tpl->tpl_vars['resPayment']->value['paySetGroupStatus']),'class'=>($_smarty_tpl->tpl_vars['changeStatus']->value)." changeStatus icon-set",'task'=>'status-change'),$_smarty_tpl);?>

                    <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('history'=>"yes",'href'=>"paymentgateway/edit/id/".($_smarty_tpl->tpl_vars['paySetGroupID']->value)."/",'class'=>"edit02 icon-set",'title'=>$_smarty_tpl->tpl_vars['language']->value['lblEditPayment']),$_smarty_tpl);?>
 
                </td>
				<?php }?>
              </tr>
              <?php } ?>     
             </tbody>
            </table>
            </div>
           <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?> 
            <div class="action_box">
             <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('id'=>"paymentStatusList",'class'=>"select-box width-auto",'name'=>"changeStatus",'options'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange'])."~*Active->".($_smarty_tpl->tpl_vars['language']->value['lblActivate'])."~*Inactive->".($_smarty_tpl->tpl_vars['language']->value['lblInactivate'])),$_smarty_tpl);?>

        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitPayment",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblUpdate']),'class'=>"button04 update_btn_table"),$_smarty_tpl);?>
 </div> 
         <?php }?>     
                  <div class="clear"></div>
            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

            <?php }else{ ?>
            <div id="common_message"  class="message_info"> <?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
            <?php }?> 
            
          <!--End:Table Listing-->
      
      </div>
      <!--End:Border 2-->
    </div>
    <!--End: left Block-->
   
  </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->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

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

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

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.tablednd.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/payment.page.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/table.plugin.js"></script>
<script type="text/javascript" >
var lblSelectAction			= '<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectAction'];?>
';
var lblSelectItem			= '<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectItem'];?>
';
	$(document).ready(function(e) {
	  $('.side_wrapper ul li a[rel=paymentgateway]').addClass('selected'); 
	  setSideMenu();
    });
</script>
<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

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