/* Smarty version 2.6.26, created on 2015-12-04 09:31:06
   compiled from custom:checkout/block/shipmentSelectShippingRateFields.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'radio', 'custom:checkout/block/shipmentSelectShippingRateFields.tpl', 3, false), array('function', 'translate', 'custom:checkout/block/shipmentSelectShippingRateFields.tpl', 31, false), array('modifier', 'count', 'custom:checkout/block/shipmentSelectShippingRateFields.tpl', 12, false), array('modifier', 'escape', 'custom:checkout/block/shipmentSelectShippingRateFields.tpl', 28, false), array('block', 'error', 'custom:checkout/block/shipmentSelectShippingRateFields.tpl', 45, false))), $this);
$_from = $this->_tpl_vars['rates'][$this->_tpl_vars['key']];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->_foreach['rates'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['rates']['total'] > 0) {
    foreach ($_from as $this->_tpl_vars['rate']) {
        $this->_foreach['rates']['iteration']++;
        ?>
	<p>
		<?php 
        echo smarty_function_radio(array('name' => "shipping_" . $this->_tpl_vars['key'], 'id' => "shipping_" . $this->_tpl_vars['key'] . "_" . $this->_tpl_vars['rate']['serviceID'], 'value' => $this->_tpl_vars['rate']['serviceID'], 'class' => 'radio'), $this);
        ?>

		<label for="shipping_<?php 
        echo $this->_tpl_vars['key'];
        ?>
_<?php 
        echo $this->_tpl_vars['rate']['serviceID'];
        ?>
" class="radio">
			<?php 
        echo $this->_tpl_vars['rate']['ShippingService']['name_lang'];
        ?>

			(&rlm;<strong><?php 
        echo $this->_tpl_vars['rate']['taxPrice'][$this->_tpl_vars['currency']];
            ?>
"><?php 
            echo smarty_function_translate(array('text' => '_edit_address'), $this);
            ?>
</a>
				</td>
			</tr>
		<?php 
        }
    }
    unset($_from);
    ?>
		<tr>
			<td class="selector addAddress">
				<?php 
    echo smarty_function_radio(array('class' => 'radio', 'name' => $this->_tpl_vars['prefix'] . "Address", 'id' => $this->_tpl_vars['prefix'] . "_new", 'value' => ""), $this);
    ?>

			</td>
			<td class="address addAddress">
				<label for="<?php 
    echo $this->_tpl_vars['prefix'];
    ?>
_new" class="radio"><?php 
    echo smarty_function_translate(array('text' => "_new_" . $this->_tpl_vars['prefix'] . "_address"), $this);
    ?>
</label>
				<div class="address">
					<div class="addressBlock">
						<?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
                            echo $this->_tpl_vars['doctor']['doctorName'];
                            ?>
</h4>
                                <?php 
                        }
                        ?>
                                <?php 
                        $_from = $this->_tpl_vars['doctor']['times'];
                        if (!is_array($_from) && !is_object($_from)) {
                            settype($_from, 'array');
                        }
                        if (count($_from)) {
                            foreach ($_from as $this->_tpl_vars['time'] => $this->_tpl_vars['id']) {
                                ?>
                                    <?php 
                                echo smarty_function_radio(array('name' => 'time', 'value' => $this->_tpl_vars['id'], 'class' => 'radio', 'style' => $this->_tpl_vars['requestTimeStyle']), $this);
                                ?>
 <?php 
                                echo is_array($_tmp = $this->_tpl_vars['time']) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 5) : substr($_tmp, 0, 5);
                                ?>
 <br/>
                                <?php 
                            }
                        }
                        unset($_from);
                        ?>
                            <?php 
                    }
                }
                unset($_from);
                ?>
                    $this->_sections['rate']['index_next'] = $this->_sections['rate']['index'] + $this->_sections['rate']['step'];
                    $this->_sections['rate']['first'] = $this->_sections['rate']['iteration'] == 1;
                    $this->_sections['rate']['last'] = $this->_sections['rate']['iteration'] == $this->_sections['rate']['total'];
                    ?>
			<?php 
                    $this->assign('index', $this->_sections['rate']['index'] + 1);
                    ?>
			<td class="<?php 
                    if ($this->_sections['rate']['last']) {
                        ?>
value<?php 
                    }
                    ?>
">
				<?php 
                    echo smarty_function_radio(array('name' => "rating_" . $this->_tpl_vars['type']['ID'], 'value' => $this->_tpl_vars['index'], 'onchange' => "Product.Rating.prototype.updatePreview(event);"), $this);
                    ?>

				<?php 
                    if ($this->_sections['rate']['last']) {
                        ?>
					<div class="errorText hidden"><?php 
                        $this->_tag_stack[] = array('error', array('for' => "rating_" . $this->_tpl_vars['type']['ID']));
                        $_block_repeat = true;
                        smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
                        while ($_block_repeat) {
                            ob_start();
                            $_block_content = ob_get_contents();
                            ob_end_clean();
                            $_block_repeat = false;
                            echo smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);