var langList = [ //中文 { 'gash1':'../img/pay/gash1.png', 'gash2':'../img/pay/gash2.png', 'gash3':'../img/pay/gash3.png', 'gash4':'../img/pay/gash4.png', 'alipay':'../img/pay/alipay.png', 'weipay':'../img/pay/weipay.png', 'molpay':'../img/pay/mol.png', 'payatm':'../img/pay/payatm.png', 'gopay':'../img/pay/gopay.png', 'alfama':'../img/pay/alfama.png', 'paywallet':'../img/pay/wallet.png', 'visapay':'../img/pay/visa.png', 'cherry':'樱花儲值', 'paytitle':'寶石儲值', 'payrecord':'儲值記錄', 'submit':'賬號確認', 'next':'下一步', 'ques':'*如果出現儲值問題,請聯繫客服', 'fire':'Foot Seen賬號有誤', 'account':'請確認您的賬號', 'wallet':'錢包儲值', 'card':'點卡儲值', 'mol':'摩爾點卡儲值參考列表', 'select':'請選擇充值金額', 'delay':'請留意充值情況,可能會延遲3-5分鐘', 'return':'點擊返回', 'title':'信用卡使用信息', 'titleName':'*僅在第一次信用卡支付時填寫', 'firstName':'姓', 'enterFirstName':'請輸入姓', 'lastName':'名', 'enterLastName':'請輸入名', 'tel':'電話號碼', 'enterTel':'格式:国家区号+号码,例如886123456789', 'email':'郵箱地址', 'enterEmail':'請輸入郵箱', 'submitName':'提交', 'msg1':'請填寫姓', 'msg2':'請填寫名', 'msg3':'請填寫電話號碼', 'msg4':'請填寫郵箱', 'msg5':'請填寫正確的郵箱', 'login1':'暱稱', 'login2':'請輸入您的賬號,點擊確認', 'login3':'paypal服务正在维护,请使用其他支付方式', 'login4':'Foot Seen暱稱', 'login5':'確認' }, //英文 { 'gash1':'../img/pay/gash1_en.png', 'gash2':'../img/pay/gash2_en.png', 'gash3':'../img/pay/gash3_en.png', 'gash4':'../img/pay/gash4_en.png', 'alipay':'../img/pay/alipayen.png', 'weipay':'../img/pay/weipayen.png', 'molpay':'../img/pay/mol.png', 'payatm':'../img/pay/payatm.png', 'gopay':'../img/pay/gopay.png', 'alfama':'../img/pay/alfama.png', 'paywallet':'../img/pay/wallet.png', 'visapay':'../img/pay/visa.png', 'cherry':'Top-Up Cherry', 'paytitle':'Top-Up GEMs', 'payrecord':'Record', 'submit':'Account confirm', 'next':'Next step', 'ques':'*If encounter top-up problems,please contact the customer service', 'fire':'Foot Seen account Error', 'account':'Please confirm your account', 'wallet':'Wallet Top-up', 'card':'Point Card Top-up', 'mol':'MOL Point Card top-up referring list', 'select':'Please select top-up item', 'delay':'Please pay attention to top-up status,it may delay 3-5 minutes', 'return':'Click to return', 'title':'Credit card user information', 'titleName':'*Only required for the first time by policy', 'firstName':'First name', 'enterFirstName':'Please fill in first name', 'lastName':'Last name', 'enterLastName':'Please fill in last name', 'tel':'Phone Num', 'enterTel':'Registered credit card phone num,eg:8861234567', 'email':'Email address', 'enterEmail':'Please fill in email address', 'submitName':'Submit', 'msg1':'Please fill in first name', 'msg2':'Please fill in last name', 'msg3':'Please fill in phone Num', 'msg4':'Please fill in email address', 'msg5':'Please fill in right email address', 'login1':'Nickname', 'login2':'Please input your Foot Seen ID,then click "sure"', 'login3':'Paypal service is being maintained,please use other payment method', 'login4':'Foot Seen nickname', 'login5':'Confirm' }, { 'gash1':'../img/pay/gash1_en.png', 'gash2':'../img/pay/gash2_en.png', 'gash3':'../img/pay/gash3_en.png', 'gash4':'../img/pay/gash4_en.png', 'alipay':'../img/pay/alipayen.png', 'weipay':'../img/pay/weipayen.png', 'molpay':'../img/pay/mol.png', 'payatm':'../img/pay/payatm.png', 'gopay':'../img/pay/gopay.png', 'alfama':'../img/pay/alfama.png', 'paywallet':'../img/pay/wallet.png', 'visapay':'../img/pay/visa.png', 'cherry':'شحن Cherry', 'paytitle':'شحن GEMs', 'payrecord':'سجل الشحن', 'submit':'تأكيد حسابك', 'next':'خطوة تالية', 'ques':'اذا توجد أي مشكلة في الشحن، تتصل بخدمة العملاء', 'fire':'خطأ في حساب Foot Seen', 'account':'يرجى تأكد من حسابك', 'wallet':'شحن المحفظة', 'card':'شحن Point Card', 'mol':'تفاصيل الشحن لبطاقة MOL Point', 'select':'يرجى اختيار مبلغ الشحن', 'delay':'يرجى متابعة عملية الشحن، ربما تأخير 3-5 دقائق', 'return':'انقر على الإعادة', 'title':'معلومات المستخدم لبطاقة الائتمان', 'titleName':'* مطلوب فقط لأول مرة عن طريق السياسة', 'firstName':'الاسم الأول', 'enterFirstName':'يرجى الادخال الاسم الأول', 'lastName':'باقي الاسم', 'enterLastName':'يرجى الادخال باقي الاسم', 'tel':'رقم الهاتف', 'enterTel':'شكل: رمز البلد + الرقم، مثلا 8861234567', 'email':'البريد الإلكتروني', 'enterEmail':'يرجى الادخال البريد الإلكتروني', 'submitName':'تقدم', 'msg1':'يرجى الادخال الاسم الأول', 'msg2':'يرجى الادخال باقي الاسم', 'msg3':'يرجى الادخال رقم الهاتف', 'msg4':'يرجى الادخال البريد الإلكتروني', 'msg5':'يرجى الادخال البريد الإلكتروني الصحيح', 'login1':'اسم المستخدم', 'login2':'يرجى إدخال Foot Seen ID', 'login3':'يرجي اختار طريق الشحن الأخر بسبب توقف خدمة Paypal', 'login4':'اسم المستخدم', 'login5':'تأكيد حسابك' } ] var langType = 0; var langCon = getRequest().lang; if(langCon==undefined || langCon == 'undefined'){ langCon = sessionStorage.lang; } //当没有语言参数时 默认为繁体 if(langCon==undefined || langCon == 'undefined'){ langCon = 2; } sessionStorage.lang = langCon; //var $ip = "http://ceshi.yabolive.tv/web"; var $ip = "https://webserver.yabolive.net"; var cdn = 'https://zhibocdn.yabolive.net/comm'; if(langCon == 0 || langCon == 2){ langType = 0; } else if(langCon==7){ langType = 2; } else { langType = 1; } //獲取url參數 function getRequest() { var url = location.href; var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr(url.indexOf("?") + 1); strs = str.split("&"); for (var i = 0; i < strs.length; i++) { theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); } } return theRequest; }