prefix . "usces_order"; $arr_column = array( __('ID', 'usces') => 'ID', __('Order number', 'usces') => 'deco_id', __('date', 'usces') => 'date', __('membership number', 'usces') => 'mem_id', __('name', 'usces') => 'name', __('Region', 'usces') => 'pref', __('shipping option', 'usces') => 'delivery_method', __('Amount', 'usces').'('.__(usces_crcode( 'return' ), 'usces').')' => 'total_price', __('payment method', 'usces') => 'payment_name', __('transfer statement', 'usces') => 'receipt_status', __('Processing', 'usces') => 'order_status', apply_filters('usces_filter_admin_modified_label', __('shpping date', 'usces') ) => 'order_modified'); $arr_column = apply_filters( 'usces_filter_order_list_column', $arr_column ); $DT = new dataList($tableName, $arr_column); $res = $DT->MakeTable(); $arr_search = $DT->GetSearchs(); $arr_status = apply_filters( 'usces_filter_management_status', get_option('usces_management_status') ); $arr_header = $DT->GetListheaders(); $dataTableNavigation = $DT->GetDataTableNavigation(); $rows = $DT->rows; $status = $DT->get_action_status(); $message = $DT->get_action_message(); //$pref = get_option('usces_pref'); //20110331ysk start //$pref = $usces->options['province']; $pref = array(); $target_market = $this->options['system']['target_market']; foreach((array)$target_market as $country) { $prefs = get_usces_states($country); if(is_array($prefs) and 0 < count($prefs)) { $pos = strpos($prefs[0], '--'); if($pos !== false) array_shift($prefs); foreach((array)$prefs as $state) { $pref[] = $state; } } } //20110331ysk end $payment_name = array(); $payments = usces_get_system_option( 'usces_payment_method', 'sort' ); foreach ( (array)$payments as $id => $array ) { $payment_name[$id] = $array['name']; } foreach((array)$arr_status as $key => $value){ if($key == 'noreceipt' || $key == 'receipted' || $key == 'pending'){ $receipt_status[$key] = $value; }else{ $order_status[$key] = $value; } } $order_status['new'] = __('new order', 'usces'); $curent_url = urlencode(USCES_ADMIN_URL . '?' . $_SERVER['QUERY_STRING']); //20100908ysk start $csod_meta = usces_has_custom_field_meta('order'); $cscs_meta = usces_has_custom_field_meta('customer'); $csde_meta = usces_has_custom_field_meta('delivery'); $usces_opt_order = get_option('usces_opt_order'); $chk_pro = ( isset($usces_opt_order['chk_pro']) ) ? $usces_opt_order['chk_pro'] : array(); $chk_ord = ( isset($usces_opt_order['chk_ord']) ) ? $usces_opt_order['chk_ord'] : array(); //20100908ysk end //20110411ysk start $applyform = usces_get_apply_addressform($this->options['system']['addressform']); //20110411ysk end ?>