<?php /* Smarty version Smarty-3.1.8, created on 2019-10-30 10:03:26
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/DeliveryzoneList.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9884046795db927ae367164-50222387%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e1ebf13d32943669a195fd3208b982dc5b06a725' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/DeliveryzoneList.tpl',
      1 => 1572414193,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9884046795db927ae367164-50222387',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'deliveryZoneMode' => 0,
    'resBusiness' => 0,
    'resCountry' => 0,
    'stateID' => 0,
    'rsDeliveryzone' => 0,
    'editPrivilege' => 0,
    'deletePrivilege' => 0,
    'rsDeliveryzoneList' => 0,
    'curr_deliveryzoneID' => 0,
    'newstatus' => 0,
    'changeStatus' => 0,
    'statusoptions' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5db927ae490561_83063875',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5db927ae490561_83063875')) {function content_5db927ae490561_83063875($_smarty_tpl) {?><?php if (!is_callable('smarty_mb_wordwrap')) include '/home/stg70/public_html/agmc-v2/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['lblLocalizationSettings'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblDeliveryZones'];?>
</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 ('CommonCustomStyles.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" />
</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-->
  <!--***********************************************************************START CONTAINER SECTION******************************************************-->
  <div class="content_container2 clearfix">
    <div class="right-sidebar localization">
      <div class="side_wrapper"> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"deliveryzone/new/",'priv_href'=>"deliveryzone/new/",'class'=>"custom-btnt",'content'=>"<strong><span class='add'></span>".($_smarty_tpl->tpl_vars['language']->value['lblAddNewDeliveryZone'])."</strong>",'title'=>$_smarty_tpl->tpl_vars['language']->value['lblAddNewDeliveryZone']),$_smarty_tpl);?>

        <?php echo $_smarty_tpl->getSubTemplate ('localizationRighLinks.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['lblDeliveryZones'];?>
 </h2>
        <div id="common_message"></div>
         <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formDeliveryzoneListSearch",'action'=>'','method'=>"post"),$_smarty_tpl);?>

        <div class="search_container">
          <div class="inner wide-box">
           <ul class="clearfix">
            	<li class="column">
                	<p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblZoneMode'];?>
</p>
                    <span class="form-field01"><?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['language']->value['lblGlobal'])===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"deliveryZoneMode",'options'=>"->Any~*Global->".$_tmp1."~*Merchant->".($_smarty_tpl->tpl_vars['language']->value['lblBusiness']),'class'=>"select-box"),$_smarty_tpl);?>
</span>
                </li>
                    <li class="column" id="AjaxMerchant" <?php if ($_smarty_tpl->tpl_vars['deliveryZoneMode']->value!='Merchant'){?>  style="display:none"<?php }?>>
                	<p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblBusiness'];?>
</p>
                    <span class="form-field01"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"merchantID",'caption'=>"->Select",'options'=>$_smarty_tpl->tpl_vars['resBusiness']->value,'class'=>"select-box"),$_smarty_tpl);?>
</span>
                </li>
                <li class="column" ><p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDeliveryZoneName'];?>
</p>
                    <span class="form-field01"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"deliveryZoneName",'class'=>"text-box"),$_smarty_tpl);?>
 </span>
              </li>              
               <li class="column" ><p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCountry'];?>
</p>
                    <span class="form-field01">
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('onchange'=>"listStates(this.value,'');",'name'=>"countryID",'caption'=>"->Select",'options'=>$_smarty_tpl->tpl_vars['resCountry']->value,'class'=>"select-box"),$_smarty_tpl);?>

                    </span>
              </li>
                <li class="column" ><p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblState'];?>
</p>
                    <span class="form-field01">
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"stateID",'options'=>"->Select",'class'=>"select-box"),$_smarty_tpl);?>
<span id="loadProcessImage"></span>
                     <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"statehidValue",'value'=>$_smarty_tpl->tpl_vars['stateID']->value),$_smarty_tpl);?>

                    </span>
              </li>   
                     <li class="column" ><p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblZipCode'];?>
</p>
                    <span class="form-field01"><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"zipcode",'class'=>"text-box"),$_smarty_tpl);?>
 </span>
              </li>  
              <li class="column"><p class="label-field01">&nbsp;</p>
                	 <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitSearch",'form'=>"formDeliveryzoneListSearch",'id'=>"submit",'class'=>"button01",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSearch'])),$_smarty_tpl);?>

                  <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"deliveryzone/index/",'class'=>"action-link",'content'=>($_smarty_tpl->tpl_vars['language']->value['lblListAll'])),$_smarty_tpl);?>

                  </li>
           </ul>
        </div>
      </div>
        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>
  
        <?php echo $_smarty_tpl->getSubTemplate ('ContentLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

          <div class="leftblock ">
          <div class="clear"></div>
        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formDeliveryzoneList",'method'=>"post"),$_smarty_tpl);?>

        <?php if ($_smarty_tpl->tpl_vars['rsDeliveryzone']->value){?>
        <div class="grid_table00">
          <table width="100%" border="0" cellspacing="0" cellpadding="0"   >
            <tr>
			<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
              <th align="left" valign="middle"  class="checkbox_column" width="5%"> <div class="chekingdiv">
                  <ul>
                    <li> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('id'=>"ListStatusLinkCheckbox",'name'=>"deliveryzoneStatusAll",'options'=>'','class'=>"fixing_left"),$_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="25%" align="left" valign="middle" ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDeliveryZones'];?>
</th>
			  <th width="10%" align="left" valign="middle" ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblZoneType'];?>
</th>
                           <th width="15%" align="left" valign="middle" ><?php echo $_smarty_tpl->tpl_vars['language']->value['lblZoneMode'];?>
</th>
              <th width="35%" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDescription'];?>
 </th>
			  <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
              <th width="10" align="left" valign="middle" >&nbsp;</th>
			  <?php }?>
            </tr>
            <?php  $_smarty_tpl->tpl_vars["rsDeliveryzoneList"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["rsDeliveryzoneList"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['rsDeliveryzone']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars["rsDeliveryzoneList"]->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars["rsDeliveryzoneList"]->key => $_smarty_tpl->tpl_vars["rsDeliveryzoneList"]->value){
$_smarty_tpl->tpl_vars["rsDeliveryzoneList"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["rsDeliveryzoneList"]->key;
 $_smarty_tpl->tpl_vars["rsDeliveryzoneList"]->iteration++;
?>
            <?php $_smarty_tpl->tpl_vars["curr_deliveryzoneID"] = new Smarty_variable($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID'], null, 0);?>
            <tr <?php if (!(1 & $_smarty_tpl->tpl_vars['rsDeliveryzoneList']->iteration / 1)){?> class="shade01" <?php }?>> 
			<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
              <td align="left" valign="top" class="checkbox_column"><span id="class_checkbox"><?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneStatus']=='Active'){?><?php echo "ListActive";?><?php }else{ ?><?php echo "ListInactive";?><?php }?><?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"deliveryzoneBulkStatus[]",'class'=>"deliveryzoneBulkStatus ListAll ".$_tmp2,'options'=>'','value'=>$_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID']),$_smarty_tpl);?>
 </span></td>
              <?php }?>
              <td align="left" valign="top">
				<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>
					<span  class="view_<?php echo $_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID'];?>
">
						<?php ob_start();?><?php echo smarty_mb_wordwrap($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneName'],25,"<br />
					",true);?>
<?php $_tmp3=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"deliveryzone/view/id/".($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID'])."/",'class'=>"normal_link",'content'=>$_tmp3),$_smarty_tpl);?>

					</span>
				<?php }else{ ?>
					<?php echo smarty_mb_wordwrap($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneName'],25,"<br />
					",true);?>

				<?php }?>
				</td>
				<td align="left" valign="top"><span  class="view_<?php echo $_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID'];?>
"><?php echo $_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneType'];?>
</span></td>
                                 <td align="left" valign="top"><span  class="view_<?php echo $_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID'];?>
">
                   <?php echo $_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneMode'];?>
<?php if ($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneMode']=='Merchant'){?>( <?php echo $_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['businessKey'];?>
 )<?php }?></span></td>
          
              <td align="left" valign="top"><span  class="view_<?php echo $_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID'];?>
"><?php echo smarty_mb_wordwrap($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneDescription'],70,"<br />
                ",true);?>
</span></td>
				<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
              <td align="left" valign="top"> 
				<?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value){?>
					<?php if ((($tmp = @$_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['taxClassCount'])===null||$tmp==='' ? '' : $tmp)>0){?>
						<?php ob_start();?><?php echo strtolower($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneStatus']);?>
<?php $_tmp4=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('alert'=>($_smarty_tpl->tpl_vars['language']->value['lblDeliveryAlert']),'alt'=>($_smarty_tpl->tpl_vars['language']->value['lblDeliveryAlt']),'class'=>"status-".$_tmp4),$_smarty_tpl);?>

					<?php }else{ ?> 
						<?php if ($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneStatus']=="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('id'=>($_smarty_tpl->tpl_vars['curr_deliveryzoneID']->value),'rel'=>($_smarty_tpl->tpl_vars['newstatus']->value),'title'=>($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneStatus']),'content'=>'','class'=>($_smarty_tpl->tpl_vars['changeStatus']->value)." icon-set",'task'=>'status-change'),$_smarty_tpl);?>

					<?php }?>
					<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"deliveryzone/edit/id/".($_smarty_tpl->tpl_vars['curr_deliveryzoneID']->value)."/",'history'=>"yes",'caption'=>'','class'=>"edit02 icon-set",'alt'=>"Edit"),$_smarty_tpl);?>
&nbsp;
				<?php }?>	
				<?php if ($_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
					<?php if ((($tmp = @$_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['taxClassCount'])===null||$tmp==='' ? '' : $tmp)>0){?>
						<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('alert'=>($_smarty_tpl->tpl_vars['language']->value['lblDeliveryDeleteStatus']),'alt'=>($_smarty_tpl->tpl_vars['language']->value['lblGoeDeleteAlt']),'class'=>"delete-inactive",'id'=>"deliveryImage_".($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID'])),$_smarty_tpl);?>
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"delid[]",'value'=>$_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID']),$_smarty_tpl);?>

					<?php }else{ ?>
						<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('confirm'=>($_smarty_tpl->tpl_vars['language']->value['lblDeliveryDeleteAlert']),'href'=>"deliveryzone/destroy/id/".($_smarty_tpl->tpl_vars['curr_deliveryzoneID']->value)."/",'alt'=>"Delete",'class'=>"delete02 icon-set",'id'=>"deliveryImage_".($_smarty_tpl->tpl_vars['rsDeliveryzoneList']->value['deliveryZoneID'])),$_smarty_tpl);?>

					<?php }?>
				<?php }?>	
			</td>
			<?php }?>
            </tr>
            <?php } ?>
            <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('id'=>"checkHidden",'name'=>"checkHidden",'value'=>count($_smarty_tpl->tpl_vars['rsDeliveryzone']->value)),$_smarty_tpl);?>

          </table>
        </div>
        <?php if ($_smarty_tpl->tpl_vars['editPrivilege']->value||$_smarty_tpl->tpl_vars['deletePrivilege']->value){?>
        
        <?php if ($_smarty_tpl->tpl_vars['deletePrivilege']->value&&$_smarty_tpl->tpl_vars['editPrivilege']->value){?>
        <?php $_smarty_tpl->tpl_vars["statusoptions"] = new Smarty_variable("->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange'])."~*Active->".($_smarty_tpl->tpl_vars['language']->value['lblActivate'])."~*Inactive->".($_smarty_tpl->tpl_vars['language']->value['lblInactivate'])."~*Deleted->".($_smarty_tpl->tpl_vars['language']->value['lblDelete']), null, 0);?>
        <?php }elseif($_smarty_tpl->tpl_vars['deletePrivilege']->value&&(!$_smarty_tpl->tpl_vars['editPrivilege']->value)){?> 
        <?php $_smarty_tpl->tpl_vars["statusoptions"] = new Smarty_variable("->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange'])."~*Deleted->".($_smarty_tpl->tpl_vars['language']->value['lblDelete']), null, 0);?> 
        <?php }elseif((!$_smarty_tpl->tpl_vars['deletePrivilege']->value)&&$_smarty_tpl->tpl_vars['editPrivilege']->value){?> 
        <?php $_smarty_tpl->tpl_vars["statusoptions"] = new Smarty_variable("->".($_smarty_tpl->tpl_vars['language']->value['lblDonotchange'])."~*Active->".($_smarty_tpl->tpl_vars['language']->value['lblActivate'])."~*Inactive->".($_smarty_tpl->tpl_vars['language']->value['lblInactivate']), null, 0);?> 
        <?php }?>
        <div class="action_box"> <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"deliveryZoneStatus",'class'=>"select-box width-auto",'options'=>$_smarty_tpl->tpl_vars['statusoptions']->value,'value'=>''),$_smarty_tpl);?>

          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitBulkStatus",'id'=>"submitBulkStatus",'class'=>"update_btn_table submitBulkStatus button04",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblUpdate'])),$_smarty_tpl);?>
 </div>
        <?php }?>
        <div class="fixing_right pagination_outer" > <?php echo $_smarty_tpl->smarty->registered_objects['paginate'][0]->layout(array('key'=>"page"),$_smarty_tpl);?>
 </div>
        <div class="clear"></div>
        <?php }else{ ?>
        <div class="message_info" id="common_message"> <?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoDeliveryZonesforlisting'];?>
</div>
        <?php }?>
        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

        <!--End:From Listing-->
        </div>
      </div>
    </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);?>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/deliveryzone.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'];?>
';
var lblDeliveryDeleteAlert = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblDeliveryDeleteAlert'];?>
";

$(document).ready(function(){
    $('#deliveryZoneMode').change(function(){
        if($(this).val()=='Merchant')
        $('#AjaxMerchant').show();
        else  $('#AjaxMerchant').hide();
    })
	$('.side_wrapper ul li a[rel=deliveryzone]').addClass('selected'); 
	setSideMenu();
});

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

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