Click below to open an account now

 

[/et_pb_blurb][et_pb_button button_text="Open Account" button_alignment="center" background_layout="dark" _builder_version="3.0.90" custom_margin="|||" custom_padding="|||" custom_button="on" button_font="||||||||"][/et_pb_button][/et_pb_column][/et_pb_row][/et_pb_section][et_pb_section fb_built="1" _builder_version="3.0.90" custom_padding="84px|0px|45px|0px"][et_pb_row _builder_version="3.0.90"][et_pb_column type="4_4" _builder_version="3.0.47" parallax="off" parallax_method="on"]'; }else if( ICL_LANGUAGE_CODE == 'zh-hans' ){ $html ='[et_pb_section fb_built="1" background_color="#d3d3d3" _builder_version="3.0.90" background_image="https://www.giltd.co/wp-content/uploads/2018/03/32224524.jpg" background_blend="multiply" custom_padding="70px|0px|61px|0px"][et_pb_row custom_padding="178px|0px|0px|0px" _builder_version="3.0.90"][et_pb_column type="4_4" _builder_version="3.0.47" parallax="off" parallax_method="on"][et_pb_blurb title="开立帐户" background_layout="dark" _builder_version="3.0.90" header_level="h1" header_font="|600|||||||" header_font_size="45px" body_font="||||||||" body_font_size="20px" text_orientation="center"]

点击下方立即开立帐户

 

[/et_pb_blurb][et_pb_button button_text="开立帐户" button_alignment="center" background_layout="dark" _builder_version="3.0.90" custom_margin="|||" custom_padding="|||" custom_button="on" button_font="||||||||"][/et_pb_button][/et_pb_column][/et_pb_row][/et_pb_section][et_pb_section fb_built="1" _builder_version="3.0.90" custom_padding="84px|0px|45px|0px"][et_pb_row _builder_version="3.0.90"][et_pb_column type="4_4" _builder_version="3.0.47" parallax="off" parallax_method="on"]'; }else{ $html ='[et_pb_section fb_built="1" background_color="#d3d3d3" _builder_version="3.0.90" background_image="https://www.giltd.co/wp-content/uploads/2018/03/32224524.jpg" background_blend="multiply" custom_padding="70px|0px|61px|0px"][et_pb_row custom_padding="178px|0px|0px|0px" _builder_version="3.0.90"][et_pb_column type="4_4" _builder_version="3.0.47" parallax="off" parallax_method="on"][et_pb_blurb title="開立帳戶" background_layout="dark" _builder_version="3.0.90" header_level="h1" header_font="|600|||||||" header_font_size="45px" body_font="||||||||" body_font_size="20px" text_orientation="center"]

點擊下方立即開立帳戶

 

