PluginProbe
Welcart e-Commerce / 1.3.8
Welcart e-Commerce v1.3.8
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.3.8, at includes/initial.php

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