PluginProbe
Welcart e-Commerce / 1.4.11
Welcart e-Commerce v1.4.11
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
usc-e-shop / includes / initial.php

initial.php in Welcart e-Commerce 1.4.11, at includes/initial.php

633 lines 29.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $zaiko_status = array(
3 '0' => __('In Stock', 'usces'),
4 '1' => __('A Few Stock', 'usces'),
5 '2' => __('Sold Out', 'usces'),
6 '3' => __('Out Of Stock', 'usces'),
7 '4' => __('Out of print', 'usces')
8 );
9 $management_status = array(
10 'estimate' => __('An estimate', 'usces'),
11 'adminorder' => __('Management of Note', 'usces'),
12 'noreceipt' => __('unpaid', 'usces'),
13 'receipted' => __('payment confirmed', 'usces'),
14 'duringorder' => __('temporaly out of stock', 'usces'),
15 'cancel' => __('Cancel', 'usces'),
16 'completion' => __('It has sent it out.', 'usces'),
17 'pending' => __('Pending', 'usces'),
18 // 'continuation' => __('Continuation', 'usces'),
19 // 'termination' => __('Termination', 'usces'),
20 );
21
22 $customer_status = array(
23 '0' => __('notmal member', 'usces'),
24 '1' => __('good member', 'usces'),
25 '2' => __('VIP member', 'usces'),
26 '99' => __('bad member', 'usces')
27 );
28
29 $payment_structure = array(
30 'acting' => __('The representation supplier settlement', 'usces'),
31 'transferAdvance' => __('Transfer (prepayment)', 'usces'),
32 'transferDeferred' => __('Transfer (postpay)', 'usces'),
33 'COD' => __('COD', 'usces'),
34 'installment' => __('Payment in installments', 'usces')
35 );
36
37 $display_mode = array(
38 'Usualsale' => __('Normal business', 'usces'),
39 'Promotionsale' => __('During the campaign', 'usces'),
40 'Maintenancemode' => __('Under Maintenance', 'usces')
41 );
42
43 $shipping_rule = array(
44 '0' => __('-- Select --', 'usces'),
45 '1' => __('immediately', 'usces'),
46 '2' => __('1-2 days', 'usces'),
47 '3' => __('2-3days', 'usces'),
48 '4' => __('3-5days', 'usces'),
49 '5' => __('4-6days', 'usces'),
50 '6' => __('about 1 week later', 'usces'),
51 '7' => __('about 2 weeks later', 'usces'),
52 '8' => __('about 3 weeks later', 'usces'),
53 '9' => __('after we get new items', 'usces')
54 );
55
56 $shipping_indication = array(0, 0, 2, 3, 5, 6, 7, 14, 21, 0);
57
58 //20100914ysk start
59 //$item_option_select = array(__('Single-select','usces'), __('Multi-select','usces'), __('Text','usces'));
60 $item_option_select = array(
61 '0' => __('Single-select', 'usces'),
62 '1' => __('Multi-select', 'usces'),
63 '2' => __('Text', 'usces'),
64 '3' => __('Radio-button', 'usces'),
65 '4' => __('Check-box', 'usces'),
66 '5' => __('Text-area', 'usces')
67 );
68 //20100914ysk end
69
70 //20100818ysk start
71 //20100809ysk start
72 $custom_order_select = array(
73 '0' => __('Single-select', 'usces'),
74 '2' => __('Text', 'usces'),
75 '3' => __('Radio-button', 'usces'),
76 '4' => __('Check-box', 'usces')
77 );
78 //20100809ysk end
79 $custom_customer_select = array(
80 '0' => __('Single-select', 'usces'),
81 '2' => __('Text', 'usces'),
82 '3' => __('Radio-button', 'usces'),
83 '4' => __('Check-box', 'usces')
84 );
85 $custom_delivery_select = array(
86 '0' => __('Single-select', 'usces'),
87 '2' => __('Text', 'usces'),
88 '3' => __('Radio-button', 'usces'),
89 '4' => __('Check-box', 'usces')
90 );
91 $custom_member_select = array(
92 '0' => __('Single-select', 'usces'),
93 '2' => __('Text', 'usces'),
94 '3' => __('Radio-button', 'usces'),
95 '4' => __('Check-box', 'usces')
96 );
97 $custom_field_position_select = array(
98 'name_pre' => __('Previous the name', 'usces'),
99 'name_after' => __('After the name', 'usces'),
100 'fax_after' => __('After the fax', 'usces')
101 );
102
103 //20100818ysk end
104 //20110331ysk start
105 /*
106 $province_ja = array(__('-- Select --', 'usces'),"北海道","青森県","岩手県","宮城県","秋田県","山形県","福島県","茨城県",
107 "栃木県","群馬県","埼玉県","千葉県","東京都","神奈川県","新潟県","富山県","石川県",
108 "福井県","山梨県","長野県","岐阜県","静岡県","愛知県","三重県","滋賀県","京都府",
109 "大阪府","�
110 �庫県","奈良県","和歌山県","鳥取県","島根県","岡山県","広島県","山口県",
111 "徳島県","香川県","愛媛県","高知県","福岡県","佐賀県","長崎県","熊本県","大分県",
112 "宮崎県","鹿�
113 �島県","沖縄県");
114 $province_en = array(__('-- Select --', 'usces'),"Alabama","Alaska","Arizona","Arkansas","California","Colorado",
115 "Connecticut","Delaware","District of Columbia","Florida","Georgia","Hawaii",
116 "Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine",
117 "Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri",
118 "Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York",
119 "North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania",
120 "Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont",
121 "Virginia","Washington","West Virginia","Wisconsin","Wyoming");
122 $usces_pref = ( 'ja' == get_locale() ) ? $province_ja : $province_en;
123 */
124 //20110331ysk end
125
126 $usces_secure_link = array('zeus');
127
128
129 update_option('usces_management_status',$management_status);
130 update_option('usces_zaiko_status',$zaiko_status);
131 update_option('usces_customer_status',$customer_status);
132 if( !get_option('usces_payment_structure') )
133 update_option('usces_payment_structure',$payment_structure);
134 update_option('usces_display_mode',$display_mode);
135 //20110331ysk start
136 //update_option('usces_pref',$usces_pref);
137 //20110331ysk end
138 update_option('usces_shipping_rule',$shipping_rule);
139 update_option('usces_item_option_select',$item_option_select);
140 //20100809ysk start
141 update_option('usces_custom_order_select', $custom_order_select);
142 //20100809ysk end
143 //20100818ysk start
144 update_option('usces_custom_customer_select', $custom_customer_select);
145 update_option('usces_custom_delivery_select', $custom_delivery_select);
146 update_option('usces_custom_member_select', $custom_member_select);
147 update_option('usces_custom_field_position_select', $custom_field_position_select);
148 //20100818ysk end
149
150 update_option('usces_currency_symbol',__('$', 'usces'));
151 update_option('usces_secure_link', $usces_secure_link);
152 if(!get_option('usces_wcid'))
153 update_option('usces_wcid', md5(uniqid(rand(),1)));
154
155 update_option('usces_secure_link', $usces_secure_link);
156 update_option('usces_secure_link', $usces_secure_link);
157
158 $usces_op = get_option('usces');
159 if( !is_array($usces_op) || empty($usces_op) ){
160 $usces_op = array();
161 }
162 $uop_init['company_name'] = isset($usces_op['company_name']) ? $usces_op['company_name'] : '';
163 $uop_init['zip_code'] = isset($usces_op['zip_code']) ? $usces_op['zip_code'] : '';
164 $uop_init['address1'] = isset($usces_op['address1']) ? $usces_op['address1'] : '';
165 $uop_init['address2'] = isset($usces_op['address2']) ? $usces_op['address2'] : '';
166 $uop_init['tel_number'] = isset($usces_op['tel_number']) ? $usces_op['tel_number'] : '';
167 $uop_init['fax_number'] = isset($usces_op['fax_number']) ? $usces_op['fax_number'] : '';
168 $uop_init['inquiry_mail'] = isset($usces_op['inquiry_mail']) ? $usces_op['inquiry_mail'] : '';
169
170 $usces_op['mail_default']['title']['thankyou'] = __('Confirmation of order details', 'usces');
171 $usces_op['mail_default']['title']['order'] = __('An order report', 'usces');
172 $usces_op['mail_default']['title']['inquiry'] = __('Your question is sent', 'usces');
173 $usces_op['mail_default']['title']['returninq'] = __('About your question', 'usces');
174 $usces_op['mail_default']['title']['membercomp'] = __('Comfirmation of your registration for membership', 'usces');
175 $usces_op['mail_default']['title']['completionmail'] = __('Information for shipping of your ordered items', 'usces');
176 $usces_op['mail_default']['title']['ordermail'] = __('Confirmation of order details', 'usces');
177 $usces_op['mail_default']['title']['changemail'] = __('Confirmation of change for your order details', 'usces');
178 $usces_op['mail_default']['title']['receiptmail'] = __('Confirmation mail for your transfer', 'usces');
179 $usces_op['mail_default']['title']['mitumorimail'] = __('Estimate', 'usces');
180 $usces_op['mail_default']['title']['cancelmail'] = __('Confirmatin of your cancellation', 'usces');
181 $usces_op['mail_default']['title']['othermail'] = "[]";
182
183 $usces_op['mail_default']['header']['thankyou'] = sprintf(__('Thank you for choosing %s.', 'usces'), get_option('blogname')) . "\r\n";
184 $usces_op['mail_default']['header']['thankyou'] .= __("We have received your order. Please check following information.", 'usces') . "\r\n\r\n";
185 $usces_op['mail_default']['header']['thankyou'] .= __("We will inform you by e-mail when we are ready to ship ordered items to you.", 'usces') . "\r\n\r\n";
186 $usces_op['mail_default']['header']['order'] = sprintf(__('There is new order by %s.', 'usces'), get_option('blogname')) . "\r\n";
187 $usces_op['mail_default']['header']['inquiry'] = sprintf(__('Thank you for choosing %s.', 'usces'), get_option('blogname')) . "\r\n";
188 $usces_op['mail_default']['header']['inquiry'] .= __("We have received following e-mail.", 'usces') . "\r\n\r\n";
189 $usces_op['mail_default']['header']['inquiry'] .= __("We will contact you by e-mail soon.", 'usces') . "\r\n\r\n";
190 $usces_op['mail_default']['header']['returninq'] = "";
191 $usces_op['mail_default']['header']['membercomp'] = sprintf(__('Than you for registrating as %s membership.', 'usces'), get_option('blogname')) . "\r\n\r\n";
192 $usces_op['mail_default']['header']['membercomp'] .= __("You can chek your purchase status at section 'membership information'.", 'usces') . "\r\n\r\n";
193 $usces_op['mail_default']['header']['completionmail'] = __("Your ordered items have been sent today.", 'usces') . "\r\n\r\n";
194 $usces_op['mail_default']['header']['completionmail'] .= __("It will be delivered by company xxx in couple of days.", 'usces') . "\r\n\r\n";
195 $usces_op['mail_default']['header']['completionmail'] .= __("Please contact us in case you have any problems with receiving your items.", 'usces') . "\r\n\r\n";
196 $usces_op['mail_default']['header']['ordermail'] = sprintf(__('Thank you for choosing %s.', 'usces'), get_option('blogname')) . "\r\n";
197 $usces_op['mail_default']['header']['ordermail'] .= __("We have received your order. Please check following information.", 'usces') . "\r\n\r\n";
198 $usces_op['mail_default']['header']['ordermail'] .= __("We will inform you by e-mail when we are ready to ship ordered items to you.", 'usces') . "\r\n\r\n";
199 $usces_op['mail_default']['header']['changemail'] = sprintf(__('Thank you for choosing %s.', 'usces'), get_option('blogname')) . "\r\n";
200 $usces_op['mail_default']['header']['changemail'] .= __("You have changed your order as following.", 'usces') . "\r\n\r\n";
201 $usces_op['mail_default']['header']['changemail'] .= __("We will inform you by e-mail when we are ready to send your items.", 'usces') . "\r\n\r\n";
202 $usces_op['mail_default']['header']['receiptmail'] = sprintf(__('Thank you for choosing %s.', 'usces'), get_option('blogname')) . "\r\n";
203 $usces_op['mail_default']['header']['receiptmail'] .= __("Your transfer have been made successfully.", 'usces') . "\r\n\r\n";
204 $usces_op['mail_default']['header']['receiptmail'] .= __("We will inform you by e-mail when we are ready to send your items.", 'usces') . "\r\n\r\n";
205 $usces_op['mail_default']['header']['mitumorimail'] = sprintf(__('Thank you for choosing %s.', 'usces'), get_option('blogname')) . "\r\n";
206 $usces_op['mail_default']['header']['mitumorimail'] .= __("We will send you following estimate for your items.", 'usces') . "\r\n\r\n";
207 $usces_op['mail_default']['header']['mitumorimail'] .= __("This estimate is valid for one week.", 'usces') . "\r\n\r\n";
208 $usces_op['mail_default']['header']['cancelmail'] = sprintf(__('Thank you for choosing %s.', 'usces'), get_option('blogname')) . "\r\n";
209 $usces_op['mail_default']['header']['cancelmail'] .= __("We have received your cancellationfor your order.", 'usces') . "\r\n\r\n";
210 $usces_op['mail_default']['header']['othermail'] = sprintf(__('Thank you for choosing %s.', 'usces'), get_option('blogname')) . "\r\n\r\n";
211
212 $usces_op['mail_default']['footer']['thankyou'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
213 $usces_op['mail_default']['footer']['order'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
214 $usces_op['mail_default']['footer']['inquiry'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
215 $usces_op['mail_default']['footer']['returninq'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
216 $usces_op['mail_default']['footer']['membercomp'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
217 $usces_op['mail_default']['footer']['completionmail'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
218 $usces_op['mail_default']['footer']['ordermail'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
219 $usces_op['mail_default']['footer']['changemail'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
220 $usces_op['mail_default']['footer']['receiptmail'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
221 $usces_op['mail_default']['footer']['mitumorimail'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
222 $usces_op['mail_default']['footer']['cancelmail'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
223 $usces_op['mail_default']['footer']['othermail'] = "=============================================\r\n" . get_option('blogname') . "\r\n" . $uop_init['company_name'] . "\r\n" . __('zip code', 'usces') . " " . $uop_init['zip_code'] . "\r\n" . $uop_init['address1'] . "\r\n" . $uop_init['address2'] . "\r\n" . "TEL " . $uop_init['tel_number'] . "\r\n" . "FAX " . $uop_init['fax_number'] . "\r\n" . __('contact', 'usces') . " " . $uop_init['inquiry_mail'] . "\r\n" . get_option('home') . "\r\n" . "=============================================\r\n";
224
225 $usces_op['usces_shipping_indication'] = $shipping_indication;
226
227 update_option('usces', $usces_op);
228
229 /************************************************************************/
230 /* usces_settings */
231 $usces_settings['language'] = array();
232 //20111117ysk 0000308
233 $usces_settings['currency'] = array(
234 'AR' => array('ARS', 2, '.', ',', '$'),
235 'AU' => array('AUD', 2, '.', ',', '$'),
236 'AT' => array('EUR', 2, '.', ',', '&#x20AC;'),
237 'BE' => array('EUR', 2, '.', ',', '&#x20AC;'),
238 'BR' => array('BRL', 2, '.', ',', '$'),
239 'CA' => array('CAD', 2, '.', ',', '$'),
240 'CL' => array('CLP', 2, '.', ',', '$'),
241 'CN' => array('CNY', 2, '.', ',', '&yen;'),
242 'CR' => array('CRC', 2, '.', ',', ''),
243 'CZ' => array('CZK', 2, '.', ',', ''),
244 'DK' => array('DKK', 2, '.', ',', 'kr'),
245 'DO' => array('DOP', 2, '.', ',', 'RD$'),
246 'FI' => array('EUR', 2, '.', ',', '&#x20AC;'),
247 'FR' => array('EUR', 2, '.', ',', '&#x20AC;'),
248 'DE' => array('EUR', 2, '.', ',', '&#x20AC;'),
249 'GR' => array('EUR', 2, '.', ',', '&#x20AC;'),
250 'GT' => array('GTQ', 2, '.', ',', 'Q'),
251 'HK' => array('HKD', 2, '.', ',', '$'),
252 'HU' => array('HUF', 2, '.', ',', 'Ft'),
253 'IN' => array('INR', 2, '.', ',', '&#x20A8;'),
254 'ID' => array('IDR', 2, '.', ',', 'Rp'),
255 'IE' => array('EUR', 2, '.', ',', '&#x20AC;'),
256 'IL' => array('ILS', 2, '.', ',', '&#x20AA;'),
257 'IT' => array('EUR', 2, '.', ',', '&#x20AC;'),
258 'JP' => array('JPY', 0, '.', ',', '&yen;'),
259 'MO' => array('MOP', 2, '.', ',', '$'),
260 'MY' => array('MYR', 2, '.', ',', 'RM'),
261 'MX' => array('MXN', 2, '.', ',', '$'),
262 'NL' => array('EUR', 2, '.', ',', '&#x20AC;'),
263 'NZ' => array('NZD', 2, '.', ',', '$'),
264 'NO' => array('NOK', 2, '.', ',', 'kr'),
265 'PA' => array('PAB', 2, '.', ',', 'B/.'),
266 'PH' => array('PHP', 2, '.', ',', 'P'),
267 'PL' => array('PLN', 2, '.', ',', ''),
268 'PT' => array('EUR', 2, '.', ',', '&#x20AC;'),
269 'PR' => array('USD', 2, '.', ',', '$'),
270 'RO' => array('ROL', 2, '.', ',', 'L'),
271 'RU' => array('RUB', 2, '.', ',', '&#x20BD;'),
272 'SG' => array('SGD', 2, '.', ',', '$'),
273 'KR' => array('KRW', 0, '.', ',', '&#x20A9;'),
274 'ES' => array('EUR', 2, '.', ',', '&#x20AC;'),
275 'SW' => array('SEK', 2, '.', ',', 'kr'),
276 'CH' => array('CHF', 2, '.', ',', 'Fr.'),
277 'TW' => array('TWD', 0, '.', ',', 'NT$'),
278 'TH' => array('THB', 2, '.', ',', '฿'),
279 'TR' => array('TRL', 2, '.', ',', ''),
280 'GB' => array('GBP', 2, '.', ',', '£'),
281 'US' => array('USD', 2, '.', ',', '$'),
282 'VN' => array('VND', 2, '.', ',', ''),
283 'OO' => array('USD', 2, '.', ',', '$'),
284 );
285 $usces_settings['nameform'] = array(
286 'AR' => 1,
287 'AU' => 1,
288 'AT' => 1,
289 'BE' => 1,
290 'BR' => 1,
291 'CA' => 1,
292 'CL' => 1,
293 'CN' => 0,
294 'CR' => 1,
295 'CZ' => 1,
296 'DK' => 1,
297 'DO' => 1,
298 'FI' => 1,
299 'FR' => 1,
300 'DE' => 1,
301 'GR' => 1,
302 'GT' => 1,
303 'HK' => 1,
304 'HU' => 1,
305 'IN' => 1,
306 'ID' => 1,
307 'IE' => 1,
308 'IL' => 1,
309 'IT' => 1,
310 'JP' => 0,
311 'MO' => 1,
312 'MY' => 1,
313 'MX' => 1,
314 'NL' => 1,
315 'NZ' => 1,
316 'NO' => 1,
317 'PA' => 1,
318 'PH' => 1,
319 'PL' => 1,
320 'PT' => 1,
321 'PR' => 1,
322 'RO' => 1,
323 'RU' => 1,
324 'SG' => 1,
325 'KR' => 1,
326 'ES' => 1,
327 'SW' => 1,
328 'CH' => 1,
329 'TW' => 0,
330 'TH' => 1,
331 'TR' => 1,
332 'GB' => 1,
333 'US' => 1,
334 'VN' => 1,
335 'OO' => 1,
336 );
337 $usces_settings['addressform'] = array(
338 'AR' => 'US',
339 'AU' => 'US',
340 'AT' => 'US',
341 'BE' => 'US',
342 'BR' => 'US',
343 'CA' => 'US',
344 'CL' => 'US',
345 'CN' => 'CN',
346 'CR' => 'US',
347 'CZ' => 'US',
348 'DK' => 'US',
349 'DO' => 'US',
350 'FI' => 'US',
351 'FR' => 'US',
352 'DE' => 'US',
353 'GR' => 'US',
354 'GT' => 'US',
355 'HK' => 'US',
356 'HU' => 'US',
357 'IN' => 'US',
358 'ID' => 'US',
359 'IE' => 'US',
360 'IL' => 'US',
361 'IT' => 'US',
362 'JP' => 'JP',
363 'MO' => 'US',
364 'MY' => 'US',
365 'MX' => 'US',
366 'NL' => 'US',
367 'NZ' => 'US',
368 'NO' => 'US',
369 'PA' => 'US',
370 'PH' => 'US',
371 'PL' => 'US',
372 'PT' => 'US',
373 'PR' => 'US',
374 'RO' => 'US',
375 'RU' => 'US',
376 'SG' => 'US',
377 'KR' => 'US',
378 'ES' => 'US',
379 'SW' => 'US',
380 'CH' => 'US',
381 'TW' => 'JP',
382 'TH' => 'US',
383 'TR' => 'US',
384 'GB' => 'US',
385 'US' => 'US',
386 'VN' => 'US',
387 'OO' => 'US',
388 );
389 $usces_settings['country'] = array(
390 'AR' => __('Argentina', 'usces'),
391 'AU' => __('Australia', 'usces'),
392 'AT' => __('Austria', 'usces'),
393 'BE' => __('Belgium', 'usces'),
394 'BR' => __('Brazil', 'usces'),
395 'CA' => __('Canada', 'usces'),
396 'CL' => __('Chile', 'usces'),
397 'CN' => __('China', 'usces'),
398 'CR' => __('Costa Rica', 'usces'),
399 'CZ' => __('Czech Republic', 'usces'),
400 'DK' => __('Denmark', 'usces'),
401 'DO' => __('Dominican Republic', 'usces'),
402 'FI' => __('Finland', 'usces'),
403 'FR' => __('France', 'usces'),
404 'DE' => __('Germany', 'usces'),
405 'GR' => __('Greece', 'usces'),
406 'GT' => __('Guatemala', 'usces'),
407 'HK' => __('Hong Kong', 'usces'),
408 'HU' => __('Hungary', 'usces'),
409 'IN' => __('India', 'usces'),
410 'ID' => __('Indonesia', 'usces'),
411 'IE' => __('Ireland', 'usces'),
412 'IL' => __('Israel', 'usces'),
413 'IT' => __('Italy', 'usces'),
414 'JP' => __('Japan', 'usces'),
415 'MO' => __('Macau', 'usces'),
416 'MY' => __('Malaysia', 'usces'),
417 'MX' => __('Mexico', 'usces'),
418 'NL' => __('Netherlands', 'usces'),
419 'NZ' => __('New Zealand', 'usces'),
420 'NO' => __('Norway', 'usces'),
421 'PA' => __('Panama', 'usces'),
422 'PH' => __('Philippines', 'usces'),
423 'PL' => __('Poland', 'usces'),
424 'PT' => __('Portugal', 'usces'),
425 'PR' => __('Puerto Rico', 'usces'),
426 'RO' => __('Romania', 'usces'),
427 'RU' => __('Russia', 'usces'),
428 'SG' => __('Singapore', 'usces'),
429 'KR' => __('South Korea', 'usces'),
430 'ES' => __('Spain', 'usces'),
431 'SW' => __('Sweden', 'usces'),
432 'CH' => __('Switzerland', 'usces'),
433 'TW' => __('Taiwan', 'usces'),
434 'TH' => __('Thailand', 'usces'),
435 'TR' => __('Turkey', 'usces'),
436 'GB' => __('United Kingdom', 'usces'),
437 'US' => __('United States', 'usces'),
438 'VN' => __('Vietnam', 'usces'),
439 'OO' => __('Other', 'usces'),
440 );
441 $usces_settings['country_num'] = array(
442 'AR' => '54',
443 'AR' => '61',
444 'AT' => '43',
445 'BE' => '32',
446 'BR' => '55',
447 'CA' => '1',
448 'CL' => '56',
449 'CN' => '86',
450 'CR' => '506',
451 'CZ' => '420',
452 'DK' => '45',
453 'DO' => '1-809',
454 'FI' => '358',
455 'FR' => '33',
456 'DE' => '49',
457 'GR' => '30',
458 'GT' => '502',
459 'HK' => '852',
460 'HU' => '36',
461 'IN' => '91',
462 'ID' => '62',
463 'IE' => '353',
464 'IL' => '972',
465 'IT' => '39',
466 'JP' => '81',
467 'MO' => '853',
468 'MY' => '60',
469 'MX' => '52',
470 'NL' => '31',
471 'NZ' => '64',
472 'NO' => '47',
473 'PA' => '507',
474 'PH' => '63',
475 'PL' => '48',
476 'PT' => '351',
477 'PR' => '1-787',
478 'RO' => '40',
479 'RU' => '7',
480 'SG' => '65',
481 'KR' => '82',
482 'ES' => '34',
483 'SW' => '46',
484 'CH' => '41',
485 'TW' => '886',
486 'TH' => '66',
487 'TR' => '90',
488 'GB' => '44',
489 'US' => '1',
490 'VN' => '84',
491 'OO' => '1',
492 );
493 $usces_settings['lungage2country'] = array(
494 'es_AR' => 'AR',
495 'en_AU' => 'AU',
496 'de_AT' => 'AT',
497 'nl_BE' => 'BE',
498 'fr_BE' => 'BE',
499 'pt_BR' => 'BR',
500 'en_CA' => 'CA',
501 'fr_CA' => 'CA',
502 'es_CL' => 'CL',
503 'zh_CN' => 'CN',
504 'zh' => 'CN',
505 'es_CR' => 'CR',
506 'cs_CZ' => 'CZ',
507 'cs' => 'CZ',
508 'da' => 'DK',
509 'da_DK' => 'DK',
510 'es_DO' => 'DO',
511 'fi_FI' => 'FI',
512 'fi' => 'FI',
513 'sv_FI' => 'FI',
514 'fr' => 'FR',
515 'fr_FR' => 'FR',
516 'de' => 'DE',
517 'de_DE' => 'DE',
518 'el' => 'GR',
519 'el_GR' => 'GR',
520 'es_GT' => 'GT',
521 'zh_HK' => 'HK',
522 'en_HK' => 'HK',
523 'hu_HU' => 'HU',
524 'hu' => 'HU',
525 'hi' => 'IN',
526 'hi_IN' => 'IN',
527 'id' => 'ID',
528 'id_ID' => 'ID',
529 'ga' => 'IE',
530 'ga_IE' => 'IE',
531 'en_IE' => 'IE',
532 'he_IL' => 'IL',
533 'ar_IL' => 'IL',
534 'it' => 'IT',
535 'it_IT' => 'IT',
536 'ja' => 'JP',
537 'ja_JP' => 'JP',
538 'zh_MO' => 'MO',
539 'pt_MO' => 'MO',
540 'ms' => 'MY',
541 'ms_MY' => 'MY',
542 'es_MX' => 'MX',
543 'nl' => 'NL',
544 'nl_NL' => 'NL',
545 'en_NZ' => 'NZ',
546 'mi_NZ' => 'NZ',
547 'mi' => 'NZ',
548 'no' => 'NO',
549 'no_NO' => 'NO',
550 'es_PA' => 'PA',
551 'tl' => 'PH',
552 'tl_PH' => 'PH',
553 'en_PH' => 'PH',
554 'pl' => 'PL',
555 'pl_PL' => 'PL',
556 'pt' => 'PT',
557 'pt_PT' => 'PT',
558 'es_PR' => 'PR',
559 'en_PR' => 'PR',
560 'ro' => 'RO',
561 'ro_RO' => 'RO',
562 'ru' => 'RU',
563 'ru_RU' => 'RU',
564 'en_SG' => 'SG',
565 'ms_SG' => 'SG',
566 'zh_SG' => 'SG',
567 'ko' => 'KR',
568 'ko_KR' => 'KR',
569 'es' => 'ES',
570 'es_ES' => 'ES',
571 'sv' => 'SW',
572 'sv_SW' => 'SW',
573 'de_CH' => 'CH',
574 'fr_CH' => 'CH',
575 'it_CH' => 'CH',
576 'rm_CH' => 'CH',
577 'rm' => 'CH',
578 'zh_TW' => 'TW',
579 'th' => 'TH',
580 'th_TH' => 'TH',
581 'tr' => 'TR',
582 'tr_TR' => 'TR',
583 'en' => 'GB',
584 'en_GB' => 'GB',
585 '' => 'US',
586 'en_US' => 'US',
587 'vi' => 'VN',
588 'vi_VN' => 'VN',
589 'zh_TW' => 'TW'
590 );
591 $usces_states['JP'] = array(__('-- Select --', 'usces'),"北海道","青森県","岩手県","宮城県","秋田県","山形県","福島県","茨城県",
592 "栃木県","群馬県","埼玉県","千葉県","東京都","神奈川県","新潟県","富山県","石川県",
593 "福井県","山梨県","長野県","岐阜県","静岡県","愛知県","三重県","滋賀県","京都府",
594 "大阪府","�
595 �庫県","奈良県","和歌山県","鳥取県","島根県","岡山県","広島県","山口県",
596 "徳島県","香川県","愛媛県","高知県","福岡県","佐賀県","長崎県","熊本県","大分県",
597 "宮崎県","鹿�
598 �島県","沖縄県");
599 //20120123ysk 0000386
600 //$usces_states['US'] = array(__('-- Select --', 'usces'),"Alabama","Alaska","Arizona","Arkansas","California","Colorado",
601 $usces_states['US'] = array('-- Select --',"Alabama","Alaska","Arizona","Arkansas","California","Colorado",
602 "Connecticut","Delaware","District of Columbia","Florida","Georgia","Hawaii",
603 "Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine",
604 "Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri",
605 "Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York",
606 "North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania",
607 "Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont",
608 "Virginia","Washington","West Virginia","Wisconsin","Wyoming");
609 if( !get_option('usces_states') )
610 update_option('usces_states',$usces_states);
611
612
613 $usces_essential_mark = array(
614 'name1' => '<em>' . __('*', 'usces') . '</em>',
615 'name2' => '',
616 'name3' => '',
617 'name4' => '',
618 'zipcode' => '<em>' . __('*', 'usces') . '</em>',
619 'country' => '<em>' . __('*', 'usces') . '</em>',
620 'states' => '<em>' . __('*', 'usces') . '</em>',
621 'address1' => '<em>' . __('*', 'usces') . '</em>',
622 'address2' => '<em>' . __('*', 'usces') . '</em>',
623 'address3' => '',
624 'tel' => '<em>' . __('*', 'usces') . '</em>',
625 'fax' => ''
626 );
627
628 unset($uop_init);
629
630 $usces_noreceipt_status = apply_filters( 'usces_filter_noreceipt_status', array( 'transferAdvance', 'transferDeferred', 'acting_remise_conv', 'acting_zeus_bank', 'acting_zeus_conv', 'acting_jpayment_conv', 'acting_jpayment_bank', 'acting_sbps_conv', 'acting_sbps_payeasy', 'acting_digitalcheck_conv', 'acting_mizuho_conv1', 'acting_mizuho_conv2', 'acting_veritrans_conv', 'acting_paygent_conv' ) );
631 update_option( 'usces_noreceipt_status', $usces_noreceipt_status );
632 ?>
633