<?php /* Smarty version Smarty-3.1.15, created on 2015-04-29 11:15:14
         compiled from "/home/hushdogcafe/public_html/cube/modules/shipping/All_In_One_Shipping/skin/admin/shipping_rates.tpl" */ ?>
<?php /*%%SmartyHeaderCode:77740246455404cc215a2e6-47108559%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a982e9983e67f8da2a707f2a830f059a0a6b8e1c' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/modules/shipping/All_In_One_Shipping/skin/admin/shipping_rates.tpl',
      1 => 1397630346,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '77740246455404cc215a2e6-47108559',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'LANG' => 0,
    'MODULE' => 0,
    'zone' => 0,
    'RATES' => 0,
    'rate' => 0,
    'sep' => 0,
    'SKIN_VARS' => 0,
    'offset' => 0,
    'NEW_RATE' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_55404cc2547d57_79739477',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_55404cc2547d57_79739477')) {function content_55404cc2547d57_79739477($_smarty_tpl) {?>    <table class="list">
      <thead>
        <tr>
          <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['method_name_description'];?>
</th>
          <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['shipping_price'];?>
</th>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_weight']) {?><th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['weight_limits'];?>
</th><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_subtotal']) {?><th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['subtotal_limits'];?>
</th><?php }?>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_items']) {?><th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['total_quantity_of_items'];?>
</th><?php }?>
          <th colspan="2"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['rate_actions'];?>
</th>
        </tr>
      </thead>
      <tbody id="zone_<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
_rates">
        <?php if ($_smarty_tpl->tpl_vars['RATES']->value) {?>
        <?php  $_smarty_tpl->tpl_vars['rate'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['rate']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['RATES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['rate']->key => $_smarty_tpl->tpl_vars['rate']->value) {
$_smarty_tpl->tpl_vars['rate']->_loop = true;
?>
        <?php if ($_smarty_tpl->tpl_vars['rate']->value['zone_id']==$_smarty_tpl->tpl_vars['zone']->value['id']) {?>
        <tr>
          <td><span class="aios-editable aios-text" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][method_name]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['method_name'];?>
</span></td>
          <td>
            <?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('', null, 0);?>
            <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['use_flat']) {?>
            <?php echo $_smarty_tpl->tpl_vars['sep']->value;?>
<?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('+', null, 0);?>
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][flat_rate]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['flat_rate'];?>
</span>
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['use_item']) {?>
            <?php echo $_smarty_tpl->tpl_vars['sep']->value;?>
<?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('+', null, 0);?>
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][item_rate]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['item_rate'];?>
</span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['per_item'];?>

            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['use_percent']) {?>
            <?php echo $_smarty_tpl->tpl_vars['sep']->value;?>
<?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('+', null, 0);?>
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][percent_rate]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['percent_rate'];?>
</span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['percent_of_subtotal'];?>

            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['use_weight']) {?>
            <?php echo $_smarty_tpl->tpl_vars['sep']->value;?>
<?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('+', null, 0);?>
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][weight_rate]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['weight_rate'];?>
</span> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['per_weight'];?>

            <?php }?>
          </td>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_weight']) {?>
          <td>
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][min_weight]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['min_weight'];?>
</span> -
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][max_weight]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['max_weight'];?>
</span>
          </td>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_subtotal']) {?>
          <td>
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][min_value]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['min_value'];?>
</span> -
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][max_value]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['max_value'];?>
</span>
          </td>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_items']) {?>
          <td>
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][min_items]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['min_items'];?>
</span> -
            <span class="aios-editable aios-number" name="rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
][max_items]" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['click_to_edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['rate']->value['max_items'];?>
</span>
          </td>
          <?php }?>
          <td>
            <input type="hidden" name="update_rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
]" value="0" size="1" />
            <a href="#" class="aios-edit" rel="update_rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
]"><img src="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/images/edit.png" alt="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['edit_row'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['edit_row'];?>
" width="16" height="16" border="0" style="padding:0 5px;" /></a>
            
          </td>
          <td>
            <input type="hidden" name="delete_rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
]" value="0" size="1" />
            <a href="#" class="aios-remove" rel="delete_rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
]"><img src="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/images/delete.png" alt="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['delete_row'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['delete_row'];?>
" width="16" height="16" border="0" style="padding:0 5px;" /></a>
            <a href="#" class="aios-undo-remove" rel="delete_rates[<?php echo $_smarty_tpl->tpl_vars['rate']->value['id'];?>
]"><img src="modules/shipping/All_In_One_Shipping/skin/images/undo.png" alt="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['cancel_delete_row'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['cancel_delete_row'];?>
" width="16" height="16" border="0" style="padding:0 5px;" /></a>
          </td>
        </tr>
        <?php }?>
        <?php } ?>
        <?php }?>
        <tr>
          <td colspan="7">
            <a href="#" class="aios-add"><img src="<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['admin_folder'];?>
/skins/<?php echo $_smarty_tpl->tpl_vars['SKIN_VARS']->value['skin_folder'];?>
/images/add.png" alt="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['add_rows'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['add_rows'];?>
" width="16" height="16" border="0" style="padding:0 5px;" /><?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['add_new_shipping_rates'];?>
</a>
          </td>
        </tr>
        <?php  $_smarty_tpl->tpl_vars['offset'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['offset']->value = 0;
  if ($_smarty_tpl->tpl_vars['offset']->value<5) { for ($_foo=true;$_smarty_tpl->tpl_vars['offset']->value<5; $_smarty_tpl->tpl_vars['offset']->value++) {
?>
        <tr class="aios-add-rates-row">
          <td><input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][method_name]" size="25" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['method_name'];?>
" /></td>
          <td>
            <?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('', null, 0);?>
            <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['use_flat']) {?>
            <?php echo $_smarty_tpl->tpl_vars['sep']->value;?>
<?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('+', null, 0);?>
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][flat_rate]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['flat_rate'];?>
" />
            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['use_item']) {?>
            <?php echo $_smarty_tpl->tpl_vars['sep']->value;?>
<?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('+', null, 0);?>
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][item_rate]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['item_rate'];?>
" /> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['per_item'];?>

            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['use_percent']) {?>
            <?php echo $_smarty_tpl->tpl_vars['sep']->value;?>
<?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('+', null, 0);?>
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][percent_rate]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['percent_rate'];?>
" /> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['percent_of_subtotal'];?>

            <?php }?>
            <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['use_weight']) {?>
            <?php echo $_smarty_tpl->tpl_vars['sep']->value;?>
<?php $_smarty_tpl->tpl_vars['sep'] = new Smarty_variable('+', null, 0);?>
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][weight_rate]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['weight_rate'];?>
" /> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['allinoneshipping']['per_weight'];?>

            <?php }?>
          </td>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_weight']) {?>
          <td>
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][min_weight]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['min_weight'];?>
" class="min-weight" /> -
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][max_weight]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['max_weight'];?>
" class="max-weight" />
          </td>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_subtotal']) {?>
          <td>
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][min_value]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['min_value'];?>
" class="min-value" /> -
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][max_value]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['max_value'];?>
" class="max-value" />
          </td>
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['MODULE']->value['range_items']) {?>
          <td>
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][min_items]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['min_items'];?>
" class="min-items" /> -
            <input type="text" name="add_rates[<?php echo $_smarty_tpl->tpl_vars['zone']->value['id'];?>
][<?php echo $_smarty_tpl->tpl_vars['offset']->value;?>
][max_items]" size="7" value="<?php echo $_smarty_tpl->tpl_vars['NEW_RATE']->value['max_items'];?>
" class="max-items" />
          </td>
          <?php }?>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <?php }} ?> 
      </tbody>
    </table>
<?php }} ?>
