<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-115294467-1"></script>
<script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-115294467-1');
</script>
<meta charset="UTF-8">
<meta name="viewport"   content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no">
<link rel="stylesheet" href="../css/base.css"/>
<link rel="stylesheet" href="../css/phonepay.css?v='20180509'"/>
<script src="../lib/fsize.js"></script>
<script src="../lib/jquery-3.1.1.min.js"></script>
<link rel="stylesheet" href="../css/bootstrap.min.css"/>
<title></title>
<meta name="keywords" content="FireFly,直播福利,直播,uplive,美女直播,美女視頻,泡泡寶盒,視頻直播,一直播,rc唱唱,美女直播間,丫播直播">
<meta name="description" content="FireFly直播,深夜福利派送秀場。花樣主播私密秀,直播分享生活日常,記錄生活點點滴滴,陪你一起度過最美的時光,在直播間偶遇你的TA,連麥私聊,親密互動,說說生活,聊聊人生,談談理想......">
<style type="text/css">
	body{
		background-color: #11101A;
	}
	.text-center img{
		width: 1.813rem;
		height: 1.347rem;
	}
	.cherrry{
		background-color: #FFEFF4;
	}
	.cherrry p{
		color:#ff768d !important;
			}
</style>
</head>
<body>
<!--<h3 class="lo-top">FireFly線上儲值</h3>-->
<div style="padding-top: 2.84rem;"></div>
<!--<div class="nav">-->
    <!--<span>用戶登錄></span>-->
    <!--<span>儲值金額></span>-->
    <!--<span id="pitch">儲值完成</span>-->
<!--</div>-->
<div class="text-center">
    <img src="../img/error.png">
    <p class="L-Cn" style="margin: .693rem auto 0;font-size: .4rem;line-height:.8rem;width: 6.573rem;color:#B3B3B3;">儲值失敗,請檢查餘額是否充足并再試一次充值流程</p>
    <p class="L-En" style="margin: .693rem auto 0;font-size: .4rem;line-height:.8rem;width: 6.573rem;color:#B3B3B3;">Top-Up failed, please check and try again</p>
</div>
</body>
<script src="../lib/jquery.cookie.js"></script>
<script src="../lib/globalization.js"></script>
<script>
    if(sessionStorage.lang==1)$("title").text("Top-Up GEMs")
    else $("title").text("寶石儲值")
  /*setTimeout(function () {
      window.location.href='../phone.html';
  },20000)*/
 var cnMsg = url_get_params2().cnMsg;
 cnMsg = cnMsg.replace(/[+]/g,'');
 if(cnMsg!=undefined){ 	
 	var code = url_get_params2().code;//錯誤類型
 	var enMsg = url_get_params2().enMsg;//
 	enMsg = enMsg.replace(/[+]/g,' ');
 	var lang = url_get_params2().lang;
 	var cherryType = url_get_params2().type;
 	if(cherryType=='1'){
 		$('body').addClass('cherrry');
 	}
 	var obj = {
 		'A': '儲值失敗,錯誤類型:'+cnMsg+',請確認訂單資訊重新再試或者聯繫線上客服',
 		'C':'儲值失敗,錯誤類型:'+cnMsg+',請聯繫線上客服處理',
 		'E':'儲值失敗,錯誤類型:'+cnMsg+',請聯繫髮卡行進行確認',
 		'I':'儲值失敗,錯誤類型:'+cnMsg+',請聯繫線上客服處理',
 		'R':'儲值失敗,錯誤類型:'+cnMsg+',請聯繫髮卡行進行確認',
 		'S':'儲值失敗,錯誤類型:'+cnMsg+',請聯繫線上客服處理',
 		'T':'儲值失敗,錯誤類型:'+cnMsg+',請聯繫髮卡行進行確認',
 	}
 	var obj2 = {
 		'A': 'Top-up fail,error type:'+enMsg+',please double check the order details and try again .Or you can contact online service',
 		'C':'Top-up fail,error type:'+enMsg+',please contact online service',
 		'E':'Top-up fail,error type:'+enMsg+',please contact the bank to verify',
 		'I':'Top-up fail,error type:'+enMsg+',please contact online service',
 		'R':'Top-up fail,error type:'+enMsg+',please contact the bank to verify',
 		'S':'Top-up fail,error type:'+enMsg+',please contact online service',
 		'T':'Top-up fail,error type:'+enMsg+',please contact the bank to verify',
 	}
 	if(lang==0||lang==2){
 		$('.L-Cn').show();
 		$('.L-En').hide();
 		if(obj[code]!=undefined){
 			$('.L-Cn').html(obj[code]);
 		} else {
 			$('.L-Cn').html('儲值失敗,錯誤類型:'+cnMsg+',請聯繫髮卡行進行確認');
 		}
 	} else {
 		$('.L-Cn').hide();
 		$('.L-En').show();
 		if(obj[code]!=undefined){
 			$('.L-En').html(obj2[code]);
 		} else {
 			$('.L-En').html('Top-up fail,error type:'+enMsg+',please contact the bank to verify');
 		}
 	}
 }
 
 function url_get_params2() {
  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]] = decodeURIComponent(strs[i].split("=")[1]);
      }
  }
  return theRequest;
}

setTimeout(function () {
        window.location.href='../phone.html';
    },40000000)

</script>
</html>