action_status; $message = $this->action_message; $this->action_status = 'none'; $this->action_message = ''; $delivery_method = isset($this->options['delivery_method']) ? $this->options['delivery_method'] : array(); $shipping_charge = isset($this->options['shipping_charge']) ? $this->options['shipping_charge'] : array(); // $prefs = get_option('usces_pref'); //20110317ysk start //$prefs = $this->options['province']; //array_shift($prefs); //global $usces_states; $target_market = ( isset($this->options['system']['target_market']) && !empty($this->options['system']['target_market']) ) ? $this->options['system']['target_market'] : usces_get_local_target_market(); foreach((array)$target_market as $tm) { //20110331ysk start //$prefs[$tm] = $usces_states[$tm]; $prefs[$tm] = get_usces_states($tm); //20110331ysk end array_shift($prefs[$tm]); } //20110317ysk end //20101208ysk start $delivery_time_limit['hour'] = isset($this->options['delivery_time_limit']['hour']) ? $this->options['delivery_time_limit']['hour'] : '00'; $delivery_time_limit['min'] = isset($this->options['delivery_time_limit']['min']) ? $this->options['delivery_time_limit']['min'] : '00'; $shortest_delivery_time = isset($this->options['shortest_delivery_time']) ? $this->options['shortest_delivery_time'] : '0'; $delivery_after_days = (empty($this->options['delivery_after_days'])) ? 15 : (int)$this->options['delivery_after_days']; $delivery_days = isset($this->options['delivery_days']) ? $this->options['delivery_days'] : array(); //20101208ysk end //20110317ysk start $base_country = $this->options['system']['base_country']; //20110317ysk end ?>