echo $k; ?> ][active]" <?php echo !empty($shipping_mode) && !empty($shipping_mode['active']) ? 'checked="checked"' : ''; ?> /></div> <?php $shipping_mode_option = get_option('wps_shipping_mode'); ?> <div class="wps-table-cell"><input type="radio" id="wps_shipping_mode_<?php echo $k; ?> _radio_default" name="wps_shipping_mode[default_choice]" value="<?php echo $k; ?> " <?php echo !empty($shipping_mode_option['default_choice']) && $shipping_mode_option['default_choice'] == $k ? 'checked="checked"' : ''; echo !empty($shipping_mode) && !empty($shipping_mode['active']) ? '' : 'disabled="disabled"'; ?> /></div> <!-- Configuration interface --> <div id="<?php echo $k; ?> _shipping_configuration_interface" style="display : none"> <?php $wps_shipping_mode_ctr = new wps_shipping_mode_ctr(); echo $wps_shipping_mode_ctr->generate_shipping_mode_interface($k, $shipping_mode); ?> </div> </div>