[/et_pb_blurb][et_pb_button button_text="開立帳戶" button_alignment="center" background_layout="dark" _builder_version="3.0.90" custom_margin="|||" custom_padding="|||" custom_button="on" button_font="||||||||"][/et_pb_button][/et_pb_column][/et_pb_row][/et_pb_section][et_pb_section fb_built="1" _builder_version="3.0.90" custom_padding="84px|0px|45px|0px"][et_pb_row _builder_version="3.0.90"][et_pb_column type="4_4" _builder_version="3.0.47" parallax="off" parallax_method="on"]'; } $type = htmlspecialchars($_POST["type"]); if( $type == 'reg' && $_POST["termservice"] == 'agree'){ //Register Virtual Account $username = $_POST["user_account"]; $user_firstname = $_POST["user_firstname"]; $user_lastname = $_POST["user_lastname"]; $birthday = $_POST["birthday"]; $email = $_POST["user_email"]; $user_phonemumber = $_POST["user_phonemumber"]; $user_password = $_POST["user_password"]; if ( !username_exists( $username ) && !email_exists( $email ) ) { $user_id = wp_create_user( $username, $user_password, $email ); $user = new WP_User( $user_id ); $user->set_role( 'contributor' ); update_user_meta( $user_id, 'first_name', $user_firstname ); update_user_meta( $user_id, 'billing_first_name', $user_firstname ); update_user_meta( $user_id, 'last_name' , $user_lastname ); update_user_meta( $user_id, 'billing_last_name' , $user_lastname ); update_user_meta( $user_id, 'birthday' , $birthday ); update_user_meta( $user_id, 'phone1' , $user_phonemumber ); update_user_meta( $user_id, 'virtualaccount' , 'yes' ); update_user_meta( $user_id, 'termservice' , 'agree' ); if( ICL_LANGUAGE_CODE == 'zh-hans' ){ $title = '感谢您在高宝来注册虛擬帳戶'; $body .= '谢谢您选择高宝来虛擬帳戶。' . "\r\n\r\n" . '您的注册资讯如下,建议把其记录下来。' . "\r\n\r\n" . '使用者名称: ' . $username . "\r\n" . '密码: ' . $user_password . "\r\n\r\n" . '您可以点入以下网址登入:' . "\r\n" . 'https://www.giltd.co/accountlogin/' . "\r\n\r\n" //. '您可以点入以下网址变更密码: ' . "\r\n" //. 'https://giltd.co/my-account/orders/?ref=https://www.giltd.co/my-account/edit-account/'. "\r\n\r\n" . '这是由高宝来系统发送的电子邮件,请不要回覆此邮件地址。'; }else if( ICL_LANGUAGE_CODE == 'en' ){ $title = 'Your registration info for Global Immense Virtual Account'; $body .= 'Thank you for registering for Global Immense Virtual Account' . "\r\n\r\n" . 'Your registration information is below. ' . "\r\n" . 'You may wish to retain a copy for your records. ' . "\r\n\r\n" . 'username: ' . $username . "\r\n" . 'password: ' . $user_password . "\r\n\r\n" . 'You may log in here:' . "\r\n" . 'https://www.giltd.co/accountlogin/' . "\r\n\r\n" //. 'You may change your password here: ' . "\r\n" //. 'https://giltd.co/my-account/orders/?ref=https://www.giltd.co/my-account/edit-account/' . "\r\n\r\n" . 'This is an automated message from Global Immense, Please do not reply to this address。' . "\r\n\r\n"; }else{ $title = '感謝您在高寶來註冊虛擬帳戶'; $body .= '謝謝您選擇高寶來虛擬帳戶。' . "\r\n\r\n" . '您的註冊資訊如下,建議把其記錄下來。' . "\r\n\r\n" . '使用者名稱: ' . $username . "\r\n" . '密碼: ' . $user_password . "\r\n\r\n" . '您可以點入以下網址登入:' . "\r\n" . 'https://www.giltd.co/accountlogin/' . "\r\n\r\n" //. '您可以點入以下網址變更密碼: ' . "\r\n" //. 'https://giltd.co/my-account/orders/?ref=https://www.giltd.co/my-account/edit-account/'. "\r\n\r\n" . '這是由高寶來系統發送的電子郵件,請不要回覆此郵件地址。'; } $headers[]= "From: Global Immense "; //wp_mail ( $to, $subject, $message, $headers, $attachments ); wp_mail ( $email , $title , $body , $headers ); if( ICL_LANGUAGE_CODE == 'en' ){ $html .= '[et_pb_blurb title="Opened a virtual account complete" _builder_version="3.0.90" header_level="h2" text_orientation="center"]Dear customer, Thank you for choosing to opened virtual account.[/et_pb_blurb][/et_pb_column][/et_pb_row]'; }else if( ICL_LANGUAGE_CODE == 'zh-hans' ){ $html .= '[et_pb_blurb title="已开立虚拟帐户完成" _builder_version="3.0.90" header_level="h2" text_orientation="center"]尊敬的客户,感谢您选择加入高宝来虚拟帐户。[/et_pb_blurb][/et_pb_column][/et_pb_row]'; }else{ $html .= '[et_pb_blurb title="已開立虛擬帳戶完成" _builder_version="3.0.90" header_level="h2" text_orientation="center"]尊敬的客戶,感謝您選擇加入高寶来虛擬帳戶。[/et_pb_blurb][/et_pb_column][/et_pb_row]'; } } }else{ if( ICL_LANGUAGE_CODE == 'en' ){ $html .= '[et_pb_blurb title="Opened a virtual account form" _builder_version="3.0.90" header_level="h2" text_orientation="center"]Dear customer, Thank you for choosing to join. We will approve your application within 1 business day.[/et_pb_blurb][/et_pb_column][/et_pb_row]'; $html .= '
*
*
*
*
*
*
*
By submitting a request for a demo account, I agree to the demo account\'s application terms, email, phone, or text message to contact me for my account application or other marketing purposes. I understand that after the application is submitted, I can choose to no longer accept marketing information.

'; }else if( ICL_LANGUAGE_CODE == 'zh-hans' ){ $html .= '[et_pb_blurb title="开立虚拟帐户表格" _builder_version="3.0.90" header_level="h2" text_orientation="center"]尊敬的客户,感谢您选择加入高宝来。我们将会在1个工作日内审批您的申请。[/et_pb_blurb][/et_pb_column][/et_pb_row]'; $html .= '
*
*
*
*
*
*
*
通过提交模拟帐户的申请,我同意模拟帐户的申请条款,电子邮件、电话或短信就我的帐户申请或其他市场营销目的与我联系。我了解在申请提交之后,我可以随时选择不再接受市场营销方面的资讯。

'; }else{ $html .= '[et_pb_blurb title="開立虛擬帳戶表格" _builder_version="3.0.90" header_level="h2" text_orientation="center"]尊敬的客戶,感謝您選擇加入高寶来。我們將會在1個工作日內審批您的申請。[/et_pb_blurb][/et_pb_column][/et_pb_row]'; $html .= '
*
*
*
*
*
*
*
通過提交模擬帳戶的申請,我同意模擬帳戶的申請條款,電子郵件、電話或短信就我的帳戶申請或其他市場營銷目的與我聯繫。我了解在申請提交之後,我可以隨時選擇不再接受市場營銷方面的資訊。

'; } } echo do_shortcode( $html ); get_footer();