revert
This commit is contained in:
parent
a1819f2077
commit
084bc1f7b1
97 changed files with 0 additions and 0 deletions
136
jsp/404.jsp
Normal file
136
jsp/404.jsp
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
<!-- 404 Page -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart - Page Not Found</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
/* GENERAL */
|
||||
body {
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
FORM { display: inline; }
|
||||
|
||||
a:link, a:visited, a:hover, a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bold { font-weight: bold; }
|
||||
.titleBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlueL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.contentsBlack {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 16px;
|
||||
}
|
||||
.contentsBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlueM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.dot {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
}
|
||||
|
||||
#line01, #line02 {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
width: 600px;
|
||||
height: 10px;
|
||||
z-index: 100;
|
||||
}
|
||||
#line01 { top: 59px; }
|
||||
#line02 { top: 363px; }
|
||||
|
||||
#underButton {
|
||||
position: absolute;
|
||||
left: 211px;
|
||||
top: 294px;
|
||||
width: 187px;
|
||||
height: 55px;
|
||||
}
|
||||
|
||||
.buttonTextBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.page_content_area {
|
||||
position: relative;
|
||||
top: 75px;
|
||||
left: 20px;
|
||||
text-align: center;
|
||||
width: 548px;
|
||||
}
|
||||
</style>
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<script src="/oss/oss/common/js/json2.js"></script>
|
||||
<script src="/oss/oss/common/js/shop.js"></script>
|
||||
<script src="/oss/oss/common/js/keyboard.js"></script>
|
||||
<script src="/oss/oss/common/js/oss.js"></script>
|
||||
<script src="/oss/oss/common/js/error.js"></script>
|
||||
<script src="/oss/oss/common/js/buttons.js"></script>
|
||||
<script src="/oss/oss/common/js/sound.js"></script>
|
||||
<script src="/oss/oss/common/js/images.js"></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage()">
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="page_content_area">
|
||||
<div class="titleBlueL">WiiMart</div>
|
||||
<h1>Whoops! That page was not found!</h1>
|
||||
<br>
|
||||
<p class="contentsBlack">
|
||||
To go back to the page you were at, click <a href="javascript:window.history.go(-1);">here</a>.
|
||||
<br>
|
||||
Or, you can go back to the first page of the shop by clicking <a href="/oss/serv/W_01.jsp">here</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" />
|
||||
</div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>p>
|
||||
157
jsp/500.jsp
Normal file
157
jsp/500.jsp
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
<%@ page import = "java.io.*,java.util.*,java.net.http.*,java.net.URI,java.net.http.HttpResponse.BodyHandlers,java.net.HttpURLConnection,java.net.URL,java.nio.charset.StandardCharsets,org.json.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<%@ page buffer="8192kb" autoFlush="true" %>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
<!-- 500 Page -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart - Server Error</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
/* GENERAL */
|
||||
body {
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
FORM { display: inline; }
|
||||
|
||||
a:link, a:visited, a:hover, a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bold { font-weight: bold; }
|
||||
.titleBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlueL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.contentsBlack {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 16px;
|
||||
}
|
||||
.contentsBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlueM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.dot {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
}
|
||||
|
||||
#line01, #line02 {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
width: 600px;
|
||||
height: 10px;
|
||||
z-index: 100;
|
||||
}
|
||||
#line01 { top: 59px; }
|
||||
#line02 { top: 363px; }
|
||||
|
||||
#underButton {
|
||||
position: absolute;
|
||||
left: 211px;
|
||||
top: 294px;
|
||||
width: 187px;
|
||||
height: 55px;
|
||||
}
|
||||
|
||||
.buttonTextBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.page_content_area {
|
||||
position: relative;
|
||||
top: 75px;
|
||||
left: 20px;
|
||||
text-align: center;
|
||||
width: 548px;
|
||||
}
|
||||
</style>
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<script src="/oss/oss/common/js/json2.js"></script>
|
||||
<script src="/oss/oss/common/js/shop.js"></script>
|
||||
<script src="/oss/oss/common/js/keyboard.js"></script>
|
||||
<script src="/oss/oss/common/js/oss.js"></script>
|
||||
<script src="/oss/oss/common/js/error.js"></script>
|
||||
<script src="/oss/oss/common/js/buttons.js"></script>
|
||||
<script src="/oss/oss/common/js/sound.js"></script>
|
||||
<script src="/oss/oss/common/js/images.js"></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage()">
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="page_content_area">
|
||||
<div class="titleBlueL">WiiMart</div>
|
||||
<h1> Uh oh! The server ran into an error and couldn't send a response for you.</h1>
|
||||
<br>
|
||||
<p class="contentsBlack">
|
||||
There is nothing wrong on your end, so if you want to go back to the page you were at previously, click <a href="javascript:window.history.go(-1);">here</a>.</p>
|
||||
<br>
|
||||
<h2>Debug Information:</h2>
|
||||
<%
|
||||
// Retrieve the exception object
|
||||
Throwable throwable = (Throwable) request.getAttribute("javax.servlet.error.exception");
|
||||
if (throwable != null) {
|
||||
%>
|
||||
<p>
|
||||
<strong>Exception Message:</strong>
|
||||
<%= throwable.getMessage() %>
|
||||
</p>
|
||||
<pre>
|
||||
<strong>Stack Trace:</strong>
|
||||
<%= org.apache.commons.lang3.exception.ExceptionUtils.getStackTrace(throwable) %>
|
||||
</pre>
|
||||
<%
|
||||
} else {
|
||||
%>
|
||||
<p>No exception details are available.</p>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" />
|
||||
</div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
713
jsp/B_01.jsp
Normal file
713
jsp/B_01.jsp
Normal file
|
|
@ -0,0 +1,713 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Virtual Console</title>
|
||||
<style type="text/css">
|
||||
/* B_01: Virtual Console Top Page */
|
||||
|
||||
|
||||
#text00-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:62;
|
||||
}
|
||||
|
||||
#text00-02 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:80px;
|
||||
width:545px;
|
||||
height:18px;
|
||||
z-index:61;
|
||||
}
|
||||
|
||||
#banner01 {
|
||||
position:absolute;
|
||||
left:28px;
|
||||
top:105px;
|
||||
width:260px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text01 {
|
||||
position:absolute;
|
||||
left:48px;
|
||||
top:115px;
|
||||
width:220px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer01 {
|
||||
position:absolute;
|
||||
left:38px;
|
||||
top:115px;
|
||||
width:240px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner02 {
|
||||
position:absolute;
|
||||
left:320px;
|
||||
top:105px;
|
||||
width:260px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text02 {
|
||||
position:absolute;
|
||||
left:340px;
|
||||
top:115px;
|
||||
width:220px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer02 {
|
||||
position:absolute;
|
||||
left:330px;
|
||||
top:115px;
|
||||
width:240px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner03 {
|
||||
position:absolute;
|
||||
left:28px;
|
||||
top:190px;
|
||||
width:552px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text03 {
|
||||
position:absolute;
|
||||
left:48px;
|
||||
top:200px;
|
||||
width:512px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer03 {
|
||||
position:absolute;
|
||||
left:38px;
|
||||
top:200px;
|
||||
width:532px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner04 {
|
||||
position:absolute;
|
||||
left:28px;
|
||||
top:275px;
|
||||
width:552px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text04 {
|
||||
position:absolute;
|
||||
left:48px;
|
||||
top:285px;
|
||||
width:512px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer04 {
|
||||
position:absolute;
|
||||
left:38px;
|
||||
top:285px;
|
||||
width:532px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
overflow: hidden;
|
||||
}
|
||||
<!--
|
||||
body {
|
||||
background-color: white;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/B01_halfbanner_b.png',
|
||||
'/oss/oss/common/images//banner/B01_banner_b.png');
|
||||
setUnderButtonL(true, "Back", "javascript:showPage('W_03.jsp')", "wiiCancelSound()");
|
||||
// hideElement("underbannershadowL");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text00-01">
|
||||
<div align="left"><span class="titleBlackL">Virtual Console</span></div>
|
||||
</div>
|
||||
|
||||
<div id="text00-02" class="style28">
|
||||
<div align="left" class="headerBlueM">Classic games from past systems</div>
|
||||
</div>
|
||||
|
||||
<div id="banner01"><img src="/oss/oss/common/images//banner/B01_halfbanner_a.png" width="260" height="85" id="Image01" /></div>
|
||||
<div id="text01">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Popular Titles</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer01"><a href="javascript:showPage('B_04.jsp?popular=true&p=1&vc=true');"><img src="/oss/oss/common/images//spacer.gif" name="Image01s" width="240" height="65" border="0" id="Image01s" onmouseover="MM_swapImage('Image01','','/oss/oss/common/images//banner/B01_halfbanner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner02"><img src="/oss/oss/common/images//banner/B01_halfbanner_a.png" width="260" height="85" id="Image02" /></div>
|
||||
<div id="text02">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Newest Additions</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer02"><a href="javascript:showPage('B_04.jsp?order=new&p=1&vc=true')"><img src="/oss/oss/common/images//spacer.gif" name="Image02s" width="240" height="65" border="0" id="Image02s" onmouseover="MM_swapImage('Image02','','/oss/oss/common/images//banner/B01_halfbanner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner03"><img src="/oss/oss/common/images//banner/B01_banner_a.png" width="552" height="85" id="Image03" /></div>
|
||||
<div id="text03">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Search by Category</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer03"><a href="javascript:showPage('B_23.jsp?vc=true')"><img src="/oss/oss/common/images//spacer.gif" name="Image03s" width="532" height="65" border="0" id="Image03s" onmouseover="MM_swapImage('Image03','','/oss/oss/common/images//banner/B01_banner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner04"><img src="/oss/oss/common/images//banner/B01_banner_a.png" width="552" height="85" id="Image04" /></div>
|
||||
<div id="text04">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Search by Game Title</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer04"><input type=text name="Image04s" maxlength="40" style="position:absolute; left: -400px; width:970px; height:65px; background: none; border: 0pt; font-size: 1pt; color: #FFFFFF;" id="Image04s" onmouseover="MM_swapImage('Image04','','/oss/oss/common/images//banner/B01_banner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore();" onmousedown="Image04s.blur(); if(kbd) kbd.call( cKT_PredictNoLF, 5, false, 'Enter the name of the title you want.' );" onchange="Image04s.blur(); searchValue=Image04s.value; Image04s.value=''; searchUrl=addParam('B_04.jsp?p=1&vc=true', 'title', searchValue); if (searchValue != '') showPage(searchUrl);" /></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
616
jsp/B_02.jsp
Normal file
616
jsp/B_02.jsp
Normal file
|
|
@ -0,0 +1,616 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.";
|
||||
a[-(EC_ERROR_ECARD)] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[618] = "This Nintendo eShop Card cannot be used in your region.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot re-download it.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[644] = "Credit cards cannot be used with this console.<BR>Please contact your local customer support centre.<BR>For contact details, visit support.nintendo.com.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error occurred when processing Wii Points. Please try again.<BR><BR>If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[811] = "The activation number you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Nintendo eShop Card has already been redeemed.";
|
||||
a[819] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[831] = "This Nintendo eShop Card cannot be used in your region.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[942] = "Unable to confirm the e-mail address at this time because of a server error.<BR><BR>Please try again later.";
|
||||
a[943] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo membership, it cannot be linked to this WiiMart Account.";
|
||||
a[1403] = "Due to restrictions on your My Nintendo membership, it cannot be linked to this WiiMart Account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the User Name at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Please verify the code and try again.";
|
||||
a[1612] = "The Wii Download Ticket you entered cannot be used in your region.<BR><BR>Please verify the code and try again.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the e-mail address at this time because of a server error.<BR><BR>Please try again later.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "(N/A)";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "This credit card cannot be used.<BR>Please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The address you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postcode does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit card information at this time.<BR><BR>Please try again later.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit card information at this time.<BR><BR>Please try again later.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "(N/A)";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the 3 digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Wii Software</title>
|
||||
<style type="text/css">
|
||||
/* B_02: Wii Exclusive Software Top */
|
||||
|
||||
|
||||
body,td,th {
|
||||
font-family: Wii NTLG Gothic JPN Regular, Wii NTLG PGothic JPN Regular;
|
||||
font-size: 22px;
|
||||
color: #323232;
|
||||
}
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:49;
|
||||
}
|
||||
#text02-01 { position:absolute;
|
||||
left:29px;
|
||||
top:80px;
|
||||
width:431px;
|
||||
height:18px;
|
||||
z-index:48;
|
||||
}
|
||||
#text03-01 { position:absolute;
|
||||
left:250px;
|
||||
top:106px;
|
||||
width:318px;
|
||||
height:240px;
|
||||
z-index:47;
|
||||
}
|
||||
#Layer1 {
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:106px;
|
||||
width:195px;
|
||||
height:137px;
|
||||
z-index:72;
|
||||
}
|
||||
#Layer2 {
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:245px;
|
||||
width:195px;
|
||||
height:24px;
|
||||
z-index:71;
|
||||
}
|
||||
.styleInternetChannel {
|
||||
font-size: 15px;
|
||||
line-height: 17px;
|
||||
}
|
||||
<!--
|
||||
body {
|
||||
background-image: url(/oss/oss/common/images//back/B_02back.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif');
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "wiiCancelSound()");
|
||||
|
||||
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01" align="left" class="titleBlackL">
|
||||
Wii Software</div>
|
||||
<div id="text02-01" align="left" class="headerBlueM">
|
||||
Get new Wii Channels here.</div>
|
||||
<div id="text03-01" class="catalogTitleBlack_01">The WiiMart isn’t just about downloading Virtual Console games 窶錀 we’ve also created new software just for Wii. One example is the Internet Channel.<BR><BR>The Internet Channel allows you to surf the web from the comfort of your couch. We’re planning to release the Internet Channel in the near future. Check back often for this and other exciting Channels.</div>
|
||||
<div id="Layer1">
|
||||
<img src="/oss/oss/common/images//banner/wii_ware_Google_AllLang.gif" width="195" height="137" border=0/>
|
||||
</div>
|
||||
<div style="font-size: 12px;" class="contentsBlack" id="Layer2">
|
||||
<div align="left">Google is a trademark of Google Inc.</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
1001
jsp/B_03.jsp
Normal file
1001
jsp/B_03.jsp
Normal file
File diff suppressed because it is too large
Load diff
2866
jsp/B_04 copy.jsp
Normal file
2866
jsp/B_04 copy.jsp
Normal file
File diff suppressed because it is too large
Load diff
1401
jsp/B_04.jsp
Normal file
1401
jsp/B_04.jsp
Normal file
File diff suppressed because it is too large
Load diff
1834
jsp/B_05-test.jsp
Normal file
1834
jsp/B_05-test.jsp
Normal file
File diff suppressed because it is too large
Load diff
1925
jsp/B_05.jsp
Normal file
1925
jsp/B_05.jsp
Normal file
File diff suppressed because it is too large
Load diff
683
jsp/B_06.jsp
Normal file
683
jsp/B_06.jsp
Normal file
|
|
@ -0,0 +1,683 @@
|
|||
<%@ page import = "java.io.*,java.util.*,javax.servlet.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<%
|
||||
String param = request.getParameter("titleId");
|
||||
RequestDispatcher dispatcher = request.getRequestDispatcher("/serv/titleId/" + param + "/B_06.jsp");
|
||||
dispatcher.forward(request, response);
|
||||
%>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Title name -->
|
||||
<!-- Controller image and message -->
|
||||
<!-- Release Date -->
|
||||
<!-- Number of players -->
|
||||
<!-- Title Rating Images -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>More Details</title>
|
||||
<style type="text/css">
|
||||
/* B_06: Software Commentary/Details */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:38;
|
||||
}
|
||||
#goodsdetails {
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:73px;
|
||||
width:540px;
|
||||
height:293px;
|
||||
z-index:10;
|
||||
}
|
||||
#TitleName1stline {
|
||||
position:absolute;
|
||||
left:37px;
|
||||
top:96px;
|
||||
width:540px;
|
||||
z-index:43;
|
||||
}
|
||||
#goodsfree {
|
||||
position:absolute;
|
||||
left:38px;
|
||||
top:150px;
|
||||
width:538px;
|
||||
height:215px;
|
||||
z-index:31;
|
||||
overflow:auto;
|
||||
}
|
||||
#TitleName2stline {
|
||||
position:absolute;
|
||||
left:37px;
|
||||
top:122px;
|
||||
width:540px;
|
||||
z-index:41;
|
||||
}
|
||||
#Platform {
|
||||
position:absolute;
|
||||
left:39px;
|
||||
top:75px;
|
||||
width:218px;
|
||||
height:13px;
|
||||
z-index:63;
|
||||
}
|
||||
#text {
|
||||
position:absolute;
|
||||
left:192px;
|
||||
top:0px;
|
||||
width:280px;
|
||||
height:120px;
|
||||
z-index:2;
|
||||
}
|
||||
#image02 {
|
||||
position:absolute;
|
||||
left:12px;
|
||||
top:4px;
|
||||
width:160px;
|
||||
height:120px;
|
||||
z-index:2
|
||||
}
|
||||
#image01 {
|
||||
position:absolute;
|
||||
left:12px;
|
||||
top:140px;
|
||||
width:160px;
|
||||
height:120px;
|
||||
z-index:2
|
||||
}</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif');
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
|
||||
|
||||
if (ecSupportsSession()) {
|
||||
var lastPageB06 = ec.getSessionValue("history.B_06.-1");
|
||||
if (lastPageB06.indexOf("history.B_31") == 0) {
|
||||
disableWiiPointButton();
|
||||
}
|
||||
}
|
||||
}
|
||||
var scroll_step = 30;
|
||||
function kdown(id)
|
||||
{
|
||||
var _code = event.keyCode;
|
||||
var _obj = document.getElementById(id);
|
||||
switch(_code)
|
||||
{
|
||||
case 175: //up
|
||||
case 38:
|
||||
_obj.scrollTop -= scroll_step;
|
||||
break;
|
||||
case 176: //down
|
||||
case 40:
|
||||
_obj.scrollTop += scroll_step;
|
||||
break;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onkeypress="kdown('goodsfree');" onload="initPage(); goodsfree.focus();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="position:absolute; left:0px; top:0px; width:1px; height:1px; z-index:6;">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="ktouch" width="1" height="1" border="0" id="ktouch"/>
|
||||
</div>
|
||||
|
||||
<div id="goodsfree">
|
||||
<div id="text" class="buttonTextBlackM"></div>
|
||||
<div id="image02">
|
||||
</div>
|
||||
<div id="image01">
|
||||
</div>
|
||||
</div>
|
||||
<div id="text01-01">
|
||||
<div align="left" class="titleBlackL">More Details</div>
|
||||
</div>
|
||||
<div id="goodsdetails"><img src="/oss/oss/common/images//banner/goods_details.gif" width="540" height="293" /></div>
|
||||
<div style="overflow:hidden" nowrap id="TitleName1stline">
|
||||
<div align="center" class="headerBlueL"><span class="contentsBlueM"></span></div>
|
||||
</div>
|
||||
<div class="contentsBlueM" id="Platform">
|
||||
<div align="left" class="headerWhiteS">???platform.???</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
607
jsp/B_07.jsp
Normal file
607
jsp/B_07.jsp
Normal file
|
|
@ -0,0 +1,607 @@
|
|||
<%@ page import = "java.io.*,java.util.*,javax.servlet.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<%
|
||||
String param = request.getParameter("titleId");
|
||||
RequestDispatcher dispatcher = request.getRequestDispatcher("/serv/titleId/" + param + "/B_07.jsp");
|
||||
dispatcher.forward(request, response);
|
||||
%>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Rating Information</title>
|
||||
<style type="text/css">
|
||||
/* B_07: Rating Information */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:38;
|
||||
}
|
||||
#goodsdetails {
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:94px;
|
||||
width:540px;
|
||||
height:262px;
|
||||
z-index:30;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif');
|
||||
|
||||
|
||||
if (ecSupportsSession()) {
|
||||
var giftStatus = ec.getSessionValue("giftStatus");
|
||||
var lastPageB07 = ec.getSessionValue("history.B_07.-1");
|
||||
trace("giftStatus: " + giftStatus);
|
||||
if (giftStatus == "receiving") {
|
||||
document.getElementById("constElements").style.display='none';
|
||||
document.getElementById("giftline").style.display='';
|
||||
document.getElementById("giftcurrentBalance").innerHTML = getBalance();
|
||||
setUnderButtonL(true, "Back", "javascript:showOldPage('B_24.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
/* } else if (giftStatus == "done") {
|
||||
setUnderButtonL(true, "Back", "javascript:showOldPage('B_24.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
*/
|
||||
} else if (isPageJump()) {
|
||||
setUnderButtonL(true, shop.menuBtn, "javascript:showWiiMenu()", "snd.playSE(cSE_Decide)");
|
||||
} else if (lastPageB07.indexOf("history.B_31") == 0) {
|
||||
disableWiiPointButton();
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
} else {
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
}
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="giftline" style="display: none;">
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point">
|
||||
<div align="center" class="wiiPoint"><span id="giftcurrentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="text01-01">
|
||||
<div align="left" class="titleBlackL">Rating Information</div>
|
||||
</div>
|
||||
<div id="goodsdetails">
|
||||
<iframe src="" frameborder="0" style="border:solid 1px #35beed;" scrolling="auto" width="540" height="262"></iframe>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
846
jsp/B_08.jsp
Normal file
846
jsp/B_08.jsp
Normal file
|
|
@ -0,0 +1,846 @@
|
|||
<%@ page import = "java.io.*,java.util.*,java.net.http.*,java.net.URI,java.net.http.HttpResponse.BodyHandlers,java.net.HttpURLConnection,java.net.URL,java.nio.charset.StandardCharsets,org.json.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<%
|
||||
String titleId = request.getParameter("titleId") == null ? "" : request.getParameter("titleId");
|
||||
String targetURL = "http://127.0.0.1:8082/getTitle?titleId=" + titleId;
|
||||
%>
|
||||
<script>
|
||||
console.log("<%= titleId %>")
|
||||
</script>
|
||||
<%
|
||||
StringBuilder res = new StringBuilder();
|
||||
|
||||
try {
|
||||
URL url = new URL(targetURL);
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setRequestMethod("GET");
|
||||
|
||||
int responseCode = connection.getResponseCode();
|
||||
BufferedReader reader;
|
||||
|
||||
if (responseCode == HttpURLConnection.HTTP_OK) {
|
||||
reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
|
||||
} else {
|
||||
reader = new BufferedReader(new InputStreamReader(connection.getErrorStream()));
|
||||
}
|
||||
|
||||
String line;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
res.append(line);
|
||||
}
|
||||
reader.close();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
res.append("Error: ").append(e.getMessage());
|
||||
}
|
||||
|
||||
String games = res.toString();
|
||||
%>
|
||||
<script>
|
||||
console.log('<%= games %>');
|
||||
</script>
|
||||
<%
|
||||
// Parse JSON response
|
||||
JSONObject title = new JSONObject(games);
|
||||
String id = title.getString("id");
|
||||
String thumbnail = title.getString("thumbnail");
|
||||
String title1 = title.getString("title1");
|
||||
String title2 = title.getString("title2");
|
||||
String platform = title.getString("console");
|
||||
if (platform.equals("WII")) {
|
||||
platform = "Wii Channels";
|
||||
} else if (platform.equals("WIIWARE")) {
|
||||
platform = "WiiWare";
|
||||
};
|
||||
String releaseDate = title.getString("date");
|
||||
String genre = title.getString("genre");
|
||||
String publisher = title.getString("publisher");
|
||||
String points = title.getString("points");
|
||||
String players = title.getString("players");
|
||||
String ratingDetails = title.getString("ratingdetails");
|
||||
String rating = title.getString("rating").toUpperCase();
|
||||
String controllers = title.getString("controllers");
|
||||
%>
|
||||
<script>
|
||||
console.log("<%= id %>")
|
||||
</script>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Title name -->
|
||||
<!-- Controller image and message -->
|
||||
<!-- Release Date -->
|
||||
<!-- Number of players -->
|
||||
<!-- Title Rating Images -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Selection Confirmation</title>
|
||||
<style type="text/css">
|
||||
/* B_08: Caution Items */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:142px;
|
||||
width:480px;
|
||||
height:18px;
|
||||
z-index:37
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:216px;
|
||||
width:480px;
|
||||
height:60px;
|
||||
z-index:38;
|
||||
line-height:20px;
|
||||
}
|
||||
#text04-01 {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:300px;
|
||||
width:480px;
|
||||
height:60px;
|
||||
z-index:38;
|
||||
line-height:20px;
|
||||
}
|
||||
#text04-02 {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:216px;
|
||||
width:480px;
|
||||
height:144px;
|
||||
z-index:38;
|
||||
line-height:20px;
|
||||
}
|
||||
#cautionArea {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:137px;
|
||||
width:490px;
|
||||
height:227px;
|
||||
z-index:38;
|
||||
line-height:20px;
|
||||
overflow:auto;
|
||||
}
|
||||
#frame {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:84px;
|
||||
width:540px;
|
||||
height:275px;
|
||||
z-index:27;
|
||||
}
|
||||
#GC {
|
||||
position:absolute;
|
||||
left:343px;
|
||||
top:160px;
|
||||
width:60px;
|
||||
height:60px;
|
||||
z-index:36;
|
||||
}
|
||||
#controller {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:164px;
|
||||
width:480px;
|
||||
height:51px;
|
||||
z-index:35;
|
||||
}
|
||||
|
||||
#TitleName1stline {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:87px;
|
||||
width:480px;
|
||||
overflow:hidden;
|
||||
z-index:34
|
||||
}
|
||||
|
||||
#TitleName2stline {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:110px;
|
||||
width:480px;
|
||||
z-index:33;
|
||||
}
|
||||
body {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/card02_b.gif','/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
if(shop.isCompatibleMode){
|
||||
if (document.getElementById('GcCtrl')){
|
||||
document.getElementById('GcCtrl').style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
if (ecSupportsSession()) {
|
||||
var showCtrlPage = ec.getSessionValue("showCtrlPage");
|
||||
ec.setSessionValue("showCtrlPage", null);
|
||||
var giftStatus = ec.getSessionValue("giftStatus");
|
||||
trace("giftStatus: " + giftStatus);
|
||||
var transId = ec.getSessionValue("transId");
|
||||
trace("transId: " + transId);
|
||||
var useCampaignCode = ec.getSessionValue("useCampaignCode");
|
||||
trace("useCampaignCode: " + useCampaignCode);
|
||||
/* var redownloadFlag = ec.getSessionValue("redownloadFlag");
|
||||
trace("redownloadFlag: "+redownloadFlag); */
|
||||
var hasCautionItem2 = '';
|
||||
var hasCautionItem3 = '';
|
||||
var wifiIndicator = parseInt('');
|
||||
trace("WiFi indicator: "+wifiIndicator);
|
||||
var platform = '';
|
||||
trace("platform: "+platform);
|
||||
var genreWifiPay = "";
|
||||
|
||||
if (giftStatus == "sending") {
|
||||
setUnderButtonL(true, "Back", "javascript:showOldPage('B_05.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
if (showCtrlPage != "true") {
|
||||
if (hasCautionItem2 == "true" || ((genreWifiPay == "true") && (wifiIndicator == WIFI_PARTIALLY_CHARGED || wifiIndicator == WIFI_ALL_CHARGED || wifiIndicator == WIFI_FREE_INPUT))) {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_28.jsp?titleId=<%= titleId %>&itemId=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else if (hasCautionItem3 == "true") {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_29.jsp?titleId=<%= titleId %>&itemId=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_18.jsp?titleId=<%= titleId %>&itemId=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
}
|
||||
} else if (giftStatus == "receiving") {
|
||||
// setUnderButtonL(true, "Back", "javascript:showGiftTrans("+transId+")", "snd.playSE(cSE_Cancel)");
|
||||
if (showCtrlPage == "true") {
|
||||
disableWiiPointButton();
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
} else {
|
||||
if (hasCautionItem2 == "true" || ((genreWifiPay == "true") && (wifiIndicator == WIFI_PARTIALLY_CHARGED || wifiIndicator == WIFI_ALL_CHARGED || wifiIndicator == WIFI_FREE_INPUT))) {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_28.jsp?titleId=<%= titleId %>&itemId=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else if (hasCautionItem3 == "true") {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_29.jsp?titleId=<%= titleId %>&itemId=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_09.jsp?titleId=<%= titleId %>&SD=')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
}
|
||||
document.getElementById("constElements").style.display='none';
|
||||
document.getElementById("giftline").style.display='';
|
||||
document.getElementById("giftcurrentBalance").innerHTML = getBalance();
|
||||
/* } else if (redownloadFlag == "true") {
|
||||
setUnderButtonL(true, "Back", "javascript:showGiftTrans("+transId+")", "snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_09.jsp?titleId=<%= titleId %>&SD=')", "snd.playSE(cSE_Decide)");
|
||||
*/
|
||||
} else {
|
||||
var lastPageB08 = ec.getSessionValue("history.B_08.-1");
|
||||
if (lastPageB08.indexOf("history.B_31") == 0) {
|
||||
disableWiiPointButton();
|
||||
}
|
||||
if (useCampaignCode != "true") {
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
}
|
||||
if (showCtrlPage != "true") {
|
||||
if (hasCautionItem2 == "true" || ((genreWifiPay == "true") && (wifiIndicator == WIFI_PARTIALLY_CHARGED || wifiIndicator == WIFI_ALL_CHARGED || wifiIndicator == WIFI_FREE_INPUT))) {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_28.jsp?titleId=<%= titleId %>&itemId=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else if (hasCautionItem3 == "true") {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_29.jsp?titleId=<%= titleId %>&itemId=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_09.jsp?titleId=<%= titleId %>&SD=')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (showCtrlPage == "true") {
|
||||
disableWiiPointButton();
|
||||
document.getElementById("ManualImageID").onclick = 'ec.setSessionValue("showCtrlPage", "true"); showHelp(); wiiSelectSound();';
|
||||
document.getElementById("B08headingMessage").innerHTML = "Controller Confirmation";
|
||||
} else {
|
||||
document.getElementById("B08headingMessage").innerHTML = "Selection Confirmation";
|
||||
}
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="giftline" style="display: none;">
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point">
|
||||
<div align="center" class="wiiPoint"><span id="giftcurrentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="text01-01">
|
||||
<div align="left" class="titleBlackL"><span id="B08headingMessage"></span></div>
|
||||
</div>
|
||||
<div id="frame">
|
||||
<div align="center" ><img src="/oss/oss/common/images//banner/Purchasing_frame01.gif" width="500" height="280" /> </div>
|
||||
</div>
|
||||
<div id="TitleName1stline" nowrap>
|
||||
<div align="center" class="contentsBlueM"><%= title1 %></div>
|
||||
</div>
|
||||
<div style="overflow:hidden" nowrap="" id="TitleName2stline">
|
||||
<div align="center"><span class="contentsBlueM"><%= title2 %></span></div>
|
||||
</div>
|
||||
<div id="text02-01" >
|
||||
<div align="center" >
|
||||
<div align="center" class="contentsBlueS_01">Please note the following when downloading this software:</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= controllers %>
|
||||
|
||||
<div id="text03-01">
|
||||
<div align="center" >
|
||||
<div align="left" class="contentsBlackS"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="text04-01">
|
||||
<div align="center" >
|
||||
<div align="left" class="contentsBlackS"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
1709
jsp/B_09.jsp
Normal file
1709
jsp/B_09.jsp
Normal file
File diff suppressed because it is too large
Load diff
1538
jsp/B_10.jsp
Normal file
1538
jsp/B_10.jsp
Normal file
File diff suppressed because it is too large
Load diff
457
jsp/B_13.jsp
Normal file
457
jsp/B_13.jsp
Normal file
|
|
@ -0,0 +1,457 @@
|
|||
<%@ page import = "java.io.*,java.util.*,javax.servlet.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return '<%= request.getMethod() %>';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>???B_13.title???</title>
|
||||
<style type="text/css">
|
||||
/* B_13: Health and Safety Warning */
|
||||
|
||||
|
||||
#spacer { position:absolute;
|
||||
left:209px;
|
||||
top:369px;
|
||||
width:190px;
|
||||
height:54px;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: url(/oss/oss/common/images//HealthAndSafety_image/VC_HAS_US_EN.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
|
||||
// Show black wall paper
|
||||
if (shop && "setWallpaper" in shop) {
|
||||
shop.setWallpaper(cWP_Black);
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<%
|
||||
String titleId = request.getParameter("titleId");
|
||||
%>
|
||||
<div id="banner" style="position:absolute; left:209px; top:369px; width:190px; height:54px; z-index:1"><img src="/oss/oss/common/images//HealthAndSafety_image/B_12_banner_EN.gif" width="190" height="54"></div>
|
||||
<div id="spacer"><a href="javascript:goGiftNext('<%= titleId %>')"><img src="/oss/oss/common/images//spacer.gif" width="190" height="54" border="0" onmouseover="wiiFocusSound();" onclick="wiiSelectSound();"></a></div>
|
||||
</body>
|
||||
</html>
|
||||
829
jsp/B_16.jsp
Normal file
829
jsp/B_16.jsp
Normal file
|
|
@ -0,0 +1,829 @@
|
|||
<%@ page import = "java.io.*,java.util.*,javax.servlet.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Search by Genre</title>
|
||||
<style type="text/css">
|
||||
/* B_16: Select Genre (VC) */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:51;
|
||||
}
|
||||
|
||||
.searchItem {
|
||||
border:solid 1px #35beed;
|
||||
background-color: #C4FBFF;
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:88px;
|
||||
width:540px;
|
||||
height:277px;
|
||||
z-index:44;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif','/oss/oss/common/images//banner/B_04_half_genre_b.png');
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
}
|
||||
var scroll_step = 30;
|
||||
function kdown()
|
||||
{
|
||||
var _code = event.keyCode;
|
||||
var _obj = document.getElementById('searchItem');
|
||||
switch(_code)
|
||||
{
|
||||
case 175: //up
|
||||
case 38:
|
||||
_obj.scrollTop -= scroll_step;
|
||||
break;
|
||||
case 176: //down
|
||||
case 40:
|
||||
_obj.scrollTop += scroll_step;
|
||||
break;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onkeypress="kdown();" onload="initPage(); searchItem.focus();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01">
|
||||
<div align="left"><span class="titleBlackL">Search by Genre</span></div>
|
||||
</div>
|
||||
<div style="position:absolute; left:0px; top:0px; width:1px; height:1px; z-index:6;">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="ktouch" width="1" height="1" border="0" id="ktouch"/>
|
||||
</div>
|
||||
|
||||
<div id="searchItem" class="searchItem">
|
||||
|
||||
<div id="banner01" style="position:absolute; left:0px; top:1.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image01" /></div>
|
||||
<div id="word01" style="position:absolute; left:15px; top:6.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Demo</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit01-01" style="position:absolute; left:114px; top:60.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit01-02" style="position:absolute; left:198px; top:60.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">47</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer01" style="position:absolute; left:0px; top:1.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=TRIAL')"><img src="/oss/oss/common/images//spacer.gif" name="Image01s" width="244" height="91" border="0" id="Image01s" onmouseover="MM_swapImage('Image01','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner02" style="position:absolute; left:244px; top:1.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image02" /></div>
|
||||
<div id="word02" style="position:absolute; left:259px; top:6.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Action</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit02-01" style="position:absolute; left:358px; top:60.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit02-02" style="position:absolute; left:442px; top:60.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">422</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer02" style="position:absolute; left:244px; top:1.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=ACTION')"><img src="/oss/oss/common/images//spacer.gif" name="Image02s" width="244" height="91" border="0" id="Image02s" onmouseover="MM_swapImage('Image02','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner03" style="position:absolute; left:0px; top:93.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image03" /></div>
|
||||
<div id="word03" style="position:absolute; left:15px; top:98.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Adventure</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit03-01" style="position:absolute; left:114px; top:152.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit03-02" style="position:absolute; left:198px; top:152.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">147</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer03" style="position:absolute; left:0px; top:93.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=ADVENTURE')"><img src="/oss/oss/common/images//spacer.gif" name="Image03s" width="244" height="91" border="0" id="Image03s" onmouseover="MM_swapImage('Image03','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner04" style="position:absolute; left:244px; top:93.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image04" /></div>
|
||||
<div id="word04" style="position:absolute; left:259px; top:98.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Fighting</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit04-01" style="position:absolute; left:358px; top:152.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit04-02" style="position:absolute; left:442px; top:152.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">62</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer04" style="position:absolute; left:244px; top:93.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=FIGHTING')"><img src="/oss/oss/common/images//spacer.gif" name="Image04s" width="244" height="91" border="0" id="Image04s" onmouseover="MM_swapImage('Image04','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner05" style="position:absolute; left:0px; top:185.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image05" /></div>
|
||||
<div id="word05" style="position:absolute; left:15px; top:190.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Puzzle</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit05-01" style="position:absolute; left:114px; top:244.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit05-02" style="position:absolute; left:198px; top:244.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">152</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer05" style="position:absolute; left:0px; top:185.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=PUZZLE')"><img src="/oss/oss/common/images//spacer.gif" name="Image05s" width="244" height="91" border="0" id="Image05s" onmouseover="MM_swapImage('Image05','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner06" style="position:absolute; left:244px; top:185.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image06" /></div>
|
||||
<div id="word06" style="position:absolute; left:259px; top:190.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Racing</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit06-01" style="position:absolute; left:358px; top:244.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit06-02" style="position:absolute; left:442px; top:244.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">40</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer06" style="position:absolute; left:244px; top:185.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=RACING')"><img src="/oss/oss/common/images//spacer.gif" name="Image06s" width="244" height="91" border="0" id="Image06s" onmouseover="MM_swapImage('Image06','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner07" style="position:absolute; left:0px; top:277.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image07" /></div>
|
||||
<div id="word07" style="position:absolute; left:15px; top:282.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">RPG</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit07-01" style="position:absolute; left:114px; top:336.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit07-02" style="position:absolute; left:198px; top:336.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">46</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer07" style="position:absolute; left:0px; top:277.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=RPG')"><img src="/oss/oss/common/images//spacer.gif" name="Image07s" width="244" height="91" border="0" id="Image07s" onmouseover="MM_swapImage('Image07','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner08" style="position:absolute; left:244px; top:277.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image08" /></div>
|
||||
<div id="word08" style="position:absolute; left:259px; top:282.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Simulation</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit08-01" style="position:absolute; left:358px; top:336.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit08-02" style="position:absolute; left:442px; top:336.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">57</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer08" style="position:absolute; left:244px; top:277.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=SIMULATION')"><img src="/oss/oss/common/images//spacer.gif" name="Image08s" width="244" height="91" border="0" id="Image08s" onmouseover="MM_swapImage('Image08','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner09" style="position:absolute; left:0px; top:369.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image09" /></div>
|
||||
<div id="word09" style="position:absolute; left:15px; top:374.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Sports</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit09-01" style="position:absolute; left:114px; top:428.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit09-02" style="position:absolute; left:198px; top:428.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">82</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer09" style="position:absolute; left:0px; top:369.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=SPORTS')"><img src="/oss/oss/common/images//spacer.gif" name="Image09s" width="244" height="91" border="0" id="Image09s" onmouseover="MM_swapImage('Image09','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner010" style="position:absolute; left:244px; top:369.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image010" /></div>
|
||||
<div id="word010" style="position:absolute; left:259px; top:374.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Shooter</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit010-01" style="position:absolute; left:358px; top:428.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit010-02" style="position:absolute; left:442px; top:428.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">111</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer010" style="position:absolute; left:244px; top:369.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=SHOOTING')"><img src="/oss/oss/common/images//spacer.gif" name="Image010s" width="244" height="91" border="0" id="Image010s" onmouseover="MM_swapImage('Image010','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner011" style="position:absolute; left:0px; top:461.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image011" /></div>
|
||||
<div id="word011" style="position:absolute; left:15px; top:466.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Board Game</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit011-01" style="position:absolute; left:114px; top:520.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit011-02" style="position:absolute; left:198px; top:520.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">29</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer011" style="position:absolute; left:0px; top:461.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=BOARD%2fTABLE')"><img src="/oss/oss/common/images//spacer.gif" name="Image011s" width="244" height="91" border="0" id="Image011s" onmouseover="MM_swapImage('Image011','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner012" style="position:absolute; left:244px; top:461.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image012" /></div>
|
||||
<div id="word012" style="position:absolute; left:259px; top:466.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Strategy</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit012-01" style="position:absolute; left:358px; top:520.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit012-02" style="position:absolute; left:442px; top:520.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">31</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer012" style="position:absolute; left:244px; top:461.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=STRATEGY')"><img src="/oss/oss/common/images//spacer.gif" name="Image012s" width="244" height="91" border="0" id="Image012s" onmouseover="MM_swapImage('Image012','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner013" style="position:absolute; left:0px; top:553.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image013" /></div>
|
||||
<div id="word013" style="position:absolute; left:15px; top:558.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">First-Person Shooter</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit013-01" style="position:absolute; left:114px; top:612.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit013-02" style="position:absolute; left:198px; top:612.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">5</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer013" style="position:absolute; left:0px; top:553.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=FPS')"><img src="/oss/oss/common/images//spacer.gif" name="Image013s" width="244" height="91" border="0" id="Image013s" onmouseover="MM_swapImage('Image013','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner014" style="position:absolute; left:244px; top:553.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image014" /></div>
|
||||
<div id="word014" style="position:absolute; left:259px; top:558.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Education</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit014-01" style="position:absolute; left:358px; top:612.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit014-02" style="position:absolute; left:442px; top:612.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">25</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer014" style="position:absolute; left:244px; top:553.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=EDUCATION')"><img src="/oss/oss/common/images//spacer.gif" name="Image014s" width="244" height="91" border="0" id="Image014s" onmouseover="MM_swapImage('Image014','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner015" style="position:absolute; left:0px; top:645.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image015" /></div>
|
||||
<div id="word015" style="position:absolute; left:15px; top:650.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Arcade</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit015-01" style="position:absolute; left:114px; top:704.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit015-02" style="position:absolute; left:198px; top:704.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">205</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer015" style="position:absolute; left:0px; top:645.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=ARCADE')"><img src="/oss/oss/common/images//spacer.gif" name="Image015s" width="244" height="91" border="0" id="Image015s" onmouseover="MM_swapImage('Image015','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner016" style="position:absolute; left:244px; top:645.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image016" /></div>
|
||||
<div id="word016" style="position:absolute; left:259px; top:650.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Platformer</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit016-01" style="position:absolute; left:358px; top:704.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit016-02" style="position:absolute; left:442px; top:704.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">82</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer016" style="position:absolute; left:244px; top:645.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=PLATFORMER')"><img src="/oss/oss/common/images//spacer.gif" name="Image016s" width="244" height="91" border="0" id="Image016s" onmouseover="MM_swapImage('Image016','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner017" style="position:absolute; left:0px; top:737.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image017" /></div>
|
||||
<div id="word017" style="position:absolute; left:15px; top:742.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Multiplayer</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit017-01" style="position:absolute; left:114px; top:796.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit017-02" style="position:absolute; left:198px; top:796.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">186</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer017" style="position:absolute; left:0px; top:737.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=MULTIPLAYER')"><img src="/oss/oss/common/images//spacer.gif" name="Image017s" width="244" height="91" border="0" id="Image017s" onmouseover="MM_swapImage('Image017','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner018" style="position:absolute; left:244px; top:737.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image018" /></div>
|
||||
<div id="word018" style="position:absolute; left:259px; top:742.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Import</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit018-01" style="position:absolute; left:358px; top:796.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit018-02" style="position:absolute; left:442px; top:796.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">25</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer018" style="position:absolute; left:244px; top:737.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=IMPORT')"><img src="/oss/oss/common/images//spacer.gif" name="Image018s" width="244" height="91" border="0" id="Image018s" onmouseover="MM_swapImage('Image018','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner019" style="position:absolute; left:0px; top:829.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image019" /></div>
|
||||
<div id="word019" style="position:absolute; left:15px; top:834.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Nintendo Wi-Fi Connection</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit019-01" style="position:absolute; left:114px; top:888.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit019-02" style="position:absolute; left:198px; top:888.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">4</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer019" style="position:absolute; left:0px; top:829.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=WIFIFREE')"><img src="/oss/oss/common/images//spacer.gif" name="Image019s" width="244" height="91" border="0" id="Image019s" onmouseover="MM_swapImage('Image019','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner020" style="position:absolute; left:244px; top:829.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image020" /></div>
|
||||
<div id="word020" style="position:absolute; left:259px; top:834.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Nintendo WFC Pay & Play</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit020-01" style="position:absolute; left:358px; top:888.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit020-02" style="position:absolute; left:442px; top:888.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">27</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer020" style="position:absolute; left:244px; top:829.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=WIFIPAY')"><img src="/oss/oss/common/images//spacer.gif" name="Image020s" width="244" height="91" border="0" id="Image020s" onmouseover="MM_swapImage('Image020','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
<div id="banner021" style="position:absolute; left:0px; top:921.0px; width:244px; height:91px; z-index:5;"><img src="/oss/oss/common/images//banner/B_04_half_genre_a.png" width="244" height="91" id="Image021" /></div>
|
||||
<div id="word021" style="position:absolute; left:15px; top:926.0px; width:212px; height:52px; z-index:6;" align="center">
|
||||
<table height="100%"><tr><td align="left" valign="middle"><span class="catalogTitleBlack">Other</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit021-01" style="position:absolute; left:114px; top:980.0px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">Titles:</span></td></tr></table>
|
||||
</div>
|
||||
<div id="hit021-02" style="position:absolute; left:198px; top:980.0px; width:27px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%"><tr><td align="right" valign="top"><span class="contentsBlack">113</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer021" style="position:absolute; left:0px; top:921.0px; width:244px; height:91px; z-index:7;"><a href="javascript:showPage('B_04.jsp?p=1&genre=OTHER')"><img src="/oss/oss/common/images//spacer.gif" name="Image021s" width="244" height="91" border="0" id="Image021s" onmouseover="MM_swapImage('Image021','','/oss/oss/common/images//banner/B_04_half_genre_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
</div>
|
||||
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="1" height="1" id="Image10" />
|
||||
</body>
|
||||
</html>
|
||||
790
jsp/B_17.jsp
Normal file
790
jsp/B_17.jsp
Normal file
|
|
@ -0,0 +1,790 @@
|
|||
<%@ page import = "java.io.*,java.util.*,java.net.http.*,java.net.URI,java.net.http.HttpResponse.BodyHandlers,java.net.HttpURLConnection,java.net.URL,java.nio.charset.StandardCharsets,org.json.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<%@ page buffer="8192kb" autoFlush="true" %>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Search by Publisher</title>
|
||||
<style type="text/css">
|
||||
/* B_17: Select Publisher (VC) */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:51;
|
||||
}
|
||||
|
||||
.searchItem {
|
||||
border:solid 1px #35beed;
|
||||
background-color: #C4FBFF;
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:88px;
|
||||
width:540px;
|
||||
height:277px;
|
||||
z-index:44;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif','/oss/oss/common/images//banner/B_17_publisher_a_01.png','/oss/oss/common/images//banner/B_17_publisher_a_00.png');
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
}
|
||||
var scroll_step = 30;
|
||||
function kdown()
|
||||
{
|
||||
var _code = event.keyCode;
|
||||
var _obj = document.getElementById('searchItem');
|
||||
switch(_code)
|
||||
{
|
||||
case 175: //up
|
||||
case 38:
|
||||
_obj.scrollTop -= scroll_step;
|
||||
break;
|
||||
case 176: //down
|
||||
case 40:
|
||||
_obj.scrollTop += scroll_step;
|
||||
break;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onkeypress="kdown();" onload="initPage(); searchItem.focus();">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01">
|
||||
<div align="left"><span class="titleBlackL">Search by Publisher</span></div>
|
||||
</div>
|
||||
<div style="position:absolute; left:0px; top:0px; width:1px; height:1px; z-index:6;">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="ktouch" width="1" height="1" border="0" id="ktouch"/>
|
||||
</div>
|
||||
|
||||
<%
|
||||
// Fetch the publishers from the Express backend
|
||||
String targetURL = "http://127.0.0.1:8082/publishers";
|
||||
if (request.getParameter("vc") != null) {
|
||||
targetURL += "/vc";
|
||||
}
|
||||
StringBuilder res = new StringBuilder();
|
||||
|
||||
try {
|
||||
URL url = new URL(targetURL);
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setRequestMethod("GET");
|
||||
|
||||
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
|
||||
String line;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
res.append(line);
|
||||
}
|
||||
reader.close();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
res.append("[]"); // Default to an empty array in case of error
|
||||
}
|
||||
|
||||
// Convert response string to JSON array
|
||||
JSONArray publishers = new JSONArray(res.toString());
|
||||
%>
|
||||
<script>
|
||||
console.log('<%= publishers %>');
|
||||
</script>
|
||||
<div id="searchItem" class="searchItem">
|
||||
<div id="publisherBanner00" style="position:absolute; left:6px; top:2px; width:235px; height:55px;">
|
||||
<div id="banner00" style="position:absolute; left:0px; top:0px; width:235px; height:53px; z-index:5;">
|
||||
<img src="/oss/oss/common/images//banner/B_17_publisher_a_00.png" id="Image00">
|
||||
</div>
|
||||
<div id="word00" style="position:absolute; left:6px; top:6px; width:223px; height:22px; z-index:6; overflow: hidden;" align="center">
|
||||
<table height="100%">
|
||||
<tbody><tr>
|
||||
<td align="left" valign="middle">
|
||||
<span class="contentsBlack">Nintendo</span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="hit00-01" style="position:absolute; left:114px; top:31px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%">
|
||||
<tbody><tr>
|
||||
<td align="right" valign="top">
|
||||
<span class="contentsBlack">Titles:</span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="hit00-02" style="position:absolute; left:198px; top:31px; width:31px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%">
|
||||
<tbody><tr>
|
||||
<td align="right" valign="top">
|
||||
<%
|
||||
int numOfTitles = 0;
|
||||
for (int i = 0; i < publishers.length(); i++) {
|
||||
JSONObject publisherObj = publishers.getJSONObject(i);
|
||||
String publisher = publisherObj.getString("publisher");
|
||||
if (publisher.equalsIgnoreCase("Nintendo")) numOfTitles = publisherObj.getInt("count");
|
||||
else continue;
|
||||
}
|
||||
%>
|
||||
<span class="contentsBlack"><%= numOfTitles %></span> <!-- Placeholder for title count -->
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="spacer00" style="position:absolute; left:0px; top:0px; width:235px; height:55px; z-index:7;">
|
||||
<a href="javascript:showPage('B_04.jsp?p=1&publisher=Nintendo')">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="Image00s" width="235" height="55" border="0" id="Image00s"
|
||||
onmouseover="MM_swapImage('Image00','','/oss/oss/common/images//banner/B_17_publisher_a_01.png',1);snd.playSE(cSE_Forcus);"
|
||||
onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
|
||||
int columnCount = 2;
|
||||
int spacingX = 235;
|
||||
int spacingY = 54;
|
||||
int displayedIndex = 1;
|
||||
|
||||
for (int i = 0; i < publishers.length(); i++) {
|
||||
JSONObject publisherObj = publishers.getJSONObject(i);
|
||||
String publisher = publisherObj.getString("publisher");
|
||||
int titleCount = publisherObj.getInt("count");
|
||||
|
||||
if (publisher.equalsIgnoreCase("Nintendo")) continue; // Skip Nintendo
|
||||
if (publisher.equalsIgnoreCase("Activision")) continue; // Skip Activision
|
||||
|
||||
int row = displayedIndex / columnCount;
|
||||
int col = displayedIndex % columnCount;
|
||||
int leftPos = (col * spacingX) + 6;
|
||||
int topPos = (row * spacingY) + 2;
|
||||
|
||||
displayedIndex++;
|
||||
|
||||
%>
|
||||
|
||||
<div id="publisherBanner0<%= displayedIndex %>" style="position:absolute; left:<%= leftPos %>px; top:<%= topPos %>px; width:235px; height:55px;">
|
||||
<div id="banner0<%= displayedIndex %>" style="position:absolute; left:0px; top:0px; width:235px; height:53px; z-index:5;">
|
||||
<img src="/oss/oss/common/images//banner/B_17_publisher_a_00.png" id="Image0<%= displayedIndex %>">
|
||||
</div>
|
||||
<div id="word0<%= displayedIndex %>" style="position:absolute; left:6px; top:6px; width:223px; height:22px; z-index:6; overflow: hidden;" align="center">
|
||||
<table height="100%">
|
||||
<tbody><tr>
|
||||
<td align="left" valign="middle">
|
||||
<span class="contentsBlack"><%= publisher %></span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="hit0<%= displayedIndex %>-01" style="position:absolute; left:114px; top:31px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%">
|
||||
<tbody><tr>
|
||||
<td align="right" valign="top">
|
||||
<span class="contentsBlack">Titles:</span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="hit0<%= displayedIndex %>-02" style="position:absolute; left:198px; top:31px; width:31px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%">
|
||||
<tbody><tr>
|
||||
<td align="right" valign="top">
|
||||
<span class="contentsBlack"><%= titleCount %></span> <!-- Placeholder for title count -->
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="spacer0<%= displayedIndex %>" style="position:absolute; left:0px; top:0px; width:235px; height:55px; z-index:7;">
|
||||
<a href="javascript:showPage('B_04.jsp?p=1&publisher=<%= publisher.toUpperCase().replace(" ", "%20") %>')">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="Image0<%= displayedIndex %>s" width="235" height="55" border="0" id="Image0<%= displayedIndex %>s"
|
||||
onmouseover="MM_swapImage('Image0<%= displayedIndex %>','','/oss/oss/common/images//banner/B_17_publisher_a_01.png',1);snd.playSE(cSE_Forcus);"
|
||||
onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
<div id="publisherBanner0<%= displayedIndex+1 %>" style="position:absolute; left:241px; top:650px; width:235px; height:55px;">
|
||||
<div id="banner0<%= displayedIndex+1 %>" style="position:absolute; left:0px; top:0px; width:235px; height:53px; z-index:5;">
|
||||
<img src="/oss/oss/common/images//banner/B_17_publisher_a_00.png" id="Image0<%= displayedIndex+1 %>">
|
||||
</div>
|
||||
<div id="word0<%= displayedIndex+1 %>" style="position:absolute; left:6px; top:6px; width:223px; height:22px; z-index:6; overflow: hidden;" align="center">
|
||||
<table height="100%">
|
||||
<tbody><tr>
|
||||
<td align="left" valign="middle">
|
||||
<span class="contentsBlack">Activision</span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="hit0<%= displayedIndex+1 %>-01" style="position:absolute; left:114px; top:31px; width:84px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%">
|
||||
<tbody><tr>
|
||||
<td align="right" valign="top">
|
||||
<span class="contentsBlack">Titles:</span>
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="hit0<%= displayedIndex+1 %>-02" style="position:absolute; left:198px; top:31px; width:31px; height:16px; z-index:6;">
|
||||
<table width="100%" height="100%">
|
||||
<tbody><tr>
|
||||
<td align="right" valign="top">
|
||||
<%
|
||||
int numOfTitles2 = 0;
|
||||
for (int i = 0; i < publishers.length(); i++) {
|
||||
JSONObject publisherObj = publishers.getJSONObject(i);
|
||||
String publisher = publisherObj.getString("publisher");
|
||||
if (publisher.equalsIgnoreCase("Activision")) numOfTitles2 = publisherObj.getInt("count");
|
||||
else continue;
|
||||
}
|
||||
%>
|
||||
<span class="contentsBlack"><%= numOfTitles2 %></span> <!-- Placeholder for title count -->
|
||||
</td>
|
||||
</tr></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id="spacer0<%= displayedIndex+1 %>" style="position:absolute; left:0px; top:0px; width:235px; height:55px; z-index:7;">
|
||||
<a href="javascript:showPage('B_04.jsp?p=1&publisher=Activision')">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="Image0<%= displayedIndex+1 %>s" width="235" height="55" border="0" id="Image0<%= displayedIndex+1 %>s"
|
||||
onmouseover="MM_swapImage('Image0<%= displayedIndex+1 %>','','/oss/oss/common/images//banner/B_17_publisher_a_01.png',1);snd.playSE(cSE_Forcus);"
|
||||
onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="1" height="1" id="Image10" />
|
||||
</body>
|
||||
</html>
|
||||
712
jsp/B_18.jsp
Normal file
712
jsp/B_18.jsp
Normal file
|
|
@ -0,0 +1,712 @@
|
|||
<%@ page import = "java.io.*,java.util.*,java.net.http.*,java.net.URI,java.net.http.HttpResponse.BodyHandlers,java.net.HttpURLConnection,java.net.URL,java.nio.charset.StandardCharsets,org.json.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return '<%= request.getMethod() %>';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Gift</title>
|
||||
<style type="text/css">
|
||||
/* B_18: Friend Select */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:35;
|
||||
}
|
||||
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:89px;
|
||||
width:540px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
|
||||
#basePanel
|
||||
{
|
||||
position:absolute;
|
||||
border:solid 1px #35beed;
|
||||
left:25px;
|
||||
top:120px;
|
||||
width:550px;
|
||||
height:242px;
|
||||
z-index:5;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#friendContainer
|
||||
{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
left:0px;
|
||||
height:363px;
|
||||
z-index:6;
|
||||
}
|
||||
|
||||
.friendPanel
|
||||
{
|
||||
position:absolute;
|
||||
width:244px;
|
||||
height:68px;
|
||||
z-index:7;
|
||||
}
|
||||
|
||||
.friendBanner
|
||||
{
|
||||
position:absolute;
|
||||
width:244px;
|
||||
height:68px;
|
||||
z-index:8;
|
||||
}
|
||||
|
||||
.face
|
||||
{
|
||||
position:absolute;
|
||||
top:9px;
|
||||
left:12px;
|
||||
width:48px;
|
||||
height:48px;
|
||||
z-index:9;
|
||||
}
|
||||
|
||||
.nickname
|
||||
{
|
||||
position:absolute;
|
||||
top:22px;
|
||||
left:72px;
|
||||
width:160px;
|
||||
height:20px;
|
||||
text-align:center;
|
||||
z-index:9;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.spacer
|
||||
{
|
||||
position:absolute;
|
||||
top:4px;
|
||||
left:6px;
|
||||
width:232px;
|
||||
height:60px;
|
||||
z-index:10;
|
||||
}
|
||||
|
||||
/*************
|
||||
* FOR DEBUG *
|
||||
*************/
|
||||
/*/
|
||||
#basePanel, #friendContainer, .face, .nickname, .spacer, .friendPanel
|
||||
{
|
||||
border : solid 1px #ff0000;
|
||||
}
|
||||
/*//**/
|
||||
/*/#basePanel { border : solid thin blue; }/*//**/
|
||||
/*/#friendContainer { border : solid thin blue; }/*//**/
|
||||
/*/.face { border : solid thin blue; }/*//**/
|
||||
/*/.nickname { border : solid thin blue; }/*//**/
|
||||
/*/.spacer { border : solid thin blue; }/*//**/
|
||||
/*/.friendPanel { border : solid thin blue; }/*//**/
|
||||
</style>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//njsl.js'></script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//friendselector.js'></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
var titleId = '<%= request.getParameter("titleId") == null ? "" : request.getParameter("titleId") %>';
|
||||
var itemId = '';
|
||||
var nwc24 = new wiiNwc24 ;
|
||||
|
||||
function giveGift(friendIndex)
|
||||
{
|
||||
var to = parseInt( friendIndex ) ;
|
||||
var friendCode = nwc24.getFriendInfo(to, "userId");
|
||||
// Use HTTPS
|
||||
trace("giveGift");
|
||||
|
||||
var inputHTML = "";
|
||||
inputHTML += '<input type="hidden" name="titleId" value="'+ titleId + '"/>';
|
||||
inputHTML += '<input type="hidden" name="itemId" value="'+ itemId + '"/>';
|
||||
inputHTML += '<input type="hidden" name="recipient" value="'+ to + '"/>';
|
||||
inputHTML += '<input type="hidden" name="recipientDeviceCode" value="'+ friendCode + '"/>';
|
||||
|
||||
wiiSelectSound();
|
||||
|
||||
var form = createPostForm("GiveGiftForm", "B_19.jsp", true, inputHTML);
|
||||
form.submit();
|
||||
}
|
||||
|
||||
function initFriendSelector()
|
||||
{
|
||||
window.friendSelector = new NJSL.FriendSelector
|
||||
({
|
||||
basePanel : "basePanel",
|
||||
friendContainer : "friendContainer",
|
||||
bannerDir : '/oss/oss/common/images//banner',
|
||||
friendBannerA : 'WiiFriend_banner_a.png',
|
||||
friendBannerB : 'WiiFriend_banner_b.png',
|
||||
clickHandler : giveGift
|
||||
});
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif', '/oss/oss/common/images//banner/WiiFriend_banner_b.png');
|
||||
setUnderButtonL(true, 'Back', "javascript:showOldPage('B_05.jsp')", "wiiCancelSound()");
|
||||
setUnderButtonR(false, 'OK', "javascript:giveGift()", "wiiSelectSound()");
|
||||
trace("nwc24.sendable : " + nwc24.sendable);
|
||||
trace("nwc24.mailErrNo : " + nwc24.mailErrNo);
|
||||
trace("nwc24.errMsg : " + nwc24.errMsg);
|
||||
if( nwc24.sendable ){
|
||||
initFriendSelector();
|
||||
} else {
|
||||
//nwc24.dispError();
|
||||
}
|
||||
|
||||
var noWiiFriend = document.getElementById("noWiiFriend");
|
||||
if( noWiiFriend ) noWiiFriend.innerHTML = "You haven’t registered any Wii Friends.";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="titleBlackL" id="text01-01">Gift</div>
|
||||
|
||||
<div class="catalogTitleBlack" id="text02-01">
|
||||
Select a Wii Friend to give a gift.</div>
|
||||
|
||||
<div id='basePanel'>
|
||||
<div id='friendContainer'></div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
1214
jsp/B_19.jsp
Normal file
1214
jsp/B_19.jsp
Normal file
File diff suppressed because it is too large
Load diff
657
jsp/B_23.jsp
Normal file
657
jsp/B_23.jsp
Normal file
|
|
@ -0,0 +1,657 @@
|
|||
<%@ page import = "java.io.*,java.util.*,javax.servlet.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Search by Category</title>
|
||||
<style type="text/css">
|
||||
/* B_23: Virtual Console Search Page */
|
||||
|
||||
|
||||
#text00-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:62;
|
||||
}
|
||||
|
||||
#banner01 {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:89px;
|
||||
width:409px;
|
||||
height:86px;
|
||||
z-index:28;
|
||||
}
|
||||
#text01 {
|
||||
position:absolute;
|
||||
left:120px;
|
||||
top:99px;
|
||||
width:369px;
|
||||
height:66px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer01 {
|
||||
position:absolute;
|
||||
left:110px;
|
||||
top:99px;
|
||||
width:389px;
|
||||
height:66px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner02 {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:180px;
|
||||
width:409px;
|
||||
height:86px;
|
||||
z-index:28;
|
||||
}
|
||||
#text02 {
|
||||
position:absolute;
|
||||
left:120px;
|
||||
top:190px;
|
||||
width:369px;
|
||||
height:66px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer02 {
|
||||
position:absolute;
|
||||
left:110px;
|
||||
top:190px;
|
||||
width:389px;
|
||||
height:66px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner03 {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:271px;
|
||||
width:409px;
|
||||
height:86px;
|
||||
z-index:28;
|
||||
}
|
||||
#text03 {
|
||||
position:absolute;
|
||||
left:120px;
|
||||
top:281px;
|
||||
width:369px;
|
||||
height:66px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer03 {
|
||||
position:absolute;
|
||||
left:110px;
|
||||
top:281px;
|
||||
width:389px;
|
||||
height:66px;
|
||||
z-index:30;
|
||||
}
|
||||
<!--
|
||||
body {
|
||||
background-color: white;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif','/oss/oss/common/images//banner/B023_VCsort_b.png');
|
||||
setUnderButtonL(true, "Back", "javascript:showPage('B_01.jsp')", "wiiCancelSound()");
|
||||
// hideElement("underbannershadowL");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text00-01">
|
||||
<div align="left"><span class="titleBlackL">Search by Category</span></div>
|
||||
</div>
|
||||
|
||||
<div id="banner01"><img src="/oss/oss/common/images//banner/B023_VCsort_a.png" width="409" height="86" id="Image01" /></div>
|
||||
<div id="text01">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">System</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer01"><a href="javascript:showPage('B_03.jsp?vc=true')"><img src="/oss/oss/common/images//spacer.gif" name="Image01s" width="389" height="66" border="0" id="Image01s" onmouseover="MM_swapImage('Image01','','/oss/oss/common/images//banner/B023_VCsort_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner02"><img src="/oss/oss/common/images//banner/B023_VCsort_a.png" width="409" height="86" id="Image02" /></div>
|
||||
<div id="text02">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Publisher</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer02"><a href="javascript:showPage('B_17.jsp?vc=true')"><img src="/oss/oss/common/images//spacer.gif" name="Image02s" width="389" height="66" border="0" id="Image02s" onmouseover="MM_swapImage('Image02','','/oss/oss/common/images//banner/B023_VCsort_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner03"><img src="/oss/oss/common/images//banner/B023_VCsort_a.png" width="409" height="86" id="Image03" /></div>
|
||||
<div id="text03">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Genre</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer03"><a href="javascript:showPage('B_16.jsp?vc=true')"><img src="/oss/oss/common/images//spacer.gif" name="Image03s" width="389" height="66" border="0" id="Image03s" onmouseover="MM_swapImage('Image03','','/oss/oss/common/images//banner/B023_VCsort_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
736
jsp/B_27.jsp
Normal file
736
jsp/B_27.jsp
Normal file
|
|
@ -0,0 +1,736 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
<button onclick="window.location.reload();">reload</button>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiWare</title>
|
||||
<style type="text/css">
|
||||
/* B_01: Virtual Console Top Page */
|
||||
|
||||
|
||||
#text00-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:62;
|
||||
}
|
||||
|
||||
#text00-02 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:80px;
|
||||
width:545px;
|
||||
height:18px;
|
||||
z-index:61;
|
||||
}
|
||||
|
||||
#banner01 {
|
||||
position:absolute;
|
||||
left:28px;
|
||||
top:105px;
|
||||
width:260px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text01 {
|
||||
position:absolute;
|
||||
left:48px;
|
||||
top:115px;
|
||||
width:220px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer01 {
|
||||
position:absolute;
|
||||
left:38px;
|
||||
top:115px;
|
||||
width:240px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner02 {
|
||||
position:absolute;
|
||||
left:320px;
|
||||
top:105px;
|
||||
width:260px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text02 {
|
||||
position:absolute;
|
||||
left:340px;
|
||||
top:115px;
|
||||
width:220px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer02 {
|
||||
position:absolute;
|
||||
left:330px;
|
||||
top:115px;
|
||||
width:240px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner03 {
|
||||
position:absolute;
|
||||
left:28px;
|
||||
top:190px;
|
||||
width:260px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text03 {
|
||||
position:absolute;
|
||||
left:48px;
|
||||
top:200px;
|
||||
width:220px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer03 {
|
||||
position:absolute;
|
||||
left:38px;
|
||||
top:200px;
|
||||
width:240px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner05 {
|
||||
position:absolute;
|
||||
left:320px;
|
||||
top:190px;
|
||||
width:260px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text05 {
|
||||
position:absolute;
|
||||
left:340px;
|
||||
top:200px;
|
||||
width:220px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer05 {
|
||||
position:absolute;
|
||||
left:330px;
|
||||
top:200px;
|
||||
width:240px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#banner04 {
|
||||
position:absolute;
|
||||
left:28px;
|
||||
top:275px;
|
||||
width:552px;
|
||||
height:85px;
|
||||
z-index:28;
|
||||
}
|
||||
#text04 {
|
||||
position:absolute;
|
||||
left:48px;
|
||||
top:285px;
|
||||
width:512px;
|
||||
height:65px;
|
||||
z-index:29;
|
||||
}
|
||||
#spacer04 {
|
||||
position:absolute;
|
||||
left:38px;
|
||||
top:285px;
|
||||
width:532px;
|
||||
height:65px;
|
||||
z-index:30;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: white;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif','/oss/oss/common/images//banner/B01_halfbanner_b.png','/oss/oss/common/images//banner/B01_banner_b.png');
|
||||
setUnderButtonL(true, "Back", "javascript:showPage('W_03.jsp')", "wiiCancelSound()");
|
||||
// hideElement("underbannershadowL");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text00-01">
|
||||
<div align="left"><span class="titleBlackL">WiiWare</span></div>
|
||||
</div>
|
||||
|
||||
<div id="text00-02" class="style28">
|
||||
<div align="left" class="headerBlueM">Original Wii titles available only here</div>
|
||||
</div>
|
||||
|
||||
<div id="banner01"><img src="/oss/oss/common/images//banner/B01_halfbanner_a.png" width="260" height="85" id="Image01" /></div>
|
||||
<div id="text01">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Popular Titles</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer01"><a href="javascript:showPage('B_04.jsp?popular=true&p=1&platform=WIIWARE');"><img src="/oss/oss/common/images//spacer.gif" name="Image01s" width="240" height="65" border="0" id="Image01s" onmouseover="MM_swapImage('Image01','','/oss/oss/common/images//banner/B01_halfbanner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner02"><img src="/oss/oss/common/images//banner/B01_halfbanner_a.png" width="260" height="85" id="Image02" /></div>
|
||||
<div id="text02">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Newest Additions</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer02"><a href="javascript:showPage('B_04.jsp?order=new&p=1&platform=WIIWARE')"><img src="/oss/oss/common/images//spacer.gif" name="Image02s" width="240" height="65" border="0" id="Image02s" onmouseover="MM_swapImage('Image02','','/oss/oss/common/images//banner/B01_halfbanner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner03"><img src="/oss/oss/common/images//banner/B01_halfbanner_a.png" width="260" height="85" id="Image03" /></div>
|
||||
<div id="text03">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Search by Publisher</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer03"><a href="javascript:showPage('B_17.jsp?platform=WIIWARE')"><img src="/oss/oss/common/images//spacer.gif" name="Image03s" width="250" height="65" border="0" id="Image03s" onmouseover="MM_swapImage('Image03','','/oss/oss/common/images//banner/B01_halfbanner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner05"><img src="/oss/oss/common/images//banner/B01_halfbanner_a.png" width="260" height="85" id="Image05" /></div>
|
||||
<div id="text05">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Search by Genre</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer05"><a href="javascript:showPage('B_16.jsp?platform=WIIWARE')"><img src="/oss/oss/common/images//spacer.gif" name="Image05s" width="250" height="65" border="0" id="Image05s" onmouseover="MM_swapImage('Image05','','/oss/oss/common/images//banner/B01_halfbanner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" /></a></div>
|
||||
|
||||
<div id="banner04"><img src="/oss/oss/common/images//banner/B01_banner_a.png" width="552" height="85" id="Image04" /></div>
|
||||
<div id="text04">
|
||||
<table width="100%" height="100%"><tr><td align="center" valign="middle"><span class="catalogTitleBlack">Search by Game Title</span></td></tr></table>
|
||||
</div>
|
||||
<div id="spacer04"><input type=text name="Image04s" maxlength="40" style="position:absolute; left: -400px; width:970px; height:65px; background: none; border: 0pt; font-size: 1pt; color: #FFFFFF;" id="Image04s" onmouseover="MM_swapImage('Image04','','/oss/oss/common/images//banner/B01_banner_b.png',1);snd.playSE( cSE_Forcus );" onmouseout="MM_swapImgRestore();" onmousedown="Image04s.blur(); if(kbd) kbd.call( cKT_PredictNoLF, 5, false, 'Enter the name of the title you want.' );" onchange="Image04s.blur(); searchValue=Image04s.value; Image04s.value=''; searchUrl=addParam('B_04.jsp?p=1&platform=WIIWARE', 'title', searchValue); if (searchValue != '') showPage(searchUrl);" /></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
787
jsp/B_28.jsp
Normal file
787
jsp/B_28.jsp
Normal file
|
|
@ -0,0 +1,787 @@
|
|||
<%@ page import = "java.io.*,java.util.*,javax.servlet.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<%
|
||||
String param = request.getParameter("titleId");
|
||||
RequestDispatcher dispatcher = request.getRequestDispatcher("/serv/titleId/" + param + "/B_28.jsp");
|
||||
dispatcher.forward(request, response);
|
||||
%>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Title name -->
|
||||
<!-- Controller image and message -->
|
||||
<!-- Release Date -->
|
||||
<!-- Number of players -->
|
||||
<!-- Title Rating Images -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Selection Confirmation</title>
|
||||
<style type="text/css">
|
||||
/* B_08: Caution Items */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:142px;
|
||||
width:480px;
|
||||
height:18px;
|
||||
z-index:37
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:216px;
|
||||
width:480px;
|
||||
height:60px;
|
||||
z-index:38;
|
||||
line-height:20px;
|
||||
}
|
||||
#text04-01 {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:300px;
|
||||
width:480px;
|
||||
height:60px;
|
||||
z-index:38;
|
||||
line-height:20px;
|
||||
}
|
||||
#text04-02 {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:216px;
|
||||
width:480px;
|
||||
height:144px;
|
||||
z-index:38;
|
||||
line-height:20px;
|
||||
}
|
||||
#cautionArea {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:137px;
|
||||
width:490px;
|
||||
height:227px;
|
||||
z-index:38;
|
||||
line-height:20px;
|
||||
overflow:auto;
|
||||
}
|
||||
#frame {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:84px;
|
||||
width:540px;
|
||||
height:275px;
|
||||
z-index:27;
|
||||
}
|
||||
#GC {
|
||||
position:absolute;
|
||||
left:343px;
|
||||
top:160px;
|
||||
width:60px;
|
||||
height:60px;
|
||||
z-index:36;
|
||||
}
|
||||
#controller {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:164px;
|
||||
width:480px;
|
||||
height:51px;
|
||||
z-index:35;
|
||||
}
|
||||
|
||||
#TitleName1stline {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:87px;
|
||||
width:480px;
|
||||
overflow:hidden;
|
||||
z-index:34
|
||||
}
|
||||
|
||||
#TitleName2stline {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:110px;
|
||||
width:480px;
|
||||
z-index:33;
|
||||
}
|
||||
body {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif','/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
if (ecSupportsSession()) {
|
||||
var giftStatus = ec.getSessionValue("giftStatus");
|
||||
trace("giftStatus: " + giftStatus);
|
||||
var transId = ec.getSessionValue("transId");
|
||||
trace("transId: " + transId);
|
||||
var useCampaignCode = ec.getSessionValue("useCampaignCode");
|
||||
trace("useCampaignCode: " + useCampaignCode);
|
||||
/* var redownloadFlag = ec.getSessionValue("redownloadFlag");
|
||||
trace("redownloadFlag: "+redownloadFlag); */
|
||||
var hasCautionItem3 = 'false';
|
||||
var genreWifiPay = "true";
|
||||
var wifiIndicator = parseInt('1');
|
||||
trace("wifiIndicator: "+wifiIndicator);
|
||||
if (genreWifiPay == "true") {
|
||||
if (wifiIndicator == WIFI_PARTIALLY_CHARGED) {
|
||||
if (document.getElementById("wifiPartiallyCharged") != null)
|
||||
document.getElementById("wifiPartiallyCharged").style.display='';
|
||||
} else if (wifiIndicator == WIFI_ALL_CHARGED) {
|
||||
if (document.getElementById("wifiAllCharged") != null)
|
||||
document.getElementById("wifiAllCharged").style.display='';
|
||||
} else if (wifiIndicator == WIFI_FREE_INPUT) {
|
||||
if (document.getElementById("wifiInputText") != null)
|
||||
document.getElementById("wifiInputText").style.display='';
|
||||
}
|
||||
}
|
||||
|
||||
if (giftStatus == "sending") {
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
|
||||
if (hasCautionItem3 == "true") {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_29.jsp?titleId=000100057752584A&itemId=&campaignCode=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_18.jsp?titleId=000100057752584a&itemId=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
} else if (giftStatus == "receiving") {
|
||||
// setUnderButtonL(true, "Back", "javascript:showGiftTrans("+transId+")", "snd.playSE(cSE_Cancel)");
|
||||
if (hasCautionItem3 == "true") {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_29.jsp?titleId=000100057752584A&itemId=&campaignCode=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_09.jsp?titleId=000100057752584A&SD=')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
document.getElementById("constElements").style.display='none';
|
||||
document.getElementById("giftline").style.display='';
|
||||
document.getElementById("giftcurrentBalance").innerHTML = getBalance();
|
||||
/* } else if (redownloadFlag == "true") {
|
||||
setUnderButtonL(true, "Back", "javascript:showGiftTrans("+transId+")", "snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_09.jsp?titleId=000100057752584A&SD=')", "snd.playSE(cSE_Decide)");
|
||||
*/
|
||||
} else {
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
if (useCampaignCode == "true") {
|
||||
disableWiiPointButton();
|
||||
}
|
||||
if (hasCautionItem3 == "true") {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_29.jsp?titleId=000100057752584A&itemId=&campaignCode=&SD=')", "snd.playSE(cSE_Decide)");
|
||||
} else {
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_09.jsp?titleId=000100057752584A&SD=')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var scroll_step = 30;
|
||||
function kdown()
|
||||
{
|
||||
var _code = event.keyCode;
|
||||
var _obj = document.getElementById('cautionArea');
|
||||
switch(_code)
|
||||
{
|
||||
case 175: //up
|
||||
case 38:
|
||||
_obj.scrollTop -= scroll_step;
|
||||
break;
|
||||
case 176: //down
|
||||
case 40:
|
||||
_obj.scrollTop += scroll_step;
|
||||
break;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onkeypress="kdown();" onload="initPage(); cautionArea.focus();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="position:absolute; left:0px; top:0px; width:1px; height:1px; z-index:6;">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="ktouch" width="1" height="1" border="0" id="ktouch"/>
|
||||
</div>
|
||||
|
||||
<div id="giftline" style="display: none;">
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point">
|
||||
<div align="center" class="wiiPoint"><span id="giftcurrentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="text01-01">
|
||||
<div align="left" class="titleBlackL">Selection Confirmation</div>
|
||||
</div>
|
||||
<div id="frame">
|
||||
<div align="center" ><img src="/oss/oss/common/images//banner/Purchasing_frame01.gif" width="500" height="280" /> </div>
|
||||
</div>
|
||||
<div id="TitleName1stline" nowrap>
|
||||
<div align="center" class="contentsBlueM">ロックマン10 追加コンテンツ</div>
|
||||
</div>
|
||||
<div style="position:absolute; left:64px; top:137px; width:480px; height:1px; z-index:39;"><img src="/oss/oss/common/images//banner/Purchasing_line01.gif" width="480" height="1" /></div>
|
||||
<div style="position:absolute; left:64px; top:363px; width:480px; height:1px; z-index:39;"><img src="/oss/oss/common/images//banner/Purchasing_line01.gif" width="480" height="1" /></div>
|
||||
<div id="cautionArea">
|
||||
<div align="center" style="height:300px;">
|
||||
<div id="wifiPartiallyCharged" style="padding:7px; display:none" align="center">
|
||||
<img src="/oss/oss/common/images//banner/B_28_WIFIPAY_J.gif" width="429" height="75" />
|
||||
<div align="center" style="position:absolute; left:77px; top:12px; width:348px; height:65px;" class="contentsOrangeM"><table height="100%"><tr><td align="left" valign="middle">Wii Points are required to access portions of the additional content or services associated with this game.</td></tr></table></div>
|
||||
</div>
|
||||
<div id="wifiAllCharged" style="padding:7px; display:none" align="center">
|
||||
<img src="/oss/oss/common/images//banner/B_28_WIFIPAY_J.gif" width="429" height="75" />
|
||||
<div align="center" style="position:absolute; left:77px; top:12px; width:348px; height:65px;" class="contentsOrangeM"><table height="100%"><tr><td align="left" valign="middle">Wii Points are required to access<BR>the additional content or services associated with this game.</td></tr></table></div>
|
||||
</div>
|
||||
<div id="wifiInputText" style="padding:7px; display:none" align="center">
|
||||
<img src="/oss/oss/common/images//banner/B_28_WIFIPAY_J.gif" width="429" height="75" />
|
||||
<div align="center" style="position:absolute; left:77px; top:12px; width:348px; height:65px;" class="contentsOrangeM"><table height="100%"><tr><td align="left" valign="middle"></td></tr></table></div>
|
||||
</div>
|
||||
<table align="center" cellpadding="4"><tr><td align="left"><span class="contentsBlackS"></span></td></tr></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
2150
jsp/B_31.jsp
Normal file
2150
jsp/B_31.jsp
Normal file
File diff suppressed because it is too large
Load diff
713
jsp/CheckBalance.jsp
Normal file
713
jsp/CheckBalance.jsp
Normal file
|
|
@ -0,0 +1,713 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return "<%= request.getMethod() %>"
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = '';
|
||||
<%
|
||||
if (request.getMethod() == "POST") {
|
||||
// Read the POST body from the request
|
||||
StringBuilder postBodyBuilder = new StringBuilder();
|
||||
String line;
|
||||
try (java.io.BufferedReader reader = request.getReader()) {
|
||||
while ((line = reader.readLine()) != null) {
|
||||
postBodyBuilder.append(line);
|
||||
}
|
||||
}
|
||||
String postBody = postBodyBuilder.toString();
|
||||
|
||||
// Parse the parameters from the POST body
|
||||
java.util.Map<String, java.util.List<String>> parametersMap = new java.util.HashMap<>();
|
||||
for (String pair : postBody.split("&")) {
|
||||
String[] keyValue = pair.split("=", 2);
|
||||
String key = java.net.URLDecoder.decode(keyValue[0], "UTF-8");
|
||||
String value = keyValue.length > 1 ? java.net.URLDecoder.decode(keyValue[1], "UTF-8") : "";
|
||||
parametersMap.computeIfAbsent(key, k -> new java.util.ArrayList<>()).add(value);
|
||||
}
|
||||
|
||||
// Exclude these parameters
|
||||
java.util.Set<String> excludedParams = new java.util.HashSet<>();
|
||||
excludedParams.add("accountId");
|
||||
excludedParams.add("deviceId");
|
||||
excludedParams.add("serialNo");
|
||||
excludedParams.add("country");
|
||||
excludedParams.add("region");
|
||||
excludedParams.add("age");
|
||||
excludedParams.add("language");
|
||||
|
||||
// Generate JavaScript code for the remaining parameters
|
||||
%>
|
||||
<%
|
||||
boolean first = true;
|
||||
for (java.util.Map.Entry<String, java.util.List<String>> entry : parametersMap.entrySet()) {
|
||||
if (!excludedParams.contains(entry.getKey())) {
|
||||
for (String value : entry.getValue()) {
|
||||
%>
|
||||
<% if (!first) { %>
|
||||
params += "&";
|
||||
<% } %>
|
||||
params += '<%= entry.getKey() %>=<%= value %>';
|
||||
<%
|
||||
first = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
%>
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = 'true';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
trace(getPostParams());
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
ucsUrl = 'http://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiEnableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* F_01: Connecting to Server */
|
||||
/* NOTE: used by index.jsp, Register.jsp, CheckRegistered.jsp, and CheckBalance.jsp */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:100px;
|
||||
width:560px;
|
||||
height:180px;
|
||||
z-index:31;
|
||||
}</style>
|
||||
</head>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function showError(progress)
|
||||
{
|
||||
setConnectingToServer(false);
|
||||
setUnderButton(true, shop.menuBtn, "javascript:top.location='https://oss-auth.blinklab.com/'", "wiiSelectSound();");
|
||||
// Show error message and code
|
||||
hideElement("text02-01");
|
||||
var elem = document.getElementById("errorCodeText");
|
||||
setErrorHtml(elem, progress);
|
||||
}
|
||||
|
||||
function handleError(progress)
|
||||
{
|
||||
if (needCheckRegistration(progress)) {
|
||||
if (ecSupportsSession()) {
|
||||
showCheckRegistered(true);
|
||||
} else {
|
||||
showError(progress);
|
||||
}
|
||||
} else {
|
||||
showError(progress);
|
||||
}
|
||||
}
|
||||
|
||||
function gotoNext()
|
||||
{
|
||||
var nextUrl = decodeURIComponent('<%=request.getParameter("next")%>');
|
||||
setCheckRegisterNeeded(false);
|
||||
replacePage(nextUrl);
|
||||
}
|
||||
|
||||
function checkBalance()
|
||||
{
|
||||
trace("gettingPointsBalance")
|
||||
getPointsBalance("onGetPointsBalanceDone");
|
||||
}
|
||||
|
||||
function onGetPointsBalanceDone(progress)
|
||||
{
|
||||
trace("doing onGetPointsBalanceDone");
|
||||
showResult (progress, opName, opDesc);
|
||||
if (progress.status >= 0) {
|
||||
var r = ec.getDeviceInfo ();
|
||||
trace("isNeedTicketSync::"+r.isNeedTicketSync);
|
||||
gotoNext();
|
||||
//syncTickets(EC_SYNC_TYPE_UPDATE);
|
||||
} else {
|
||||
handleError(progress);
|
||||
}
|
||||
}
|
||||
|
||||
function syncTickets (timestamp)
|
||||
{
|
||||
opName = "Sync Tickets";
|
||||
opDesc = "Synchronizing Tickets with server";
|
||||
var progress = ec.syncTickets (timestamp);
|
||||
finishOp(opName, opDesc, progress, "onSyncTicketDone");
|
||||
}
|
||||
|
||||
function onSyncTicketDone(progress)
|
||||
{
|
||||
showResult (progress, opName, opDesc);
|
||||
if (progress.status >= 0) {
|
||||
gotoNext();
|
||||
} else {
|
||||
gotoNext();
|
||||
//handleError(progress);
|
||||
}
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
trace("initPage started");
|
||||
initPageCommon();
|
||||
|
||||
var silverPromoType = '';
|
||||
var silverStatus = '';
|
||||
var silverDiscountType = '';
|
||||
var silverMemberId = '';
|
||||
var silverEligibleTime = '';
|
||||
var silverActivatedTime = '';
|
||||
var goldPromoType = '';
|
||||
var goldStatus = '';
|
||||
var goldDiscountType = '';
|
||||
var goldMemberId = '';
|
||||
var formattedGoldMemberId = '';
|
||||
var goldEligibleTime = '';
|
||||
var goldActivatedTime = '';
|
||||
var SCAGiftableTitlesString = '';
|
||||
|
||||
|
||||
var icrStatus = '';
|
||||
var icrDiscountType = '';
|
||||
|
||||
|
||||
var sca10DiscountAmount = '';
|
||||
var sca10FinalPrice = '';
|
||||
var sca10Currency = '';
|
||||
var sca10DiscountXml = ''
|
||||
var sca10PromoType = '';
|
||||
var sca10DiscountType = '';
|
||||
var sca10ExactDiscount = '';
|
||||
|
||||
var sca20DiscountAmount = '';
|
||||
var sca20FinalPrice = '';
|
||||
var sca20Currency = '';
|
||||
var sca20DiscountXml = ''
|
||||
var sca20PromoType = '';
|
||||
var sca20DiscountType = '';
|
||||
var sca20ExactDiscount = '';
|
||||
|
||||
var sca20BDiscountAmount = '';
|
||||
var sca20BFinalPrice = '';
|
||||
var sca20BCurrency = '';
|
||||
var sca20BDiscountXml = ''
|
||||
var sca20BPromoType = '';
|
||||
var sca20BDiscountType = '';
|
||||
var sca20BExactDiscount = '';
|
||||
|
||||
|
||||
|
||||
var icrDiscountAmount = '';
|
||||
var icrFinalPrice = '';
|
||||
var icrCurrency = '';
|
||||
var icrDiscountXml = '';
|
||||
var icrPromoType = '';
|
||||
var icrDiscountType = '';
|
||||
var icrExactDiscount = '';
|
||||
|
||||
|
||||
var title = getF01Title();
|
||||
trace("getF01Title: " + title);
|
||||
trace("title != null : " + (title != null));
|
||||
if (title != null) {
|
||||
var text01_01 = document.getElementById("text01-01");
|
||||
text01_01.innerHTML = title;
|
||||
}
|
||||
|
||||
//setUnderButton(true, '(N/A)', "javascript:cancel()");
|
||||
trace("starting checkBalance()");
|
||||
checkBalance();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<body onload="initPage()">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
WiiMart</div>
|
||||
<div align="center" class="titleBlueL" id="text02-01">
|
||||
|
||||
Connecting. Please wait...<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="Progress">
|
||||
<div id="dynDiv1" class="contentsBlackS"></div>
|
||||
<div id="dynDiv2" class="contentsBlackS"></div>
|
||||
<div id="errDiv" class="contentsBlackS"></div>
|
||||
</div></div>
|
||||
|
||||
<div align="left" id="errorCodeText"></div>
|
||||
</body>
|
||||
</html>
|
||||
770
jsp/CheckRegistered.jsp
Normal file
770
jsp/CheckRegistered.jsp
Normal file
|
|
@ -0,0 +1,770 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<script language="javascript" src="/oss/oss/common/js//ec.js"></script>
|
||||
<script language="javascript" src='/oss/oss/common/js//error.js'></script>
|
||||
<script language="javascript" src="/oss/oss/common/js//buttons.js"></script>
|
||||
<script language="javascript" src="/oss/oss/common/js//images.js"></script>
|
||||
<script language="javascript" src='/oss/oss/common/js//sound.js'></script>
|
||||
<script language="javascript" src="/oss/oss/common/js//shop.js"></script>
|
||||
<script language="javascript" src="/oss/oss/common/js//oss.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = 'true';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://oss-auth.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'http://oss-auth.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiEnableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* F_01: Connecting to Server */
|
||||
/* NOTE: used by index.jsp, Register.jsp, CheckRegistered.jsp, and CheckBalance.jsp */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:100px;
|
||||
width:560px;
|
||||
height:180px;
|
||||
z-index:31;
|
||||
}</style>
|
||||
</head>
|
||||
|
||||
<script type="text/javascript">
|
||||
function listPurchaseHistory() {
|
||||
trace("hi")
|
||||
|
||||
var progress = ec.getPurchaseInfo();
|
||||
|
||||
opName = "list purchase history";
|
||||
opDesc = "listing purchase history for device";
|
||||
finishOp(opName, opDesc, progress, "listPurchaseHistoryDone");
|
||||
}
|
||||
|
||||
function listPurchaseHistoryDone (progress)
|
||||
{
|
||||
showResult (progress, opName, opDesc);
|
||||
if (progress.status >= 0) {
|
||||
return;
|
||||
|
||||
} else {
|
||||
handleError(progress);
|
||||
}
|
||||
}
|
||||
function checkRegistration()
|
||||
{
|
||||
var progress = ec.checkRegistration ();
|
||||
opName = "Check Registration";
|
||||
opDesc = "Checking Registration";
|
||||
finishOp(opName, opDesc, progress, "onCheckRegistrationDone");
|
||||
}
|
||||
|
||||
function onCheckRegistrationDone (progress)
|
||||
{
|
||||
showResult (progress, opName, opDesc);
|
||||
if (progress.status >= 0) {
|
||||
var r = ec.getDeviceInfo ();
|
||||
// If not registered - set loyalty system and show terms, call register
|
||||
// If transfer pending - show "Confirm Transfer", call transfer
|
||||
// If transfer complete - call transfer to get account id (show status)
|
||||
// If registered - call register to get account id (show status)
|
||||
trace("device id=" + r.accountId + " status=" + r.registrationStatus);
|
||||
switch (r.registrationStatus) {
|
||||
case 'U': // Not registered
|
||||
// Ask user to register
|
||||
|
||||
if (useSyncRegistration) {
|
||||
if (r.accountId == EC_INVALID_ACCOUNT_ID) {
|
||||
// Ask user to register
|
||||
trace("Ask the user to register - U");
|
||||
replacePage('L_03.jsp');
|
||||
} else {
|
||||
// Synchronizes registration info
|
||||
trace("Get registration info - U");
|
||||
showRegister("getRegistrationInfo");
|
||||
}
|
||||
} else {
|
||||
// Ask user to register
|
||||
trace("Ask the user to register - U");
|
||||
replacePage('L_03.jsp');
|
||||
}
|
||||
break;
|
||||
case 'R': // Registered
|
||||
trace("Get registration info - R");
|
||||
showRegister("getRegistrationInfo");
|
||||
break;
|
||||
case 'P': // Transfer pending
|
||||
trace("Transfer pending - P");
|
||||
showRegister("performPendingTransfer");
|
||||
break;
|
||||
case 'T':
|
||||
trace("Get transfer info - T");
|
||||
showRegister("getTransferInfo");
|
||||
break;
|
||||
default:
|
||||
var errorStr = "Unknown registration status: " + r.registrationStatus;
|
||||
trace(errorStr);
|
||||
setConnectingToServer(false);
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound();");
|
||||
hideElement("text02-01");
|
||||
var elem = document.getElementById("errorCodeText");
|
||||
setErrorHtmlMsg(elem, OSS_INVALID_REGISTRATION_STATUS, "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.");
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
setConnectingToServer(false);
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound();");
|
||||
// Show error message and code
|
||||
hideElement("text02-01");
|
||||
var elem = document.getElementById("errorCodeText");
|
||||
setErrorHtml(elem, progress);
|
||||
}
|
||||
}
|
||||
// Check if device is registered
|
||||
function checkRegistered()
|
||||
{
|
||||
setUnderButton(false);
|
||||
var r = ec.getDeviceInfo ();
|
||||
// Probably we can delete the line below.
|
||||
var checkRegisterNeeded = isCheckRegisterNeeded();
|
||||
var weakToken = ec.getWeakToken();
|
||||
trace("AccountId=" + r.accountId + " token=" + weakToken + " Country=" + r.country + " a/c Country=" + r.accountCountry);
|
||||
trace("DeviceCode=" + r.deviceCode + " a/c DeviceCode=" + r.accountDeviceCode);
|
||||
|
||||
trace("checkRegisterNeeded before: " + checkRegisterNeeded);
|
||||
if (!checkRegisterNeeded) {
|
||||
checkRegisterNeeded = (r.accountId == EC_INVALID_ACCOUNT_ID || !weakToken);
|
||||
}
|
||||
trace("checkRegisterNeeded after: " + checkRegisterNeeded);
|
||||
//TESTING
|
||||
//Force WSC to check registration status
|
||||
//checkRegisterNeeded = true;
|
||||
if (checkRegisterNeeded) {
|
||||
// No account id - Ask server if registered
|
||||
checkRegistration();
|
||||
} else {
|
||||
// Check if console country and registered country different
|
||||
// If different, show terms and re-register
|
||||
// Already registered and has account id - goto home
|
||||
if (r.country != r.accountCountry) {
|
||||
replacePage("L_01.jsp?origCountry=" + r.accountCountry);
|
||||
} else if ((r.accountDeviceCode != undefined)
|
||||
&& (r.accountDeviceCode != null)
|
||||
&& (r.accountDeviceCode != "")
|
||||
&& (r.deviceCode != r.accountDeviceCode)) {
|
||||
trace("Re-registering because device code is out of sync: old " + r.accountDeviceCode + ", new " + r.deviceCode);
|
||||
showRegister("register");
|
||||
} else {
|
||||
showInitialPage(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function showWiiMenuButton()
|
||||
{
|
||||
|
||||
// Goto Wii Menu
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound();");
|
||||
|
||||
}
|
||||
|
||||
function showUpdateButton()
|
||||
{
|
||||
|
||||
// Goto Update screen.
|
||||
if ( shop.isCompatibleMode )
|
||||
{
|
||||
setUnderButtonL(true, "Wii Menu", "javascript:showWiiMenu()", "wiiSelectSound();");
|
||||
setUnderButton(true, "Wii U Menu", "javascript:shop.rebootSystem()", "wiiSelectSound();");
|
||||
}
|
||||
else
|
||||
{
|
||||
setUnderButton(true, "System Update", "javascript:showUpdate()", "wiiSelectSound();");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function showUpdateAvailable(){
|
||||
// Show error message and code
|
||||
setConnectingToServer(false);
|
||||
var elem = document.getElementById("text02-01");
|
||||
if ( shop.isCompatibleMode ){
|
||||
showWiiMenuButton();
|
||||
elem.innerHTML = "<span class='buttonTextBlackM'>There is an update to the WiiMart!<BR><BR>To receive this update, go to System Settings on the Wii U Menu and select System Update. Come back after you’ve updated!</span>";
|
||||
} else {
|
||||
if (isShowUpdateAvailable()) {
|
||||
showUpdateButton();
|
||||
} else {
|
||||
showWiiMenuButton();
|
||||
}
|
||||
elem.innerHTML = "<span class='buttonTextBlackM'>There is an update to the WiiMart!<BR><BR>To receive this update, go to Wii Settings and select Wii System Update. When you return to the WiiMart, you will receive the update. Come back after you’ve updated!</span>";
|
||||
}
|
||||
}
|
||||
|
||||
function showInvalidShopApp(errCode)
|
||||
{
|
||||
if (testMode == 'true') {
|
||||
// Test mode: Let them continue without showing error
|
||||
checkRegistered();
|
||||
} else {
|
||||
setConnectingToServer(false);
|
||||
showWiiMenuButton();
|
||||
// Show error message and code
|
||||
hideElement("text02-01");
|
||||
var elem = document.getElementById("errorCodeText");
|
||||
setErrorHtmlMsg(elem, errCode, "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.");
|
||||
}
|
||||
}
|
||||
|
||||
function checkShopApp()
|
||||
{
|
||||
// Checks the shop app version
|
||||
var latestVersion = parseInt('21');
|
||||
var titleId = '0001000248414241';
|
||||
var isManualEnabled = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("isShopManEnabled", isManualEnabled);
|
||||
}
|
||||
var ok = false;
|
||||
|
||||
// Check titleId is same as the shop app title id
|
||||
var shopAppTitleId = getShopAppTitleId();
|
||||
if (shopAppTitleId != null && titleId.substr(4) == shopAppTitleId.substr(4)) {
|
||||
var t = ec.getTitleInfo("0001" + shopAppTitleId.substr(4));
|
||||
var updateAvailable = isTitleUpdateAvailable(t, latestVersion);
|
||||
if (updateAvailable) {
|
||||
// Show message saying update is available, please update
|
||||
showUpdateAvailable();
|
||||
ok = false;
|
||||
} else if (updateAvailable == null) {
|
||||
trace("Cannot determine if updateAvailable for title " + shopAppTitleId);
|
||||
ok = true;
|
||||
//showInvalidShopApp(OSS_INVALID_SHOP_APP_NO_TITLE_INFO);
|
||||
} else {
|
||||
ok = true;
|
||||
}
|
||||
} else {
|
||||
trace("Shop title is " + shopAppTitleId + ", got info for title " + titleId);
|
||||
// Reject
|
||||
ok = true;
|
||||
//showInvalidShopApp(OSS_INVALID_SHOP_APP_BAD_TITLE_ID);
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
||||
function OnSetTask()
|
||||
{
|
||||
try {
|
||||
var objDlTask = new wiiDlTask();
|
||||
//var strTaskUrl = "http://ccs.cdn.blinklab.com/ccs/download/0001000248414241/dynamicBanner_en_US";
|
||||
var strTaskUrl = "http://65.19.191.149/bnr";
|
||||
var nTaskInterval = 1440;
|
||||
trace("Adding download task: " + strTaskUrl);
|
||||
objDlTask.addDownloadTask(strTaskUrl, nTaskInterval);
|
||||
} catch (err) {
|
||||
trace("Error adding download task: " + err + " / " + strTaskUrl);
|
||||
}
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
trace("initPage");
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
var ok;
|
||||
var target;
|
||||
initPageCommon();
|
||||
//target = countryInfo.getCountryId();
|
||||
|
||||
//if(target) {
|
||||
OnSetTask();
|
||||
trace("Wii Sales Target!!");
|
||||
//}
|
||||
|
||||
ok = checkShopApp();
|
||||
if (ok) {
|
||||
checkRegistered();
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<body onload="initPage();">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="javascript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
WiiMart</div>
|
||||
<div align="center" class="titleBlueL" id="text02-01">
|
||||
Connecting. Please wait...<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="Progress">
|
||||
<div id="dynDiv1" class="contentsBlackS"></div>
|
||||
<div id="dynDiv2" class="contentsBlackS"></div>
|
||||
<div id="errDiv" class="contentsBlackS"></div>
|
||||
</div></div>
|
||||
|
||||
<div align="left" id="errorCodeText"></div>
|
||||
</body>
|
||||
</html>
|
||||
6
jsp/ECommerceSOAP.jsp
Normal file
6
jsp/ECommerceSOAP.jsp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<%@ page language="java" %>
|
||||
<%
|
||||
String targetUrl = "http://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP"; // Relative URL of the target JSP
|
||||
RequestDispatcher dispatcher = request.getRequestDispatcher(targetUrl);
|
||||
dispatcher.forward(request, response);
|
||||
%>
|
||||
798
jsp/H_01-bak.jsp
Normal file
798
jsp/H_01-bak.jsp
Normal file
|
|
@ -0,0 +1,798 @@
|
|||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'POST';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
val = "";
|
||||
|
||||
params += 'token=9c6c2bae1593616f254832fbce4e43a7';
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'https://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
ucsUrl = 'https://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Account Activity</title>
|
||||
<link href="/oss/oss/common/css/H_01.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<style type="text/css">
|
||||
#content div {
|
||||
|
||||
height: 18px;
|
||||
line-height: 19px;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function isRefreshBalanceNeeded()
|
||||
{
|
||||
var realBalance = parseInt('0');
|
||||
var cachedBalance = getBalance();
|
||||
var refreshNeeded = (realBalance != cachedBalance);
|
||||
return refreshNeeded;
|
||||
}
|
||||
|
||||
function alignHeader(contentHeader, headerWrapper){
|
||||
var h1 = document.getElementById(contentHeader);
|
||||
if (h1) {
|
||||
var headerH = h1.offsetHeight;
|
||||
var h2 = document.getElementById(headerWrapper);
|
||||
if (h2) {
|
||||
if (headerH > 45) {
|
||||
h2.style.top='84px';
|
||||
} else if (headerH > 25) {
|
||||
h2.style.top='93px';
|
||||
} else {
|
||||
h2.style.top='115px';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
shop.endWaiting();
|
||||
if (ecSupportsSession()) {
|
||||
// possibly set session variables in B_24, clear it in H_01 in case of Back button pressed.
|
||||
ec.setSessionValue("giftStatus", null);
|
||||
trace("clear giftStatus in H_01. ");
|
||||
ec.setSessionValue("redownloadFlag", null);
|
||||
trace("clear redownloadFlag in H_01. ");
|
||||
ec.setSessionValue("senderIndex", null);
|
||||
trace("clear senderIndex in H_01. ");
|
||||
ec.setSessionValue("transId", null);
|
||||
trace("clear transId in H_01. ");
|
||||
ec.setSessionValue("transType", null);
|
||||
trace("clear transType in H_01. ");
|
||||
}
|
||||
|
||||
var refreshNeeded = isRefreshBalanceNeeded();
|
||||
if (refreshNeeded) {
|
||||
setF01Title('<div align="left" class="titleBlackL">Account Activity</div>');
|
||||
showCheckBalance("javascript:showTransactions()");
|
||||
} else {
|
||||
showElement("H_01");
|
||||
for(i = 1; i <= 4; i ++) {
|
||||
var typeText = document.getElementById("typeM0"+i);
|
||||
if(typeText != null) {
|
||||
if (typeText.offsetHeight > 20) {
|
||||
document.getElementById("type0" + i).style.top='5px';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/arrowL_page_b.gif',
|
||||
'/oss/oss/common/images//banner/arrowR_page_b.gif',
|
||||
'/oss/oss/common/images//banner/aa_banner_b.gif');
|
||||
|
||||
setUnderButtonL(true, "Back", "javascript:showPage('W_03.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
alignHeader("dateHeader", "header01");
|
||||
alignHeader("typeHeader", "header02");
|
||||
alignHeader("contentHeader", "header03");
|
||||
alignHeader("pointHeader", "header04");
|
||||
alignHeader("balanceHeader", "header05");
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function kdown(){
|
||||
var _code = event.keyCode;
|
||||
switch(_code){
|
||||
|
||||
case 178:
|
||||
document.getElementById('arrowLImage').click();
|
||||
break;
|
||||
|
||||
case 177:
|
||||
document.getElementById('arrowRImage').click();
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onkeypress="kdown();" onload="initPage();">
|
||||
|
||||
<div style="position:absolute; left:0px; top:0px; width:1px; height:1px; z-index:6;">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="ktouch" width="1" height="1" border="0" id="ktouch"/>
|
||||
</div>
|
||||
|
||||
<div id="H_01" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="title" class="titleBlackL">
|
||||
Account Activity</div>
|
||||
|
||||
<div id="pageTotal" class="buttonTextBlackM">
|
||||
1/3</div>
|
||||
|
||||
<div id="arrowL" style="position:absolute; width:52px; height:52px; z-index:38; left: 398px; top: 380px;">
|
||||
<a href="javascript:showTransactions('3')"
|
||||
onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('arrowLImage','','/oss/oss/common/images//banner/arrowL_page_b.gif',1);snd.playSE( cSE_Forcus );"
|
||||
onclick="snd.playSE(cSE_Decide);">
|
||||
<input type=image src="/oss/oss/common/images//banner/arrowL_page_a.gif" name="Image9" width="52" height="52" border="0" id="arrowLImage" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="arrowLshadow"><img src="/oss/oss/common/images//banner/top_help_shadow02.gif" width="71" height="72" /></div>
|
||||
<div id="arrowR" style="position:absolute; left:525px; top:380px; width:52px; height:52px; z-index:39">
|
||||
<a href="javascript:showTransactions('2')"
|
||||
onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('arrowRImage','','/oss/oss/common/images//banner/arrowR_page_b.gif',1);snd.playSE( cSE_Forcus );"
|
||||
onclick="snd.playSE(cSE_Decide);">
|
||||
<input type=image src="/oss/oss/common/images//banner/arrowR_page_a.gif" name="Image10" width="52" height="52" border="0" id="arrowRImage" />
|
||||
</a>
|
||||
</div>
|
||||
<div id="arrowRshadow"><img src="/oss/oss/common/images//banner/top_help_shadow02.gif" width="71" height="72" /></div>
|
||||
<div id="header01">
|
||||
<span id="dateHeader" style="line-height:16px" class="headerBlueS">Date</span>
|
||||
</div>
|
||||
<div id="header02">
|
||||
<span id="typeHeader" style="line-height:16px" class="headerBlueS">Type</span>
|
||||
</div>
|
||||
<div id="header03">
|
||||
<span id="contentHeader" style="line-height:16px" class="headerBlueS">Content</span>
|
||||
</div>
|
||||
<div id="header04">
|
||||
<span id="pointHeader" style="line-height:16px" class="headerBlueS">Wii Points</span>
|
||||
</div>
|
||||
<div id="header05">
|
||||
<span id="balanceHeader" style="line-height:16px" class="headerBlueS">Current Wii Point Balance</span>
|
||||
</div>
|
||||
<div id="row01">
|
||||
<div class="contentsBlack" id="date">
|
||||
<div align="center">
|
||||
02/24/19</div>
|
||||
</div>
|
||||
|
||||
<div class="contentsBlack" id="type01" style="position:absolute;left:89px;top:12px;width:136px;height:18px;z-index:82;">
|
||||
<div id="typeM01" align="center">Transferred to Wii U</div>
|
||||
</div>
|
||||
|
||||
<div class="contentsBlack" id="content">
|
||||
<div id="contentM01">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="cost">
|
||||
<div align="right" class="contentsBlack">
|
||||
<div align="center">
|
||||
|
||||
-350</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="balance">
|
||||
<div align="right" class="contentsBlack">
|
||||
<div align="center">0</div>
|
||||
</div>
|
||||
</div>
|
||||
<img src="/oss/oss/common/images//banner/account_activity.png" width="555" height="42" />
|
||||
</div>
|
||||
<div id="row02">
|
||||
<div class="contentsBlack" id="date">
|
||||
<div align="center">
|
||||
12/26/12</div>
|
||||
</div>
|
||||
|
||||
<div class="contentsBlack" id="type02" style="position:absolute;left:89px;top:12px;width:136px;height:18px;z-index:82;">
|
||||
<div id="typeM02" align="center">System Transfer -<BR>Content Merged</div>
|
||||
</div>
|
||||
|
||||
<div class="contentsBlack" id="content">
|
||||
<div id="contentM02">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="cost">
|
||||
<div align="right" class="contentsBlack">
|
||||
<div align="center">
|
||||
|
||||
+350</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="balance">
|
||||
<div align="right" class="contentsBlack">
|
||||
<div align="center">350</div>
|
||||
</div>
|
||||
</div>
|
||||
<img src="/oss/oss/common/images//banner/account_activity.png" width="555" height="42" />
|
||||
</div>
|
||||
<div id="row03">
|
||||
<div class="contentsBlack" id="date">
|
||||
<div align="center">
|
||||
12/26/12</div>
|
||||
</div>
|
||||
|
||||
<div class="contentsBlack" id="type03" style="position:absolute;left:89px;top:12px;width:136px;height:18px;z-index:82;">
|
||||
<div id="typeM03" align="center">System Transfer -<BR>Content Merged</div>
|
||||
</div>
|
||||
|
||||
<div class="contentsBlack" id="content">
|
||||
<div id="contentM03">
|
||||
Rock Band 3 DLC</div>
|
||||
</div>
|
||||
|
||||
<div id="cost">
|
||||
<div align="right" class="contentsBlack">
|
||||
<div align="center">
|
||||
|
||||
+0</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="balance">
|
||||
<div align="right" class="contentsBlack">
|
||||
<div align="center">0</div>
|
||||
</div>
|
||||
</div>
|
||||
<img src="/oss/oss/common/images//banner/account_activity.png" width="555" height="42" />
|
||||
</div>
|
||||
<div id="row04">
|
||||
<div class="contentsBlack" id="date">
|
||||
<div align="center">
|
||||
12/26/12</div>
|
||||
</div>
|
||||
|
||||
<div class="contentsBlack" id="type04" style="position:absolute;left:89px;top:12px;width:136px;height:18px;z-index:82;">
|
||||
<div id="typeM04" align="center">System Transfer -<BR>Content Merged</div>
|
||||
</div>
|
||||
|
||||
<div class="contentsBlack" id="content">
|
||||
<div id="contentM04">
|
||||
Rock Band 3 DLC</div>
|
||||
</div>
|
||||
|
||||
<div id="cost">
|
||||
<div align="right" class="contentsBlack">
|
||||
<div align="center">
|
||||
|
||||
+0</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="balance">
|
||||
<div align="right" class="contentsBlack">
|
||||
<div align="center">0</div>
|
||||
</div>
|
||||
</div>
|
||||
<img src="/oss/oss/common/images//banner/account_activity.png" width="555" height="42" />
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
552
jsp/H_01-test.jsp
Normal file
552
jsp/H_01-test.jsp
Normal file
|
|
@ -0,0 +1,552 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = '???OSS_ERROR_TWL_REFUND_PASSWORD???';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('205903', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage()">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 205903</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
630
jsp/H_01.jsp
Normal file
630
jsp/H_01.jsp
Normal file
|
|
@ -0,0 +1,630 @@
|
|||
<%@ page import = "java.io.*,java.util.*,java.net.http.*,java.net.URI,java.net.http.HttpResponse.BodyHandlers,java.net.HttpURLConnection,java.net.URL,java.nio.charset.StandardCharsets,org.json.*,javafx.scene.web.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
<%
|
||||
boolean credsCorrect = false;
|
||||
if (request.getParameter("accountId") != null ||
|
||||
request.getParameter("deviceId") != null ||
|
||||
request.getParameter("serialNo") != null ||
|
||||
request.getParameter("token") != null) {
|
||||
String accountId = request.getParameter("accountId");
|
||||
String deviceId = request.getParameter("deviceId");
|
||||
String serialNo = request.getParameter("serialNo");
|
||||
String token = request.getParameter("token");
|
||||
String region = request.getParameter("region") == null ? "USA" : request.getParameter("region");
|
||||
String body = "{\"accountId\": \"" + accountId + "\", \"deviceId\": \"" + deviceId + "\", \"serialNo\": \"" + serialNo + "\", \"token\": \"" + token + "\", \"region\": \"" + region + "\"}";
|
||||
String targetURL = "http://127.0.0.1:8082/checkAccountCreds";
|
||||
StringBuilder res = new StringBuilder();
|
||||
|
||||
try {
|
||||
URL url = new URL(targetURL);
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setDoOutput(true);
|
||||
connection.setRequestMethod("POST");
|
||||
// Forward request body
|
||||
try (OutputStream output = connection.getOutputStream()) {
|
||||
output.write(body.getBytes());
|
||||
}
|
||||
int responseCode = connection.getResponseCode();
|
||||
BufferedReader reader;
|
||||
|
||||
if (responseCode == HttpURLConnection.HTTP_OK) {
|
||||
reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
|
||||
} else {
|
||||
reader = new BufferedReader(new InputStreamReader(connection.getErrorStream()));
|
||||
}
|
||||
|
||||
String line;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
res.append(line);
|
||||
}
|
||||
reader.close();
|
||||
} catch (Exception e) {
|
||||
out.println("'There was an error: '" + e.getMessage());
|
||||
//e.printStacktrace();
|
||||
}
|
||||
credsCorrect = Boolean.parseBoolean(res.toString());
|
||||
%>
|
||||
console.log(<%= credsCorrect %>);
|
||||
<% if (credsCorrect) { %>
|
||||
shop.endWaiting();
|
||||
if (ecSupportsSession()) {
|
||||
// possibly set session variables in B_24, clear it in H_01 in case of Back button pressed.
|
||||
ec.setSessionValue("giftStatus", null);
|
||||
trace("clear giftStatus in H_01. ");
|
||||
ec.setSessionValue("redownloadFlag", null);
|
||||
trace("clear redownloadFlag in H_01. ");
|
||||
ec.setSessionValue("senderIndex", null);
|
||||
trace("clear senderIndex in H_01. ");
|
||||
ec.setSessionValue("transId", null);
|
||||
trace("clear transId in H_01. ");
|
||||
ec.setSessionValue("transType", null);
|
||||
trace("clear transType in H_01. ");
|
||||
}
|
||||
|
||||
<% } else { %>
|
||||
var errorMsg;
|
||||
errorMsg = '???OSS_ERROR_TWL_REFUND_PASSWORD???';
|
||||
setErrorMsg('205903', errorMsg);
|
||||
<% } %>
|
||||
|
||||
<% } else { %>
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
errorMsg = '???OSS_ERROR_TWL_REFUND_PASSWORD???';
|
||||
setErrorMsg('205903', errorMsg);
|
||||
<% } %>
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage()">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<% if (credsCorrect) { %>
|
||||
<div class="titleBlackL" id="text01-01">
|
||||
<div align="left">Account Activity</div>
|
||||
</div>
|
||||
<% } else { %>
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div>
|
||||
|
||||
<!--<div class="warningRed" id="error-code">
|
||||
Error Code: 205903</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>-->
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
556
jsp/H_02.jsp
Normal file
556
jsp/H_02.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = 'An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('206601', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 206601</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
556
jsp/H_03.jsp
Normal file
556
jsp/H_03.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = 'An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('206601', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 206601</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
556
jsp/H_04.jsp
Normal file
556
jsp/H_04.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = 'An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('206601', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 206601</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
6
jsp/IdentityAuthenticationSOAP.jsp
Normal file
6
jsp/IdentityAuthenticationSOAP.jsp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<%@ page language="java" %>
|
||||
<%
|
||||
String targetUrl = "http://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP"; // Relative URL of the target JSP
|
||||
RequestDispatcher dispatcher = request.getRequestDispatcher(targetUrl);
|
||||
dispatcher.forward(request, response);
|
||||
%>
|
||||
586
jsp/L_01.jsp
Normal file
586
jsp/L_01.jsp
Normal file
|
|
@ -0,0 +1,586 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* L_01: Country Settings Change Warning */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:68px;
|
||||
width:542px;
|
||||
height:276px;
|
||||
z-index:26;
|
||||
}
|
||||
|
||||
.styleConfirm {
|
||||
font-size: 14px;
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
}
|
||||
.styleConfirmWithLoyalty {
|
||||
font-size: 14px;
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
}
|
||||
.styleConfirmCountryChange {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
line-height:22px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function changeCountry()
|
||||
{
|
||||
showPage('L_03.jsp');
|
||||
}
|
||||
|
||||
function showClearPointsWarning()
|
||||
{
|
||||
setUnderButtonR(true, "OK", "javascript:changeCountry()", "snd.playSE(cSE_Decide)");
|
||||
document.getElementById("text02-01").innerHTML = '<p>(N/A)</p>';
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
|
||||
var loyaltyChanged = 'false';
|
||||
var msgElemId = "confirmMsg";
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
setUnderButtonL(true, shop.menuBtn, "javascript:showWiiMenu()", "snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:changeCountry()", "snd.playSE(cSE_Decide)");
|
||||
if (loyaltyChanged == "true") {
|
||||
var r = ec.getDeviceInfo();
|
||||
if (typeof(r) == "object" && r.extAccountId != null && r.extAccountId != '') {
|
||||
msgElemId = "confirmWithLoyaltyMsg";
|
||||
}
|
||||
}
|
||||
showElement(msgElemId);
|
||||
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
showElement("wiiU_message");
|
||||
hideElement("wii_message");
|
||||
}
|
||||
else
|
||||
{
|
||||
showElement("wii_message");
|
||||
hideElement("wiiU_message");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
WiiMart</div>
|
||||
<div class="catalogTitleBlack" id="text02-01">
|
||||
<p id="wii_message" class="styleConfirm">The country setting for the console has changed since the last time you connected to the WiiMart. If you have pending gifts, you won’t be able to receive them after changing your country setting.</p>
|
||||
<p id="wiiU_message" class="styleConfirm">The country setting for the console has changed since the last time you connected to the WiiMart.</p>
|
||||
<p class="styleConfirmCountryChange">
|
||||
Previously: <br>
|
||||
Currently: </p>
|
||||
<p class="styleConfirmWithLoyalty">
|
||||
<span id="confirmWithLoyaltyMsg" style="display:none">
|
||||
A Club Nintendo Membership is currently linked to this WiiMart account, and can’t be used with the current country setting. If you press OK, the link will be removed. Note: This removes the link but does not delete either your Club Nintendo account or your WiiMart account.<BR><BR>If you do not want to remove the link, press "Wii Menu" and set the country to the previous setting.</span>
|
||||
<span id="confirmMsg" style="display:none">
|
||||
If this setting is correct, choose OK.</span>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
522
jsp/L_02.jsp
Normal file
522
jsp/L_02.jsp
Normal file
|
|
@ -0,0 +1,522 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* L_02: Outside Sales Target Warning */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:91px;
|
||||
width:540px;
|
||||
height:194px;
|
||||
z-index:26;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound();");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
WiiMart</div>
|
||||
<div class="contentsBlackS" id="text02-01" align="left">
|
||||
The WiiMart is not currently available in your region.</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
556
jsp/L_03.jsp
Normal file
556
jsp/L_03.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiEnableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* L_03: Use Agreement */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:542px;
|
||||
height:28px;
|
||||
z-index:26;
|
||||
}
|
||||
|
||||
.eulaFrame { /* L_03_UA */
|
||||
border:solid 1px #35beed;
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:89px;
|
||||
width:540px;
|
||||
height:262px;
|
||||
z-index:27;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#text02-01 { /* L_03 */
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:91px;
|
||||
width:540px;
|
||||
height:194px;
|
||||
z-index:26;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage(){
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
if(shop.isCompatibleMode){
|
||||
setUnderButton(true, "OK", "javascript:termsAgreed('')", "snd.playSE(cSE_Decide)");
|
||||
} else {
|
||||
setUnderButton(true, "OK", "javascript:termsAgreed('')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
|
||||
}
|
||||
var scroll_step = 30;
|
||||
function kdown(){
|
||||
var _code = event.keyCode;
|
||||
var _obj = document.getElementById('text02-01');
|
||||
switch(_code){
|
||||
case 175: //up
|
||||
case 38:
|
||||
_obj.scrollTop -= scroll_step;
|
||||
break;
|
||||
case 176: //down
|
||||
case 40:
|
||||
_obj.scrollTop += scroll_step;
|
||||
break;
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onkeypress="kdown();" onload="initPage(); document.getElementById('text02-01').focus(); var shop = new wiiShop();var unused = shop.connecting">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div style="position:absolute; left:0px; top:0px; width:1px; height:1px; z-index:6;">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="ktouch" width="1" height="1" border="0" id="ktouch"/>
|
||||
</div>
|
||||
<div class="titleBlueL" id="text01-01">WiiMart</div>
|
||||
<div class="catalogTitleBlack_01" id="text02-01">Welcome to WiiMart!<BR><BR>In this channel, you’ll find a variety of classic games for Virtual Console as well as new software created exclusively for the Wii console. You can redeem Wii Points to download these software titles, or in some cases, you can obtain them for free.<BR><BR>Happy shopping!</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
454
jsp/L_03_UA_1.jsp
Normal file
454
jsp/L_03_UA_1.jsp
Normal file
|
|
@ -0,0 +1,454 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* L_03: Use Agreement */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:542px;
|
||||
height:28px;
|
||||
z-index:26;
|
||||
}
|
||||
|
||||
.eulaFrame { /* L_03_UA */
|
||||
border:solid 1px #35beed;
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:89px;
|
||||
width:540px;
|
||||
height:262px;
|
||||
z-index:27;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#text02-01 { /* L_03 */
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:91px;
|
||||
width:540px;
|
||||
height:194px;
|
||||
z-index:26;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
709
jsp/L_04.jsp
Normal file
709
jsp/L_04.jsp
Normal file
|
|
@ -0,0 +1,709 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/javascript">
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* L_04: Parental Control Warning */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:35;
|
||||
}
|
||||
#L_04_text02-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:89px;
|
||||
width:540px;
|
||||
height:141px;
|
||||
z-index:32;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:247px;
|
||||
width:540px;
|
||||
height:24px;
|
||||
z-index:31;
|
||||
}
|
||||
#form {
|
||||
position:absolute;
|
||||
left:243px;
|
||||
top:282px;
|
||||
width:120px;
|
||||
height:60px;
|
||||
z-index:34;
|
||||
}
|
||||
input {
|
||||
font-family: "Wii NTLG Gothic JPN Regular";
|
||||
font-size: 24px;
|
||||
text-align: left;
|
||||
letter-spacing: 0.3em;
|
||||
background-color: #FFFFFF;
|
||||
padding-top: 10px;
|
||||
padding-left: 24px;
|
||||
}
|
||||
/* L_05: Parental Control Error */
|
||||
/* Errors are handled by error.css */</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var passwdIncorrect = 0;
|
||||
var receiveFlag = false;
|
||||
|
||||
function checkPin()
|
||||
{
|
||||
var password = document.getElementById("Password").value;
|
||||
|
||||
if (checkParentalControlPassword(password)) {
|
||||
var nextUrl = "";
|
||||
var transId = "";
|
||||
var from = "";
|
||||
if ((nextUrl != null) && (nextUrl != "")) { // coming from other pages
|
||||
replacePage(nextUrl);
|
||||
} else if ((transId != null) && (transId != "")) { // coming from B_24
|
||||
showGiftTrans(transId, true);
|
||||
} else if (from == 'B_31') {
|
||||
showGameCard(true);
|
||||
}
|
||||
} else {
|
||||
passwdIncorrect++;
|
||||
showL05();
|
||||
}
|
||||
}
|
||||
|
||||
function showL04()
|
||||
{
|
||||
showElement("L_04");
|
||||
hideElement("L_05");
|
||||
// Set buttons to be for L04
|
||||
setUnderButtonL(true, "Quit", "javascript:showBack()", "snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:checkPin()", "snd.playSE(cSE_Decide)");
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
function showL05()
|
||||
{
|
||||
// Set buttons to be for L05
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
document.getElementById("Password").value = '';
|
||||
|
||||
if (!receiveFlag && passwdIncorrect >= 3) {
|
||||
setErrorMsg(OSS_ERROR_PIN_INCORRECT_THRICE, "The Parental Controls PIN you entered is incorrect.");
|
||||
setUnderButton(true, "OK", "javascript:showHome()", "snd.playSE(cSE_Decide)");
|
||||
} else if (receiveFlag && passwdIncorrect >= 3) {
|
||||
setErrorMsg(OSS_ERROR_PIN_INCORRECT_THRICE, "The Parental Controls PIN you entered is incorrect.");
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "snd.playSE(cSE_Decide)");
|
||||
} else {
|
||||
setUnderButton(true, "OK", "javascript:showL04()", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
|
||||
hideElement("L_04");
|
||||
showElement("L_05");
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif');
|
||||
|
||||
if (ecSupportsSession()) {
|
||||
var giftStatus = ec.getSessionValue("giftStatus");
|
||||
trace("giftStatus:"+giftStatus);
|
||||
var lastPageL04 = ec.getSessionValue("history.L_04.-1");
|
||||
if (giftStatus == "receiving") {
|
||||
document.getElementById("constElements").style.display='none';
|
||||
document.getElementById("giftline").style.display='';
|
||||
document.getElementById("giftcurrentBalance").innerHTML = getBalance();
|
||||
receiveFlag = true;
|
||||
} else if (lastPageL04.indexOf("history.B_31") == 0) {
|
||||
document.getElementById("constElements").style.display='none';
|
||||
document.getElementById("giftline").style.display='';
|
||||
document.getElementById("giftcurrentBalance").innerHTML = getBalance();
|
||||
}
|
||||
}
|
||||
r = ec.getDeviceInfo();
|
||||
if (r.language=='ja'){
|
||||
document.getElementById("L_04_text02-01").style.fontsize = '18px';
|
||||
}
|
||||
setErrorMsg(OSS_ERROR_PIN_INCORRECT, 'The Parental Controls PIN you entered is incorrect.');
|
||||
showL04();
|
||||
}
|
||||
|
||||
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//sound.js'></script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="giftline" style="display: none;">
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point">
|
||||
<div align="center" class="wiiPoint"><span id="giftcurrentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="titleBlackL" id="text01-01">Parental Controls</div>
|
||||
|
||||
<div id="L_04">
|
||||
|
||||
<div class="catalogTitleBlack" id="L_04_text02-01">
|
||||
Parental Controls manages use of Wii Points and downloading of software and limits the ability to erase the WiiMart Account Activity information.<BR><BR>Please enter the PIN to disable the Parental Controls temporarily.</div>
|
||||
|
||||
<div id="text03-01">
|
||||
<div align="center" class="titleBlackM">PIN</div>
|
||||
</div>
|
||||
<div id="form">
|
||||
<div align="center">
|
||||
<input id="Password" name="textfield" type="password" size="5" maxlength="4" class="inputStyle"
|
||||
onmouseover="snd.playSE( cSE_Forcus );this.style.backgroundColor='#E6E6E6'"
|
||||
onmouseout="this.style.backgroundColor='FFFFFF'" value="" onmousedown="if(kbd) kbd.call( cKT_Num, 1, true, 'Enter your PIN.' )">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="L_05" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
708
jsp/Log.jsp
Normal file
708
jsp/Log.jsp
Normal file
|
|
@ -0,0 +1,708 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
/* GENERAL */
|
||||
|
||||
/* Limit page to 640 by 480 (NTSC TV resolution) */
|
||||
/* Note: PAL resolution is 640 by 528 */
|
||||
body {
|
||||
/*width: 608px; height: 456px; */
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
FORM { display: inline; }
|
||||
|
||||
/* PROGRESS BAR */
|
||||
|
||||
a:link {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 24px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
line-height:22px;
|
||||
}
|
||||
.titleBlueL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.headerBlueL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueM_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerWhiteM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.headerWhiteS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.buttonTextBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextWhiteL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 24px;
|
||||
color: #FFFFFF;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextWhiteS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
.buttonTextWhiteS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.warningRed {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #FF0000;
|
||||
font-weight: normal;
|
||||
line-height:25px;
|
||||
}
|
||||
.contentsRedM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #FF0000;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsBlack {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height:16px;
|
||||
}
|
||||
|
||||
.contentsBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsBlueM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlueS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlueS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsGray {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
||||
.catalogTitleBlack {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.catalogTitleBlack_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
.catalogTitleBlack_02 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
.catalogTitleBlack_03 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
}
|
||||
.catalogTitleBlack_04 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.catalogTitleBlackBold {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.catalogTitleBlue {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.catalogTitleBlueBold {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.wiiPoint {
|
||||
/* style for current balance */
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.fullScreenText {
|
||||
position:absolute;
|
||||
left:66px;
|
||||
top:85px;
|
||||
width:476px;
|
||||
height:202px;
|
||||
}
|
||||
|
||||
#underButtonR {
|
||||
position:absolute;
|
||||
left:399px;
|
||||
top:378px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
#underButtonL {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:378px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
#underButton {
|
||||
position:absolute;
|
||||
left:211px;
|
||||
top:294px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
|
||||
.buttonBanner {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:22;
|
||||
}
|
||||
.buttonSpacer {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.buttonWord {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
line-height:19px;
|
||||
z-index:24;
|
||||
}
|
||||
.buttonBannerShadow {
|
||||
position:absolute;
|
||||
left:-12px;
|
||||
top:-9px;
|
||||
width:211px;
|
||||
height:75px;
|
||||
z-index:20;
|
||||
}
|
||||
|
||||
.tcell {
|
||||
display:table-cell;
|
||||
}
|
||||
|
||||
.h_inline_middle {
|
||||
text-align:center;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.h_block_middle {
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.v_middle {
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.vh_inline_middle {
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.h_inline_left {
|
||||
text-align:left;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.v_middle_h_inline_left {
|
||||
text-align:left;
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
#Wiipoint {
|
||||
/* location of "Wii Points" the word */
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
left:241px;
|
||||
/* //top:396px; */
|
||||
top:401px;
|
||||
width:130px;
|
||||
height:20px;
|
||||
z-index:22;
|
||||
}
|
||||
|
||||
#point {
|
||||
/* location of current balance */
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
left:241px;
|
||||
top:378px;
|
||||
width:130px;
|
||||
height:22px;
|
||||
z-index:97;
|
||||
}
|
||||
.dot {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
}
|
||||
|
||||
#help {
|
||||
position:absolute;
|
||||
left:537px;
|
||||
top:23px;
|
||||
width:52px;
|
||||
height:55px;
|
||||
z-index:100;
|
||||
}
|
||||
#top {
|
||||
position:absolute;
|
||||
left:477px;
|
||||
top:23px;
|
||||
width:52px;
|
||||
height:55px;
|
||||
z-index:100;
|
||||
}
|
||||
#line01 {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:59px;
|
||||
width:473px;
|
||||
height:10px;
|
||||
z-index:98;
|
||||
}
|
||||
#line02 {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:363px;
|
||||
width:600px;
|
||||
height:10px;
|
||||
/* //z-index:21; */
|
||||
z-index:100;
|
||||
}
|
||||
#upperLineLong {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:59px;
|
||||
width:600px;
|
||||
height:10px;
|
||||
/* //z-index:21; */
|
||||
z-index:100;
|
||||
}
|
||||
#tophelpshadow {
|
||||
position:absolute;
|
||||
left:467px;
|
||||
top:15px;
|
||||
width:132px;
|
||||
height:75px;
|
||||
z-index:24;
|
||||
}
|
||||
|
||||
.inputStyle {
|
||||
border-top-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-left-width: 2px;
|
||||
border-top-style: solid;
|
||||
border-right-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-left-style: solid;
|
||||
border-top-color: #CCCCCC;
|
||||
border-right-color: #CCCCCC;
|
||||
border-bottom-color: #EAEAEA;
|
||||
border-left-color: #CCCCCC;
|
||||
}
|
||||
|
||||
.spacecover {
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
div.page_area {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 608px;
|
||||
height: 363px;
|
||||
}
|
||||
|
||||
div.page_title_area {
|
||||
position: relative;
|
||||
left: 29px;
|
||||
top: 28px;
|
||||
width: 442px;
|
||||
height: 28px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.page_content_area {
|
||||
position: relative;
|
||||
top: 75px;
|
||||
left: 20px;
|
||||
text-align: center;
|
||||
width: 548px;
|
||||
}
|
||||
|
||||
.bg_connect {
|
||||
background-image: url(../images/back/bg_connect.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.bg_sca {
|
||||
background-image: url(../images/back/bg_sca.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
span.font14px{ font-size: 14px; }
|
||||
span.font16px{ font-size: 16px; }
|
||||
span.font18px{ font-size: 18px; }
|
||||
span.font20px{ font-size: 20px; }
|
||||
span.font22px{ font-size: 22px; }
|
||||
span.font24px{ font-size: 24px; }
|
||||
|
||||
|
||||
/* F_01: Connecting to Server */
|
||||
/* NOTE: used by index.jsp, Register.jsp, CheckRegistered.jsp, and CheckBalance.jsp */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:100px;
|
||||
width:560px;
|
||||
height:180px;
|
||||
z-index:31;
|
||||
}</style>
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
</head>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function addParam(url, param, value)
|
||||
{
|
||||
var setParamStr = param + "=" + encodeURIComponent(value);
|
||||
if (url.indexOf("?" + param + "=") >= 0 ||
|
||||
url.indexOf("&" + param + "=") >= 0) {
|
||||
// param already in url
|
||||
} else {
|
||||
var paramStart = url.indexOf("?");
|
||||
if (paramStart >= 0) {
|
||||
url = url.substr(0, paramStart+1) + setParamStr + "&" + url.substr(paramStart+1);
|
||||
} else {
|
||||
url = url + "?" + setParamStr;
|
||||
}
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
||||
function showCheckRegistered()
|
||||
{
|
||||
var shop = new wiiShop();
|
||||
// Redirects to CheckRegistered.jsp with important device info
|
||||
var ec = new ECommerceInterface ();
|
||||
var url = "https://oss-auth.blinklab.com/oss/serv/CheckRegistered.jsp";
|
||||
var r = ec.getDeviceInfo();
|
||||
var shopAppTitleId = r.titleId;
|
||||
if (shopAppTitleId != null) {
|
||||
var t = ec.getTitleInfo(shopAppTitleId);
|
||||
url = addParam(url, "titleId", shopAppTitleId);
|
||||
if (typeof(t) == "object" && t.isTmdPresent && t.version != null) {
|
||||
url = addParam(url, "titleVersion", t.version);
|
||||
}
|
||||
}
|
||||
if (r.country != null) {
|
||||
url = addParam(url, "country", r.country);
|
||||
}
|
||||
if (r.region != null) {
|
||||
url = addParam(url, "region", r.region);
|
||||
}
|
||||
if (r.userAge != null && r.isParentalControlEnabled) {
|
||||
url = addParam(url, "age", r.userAge);
|
||||
}
|
||||
|
||||
if (r.language != null) {
|
||||
url = addParam(url, "language", r.language);
|
||||
}
|
||||
if (r.serial != null) {
|
||||
url = addParam(url, "Serial", r.serial);
|
||||
}
|
||||
if (ec && "setSessionValue" in ec) {
|
||||
|
||||
|
||||
ec.setSessionValue("state", 'init');
|
||||
|
||||
ec.setSessionValue("firstTitleDetailDisplay",'true');
|
||||
}
|
||||
|
||||
top.location=url;
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
var shop = new wiiShop();
|
||||
var wiiTitle = document.getElementById("wiiTitle");
|
||||
if (shop && wiiTitle) {
|
||||
wiiTitle.innerHTML = shop.title;
|
||||
}
|
||||
|
||||
var wiiMessage = document.getElementById("wiiMessage");
|
||||
if (shop && wiiMessage) {
|
||||
wiiMessage.innerHTML = shop.connecting;
|
||||
}
|
||||
|
||||
if (shop && "beginWaiting" in shop) {
|
||||
shop.beginWaiting();
|
||||
}
|
||||
|
||||
if (shop && "disableHRP" in shop) {
|
||||
shop.disableHRP();
|
||||
}
|
||||
// The method called here is showCheckRegistered in index.jsp, not in oss.js
|
||||
showCheckRegistered(false);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<span id="wiiTitle">WiiMart</span>
|
||||
</div>
|
||||
<div align="center" class="titleBlueL" id="text02-01">
|
||||
<span id="wiiMessage"></span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
443
jsp/M_01.jsp
Normal file
443
jsp/M_01.jsp
Normal file
|
|
@ -0,0 +1,443 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Title name -->
|
||||
<!-- Controller image and message -->
|
||||
<!-- Release Date -->
|
||||
<!-- Number of players -->
|
||||
<!-- Title Rating Images -->
|
||||
<!-- Use bilingual icons if language is french or country is canada -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>M_01.title</title>
|
||||
</head>
|
||||
<% String titleId = request.getParameter("titleId"); %>
|
||||
<body onload="initPageCommon();goodsfree2.focus();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<div id="goodsfree2" style="position:absolute; left:0px; top:0px; width:608px; height:456px; z-index:31; overflow:auto;">
|
||||
<%
|
||||
String url = "/oss/oss/ext/manual/" + titleId + "/html/index.html?language=en&country=US&countryRegion=USA®ion=USA&titleId=" + titleId;
|
||||
%>
|
||||
<iframe name="manualFrame" src="/oss/oss/ext/manual/<%= titleId %>/FFFD1AAA/html/index.html?language=en&country=US&countryRegion=USA®ion=USA&titleId=<%= titleId %>" frameborder="0" scrolling="Auto" width="608" height="456"></iframe>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
892
jsp/P_01.jsp
Normal file
892
jsp/P_01.jsp
Normal file
|
|
@ -0,0 +1,892 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_01: Add Wii Points page */
|
||||
#P_01_text01-01 {
|
||||
/* pageHeading, formerly title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:28;
|
||||
}
|
||||
#P_01_text02-01 {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:77px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#P_01_WiiU {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:85px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#link {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:31;
|
||||
}
|
||||
#banner {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:27;
|
||||
}
|
||||
#word {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
width:187;
|
||||
height:55;
|
||||
z-index:29;
|
||||
}
|
||||
#text03-01 {
|
||||
/* formerly main text */
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:108px;
|
||||
width:330px;
|
||||
height:90px;
|
||||
z-index:22;
|
||||
}
|
||||
#Question {
|
||||
position:absolute;
|
||||
left:392px;
|
||||
top:100px;
|
||||
z-index:27;
|
||||
}
|
||||
#card01 {
|
||||
/* prepaid card */
|
||||
position:absolute;
|
||||
left:76px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
#card02 {
|
||||
/* credit card */
|
||||
position:absolute;
|
||||
left:347px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
.cardspacer {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.cardbannershadow{
|
||||
position:absolute;
|
||||
left:-13px;
|
||||
top:-10px;
|
||||
width:213px;
|
||||
height:106px;
|
||||
z-index:20;
|
||||
}
|
||||
.cardbanner {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:21;
|
||||
}
|
||||
#text04-01 {
|
||||
/* prepaid card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
#text05-01 {
|
||||
/* credit card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
|
||||
#creditCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:204px;
|
||||
width:176px;
|
||||
height:58px;
|
||||
z-index:78;
|
||||
}
|
||||
#pointCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:105px;
|
||||
width:171px;
|
||||
height:90px;
|
||||
z-index:79;
|
||||
}
|
||||
|
||||
#P_01_credit {
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
#regButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:152px;
|
||||
width:462px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.regButton_nonfocus{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
clip:rect(0px 462px 106px 0px);
|
||||
}
|
||||
|
||||
.regButton_focus{
|
||||
position:absolute;
|
||||
top:-106px;
|
||||
clip:rect(106px 462px 212px 0px);
|
||||
}
|
||||
|
||||
#ccButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
#mcButton{
|
||||
position:absolute;
|
||||
left:305px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.cc_mcButton_nonfocus{
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:-212px;
|
||||
clip:rect(212px 230px 318px 0px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.cc_mcButton_focus{
|
||||
position:absolute;
|
||||
left:-232px;
|
||||
top:-212px;
|
||||
clip:rect(212px 462px 318px 232px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "US.gif"),
|
||||
new Array('EUR', "EU.gif"),
|
||||
new Array('AUS', "AU.gif"));
|
||||
var cardPicDefault = "pointcard_pic_US.gif";
|
||||
|
||||
function P_01_getRegionPic()
|
||||
{
|
||||
var imageName="pointcard_pic_";
|
||||
var found=false;
|
||||
|
||||
|
||||
var code = 'USA';
|
||||
for (i=0; i < cardPicCodes.length; i ++) {
|
||||
if(code == cardPicCodes[i][0]) {
|
||||
imageName+=cardPicCodes[i][1];
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
imageName = cardPicDefault;
|
||||
|
||||
return imageName;
|
||||
}
|
||||
|
||||
function P_01_setPointImage() {
|
||||
var imageName;
|
||||
var cardImg;
|
||||
|
||||
imageName=P_01_getRegionPic();
|
||||
cardImg = document.getElementById('pointCardPic');
|
||||
if(cardImg && imageName != '') {
|
||||
cardImg.src='/oss/oss/common/images//banner/' + imageName;
|
||||
}
|
||||
}
|
||||
|
||||
function gotoPurchase()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_06.jsp');
|
||||
}
|
||||
|
||||
function gotoPrepaid()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_02.jsp');
|
||||
}
|
||||
|
||||
function gotoWiipoint()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_17.jsp');
|
||||
}
|
||||
|
||||
function initWiiUmessage()
|
||||
{
|
||||
document.getElementById("wiiu").style.display='';
|
||||
document.getElementById("wii").style.display='none';
|
||||
}
|
||||
|
||||
function exitWiiUmessage()
|
||||
{
|
||||
document.getElementById("wiiu").style.display='none';
|
||||
document.getElementById("wii").style.display='';
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
var maxBalance = 10000;
|
||||
|
||||
maxBalance = 20000;
|
||||
|
||||
if(document.getElementById("maxBalance"))
|
||||
document.getElementById("maxBalance").innerHTML = maxBalance;
|
||||
disableWiiPointButton();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
|
||||
'/oss/oss/common/images//banner/banner03_b.gif');
|
||||
|
||||
setUnderButtonL(true, "Back", "javascript:showHome()", "snd.playSE(cSE_Cancel)");
|
||||
|
||||
P_01_setPointImage();
|
||||
|
||||
document.body.style.overflow="hidden";
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="P_01_text01-01" class="titleBlackL" >Add Wii Points</div>
|
||||
|
||||
<div id="wiiu" style="display:none">
|
||||
<span id="P_01_WiiU">Add Wii Points to your WiiMart account?</span>
|
||||
|
||||
<div id="link" style="display:''">
|
||||
<a id="OKBtnAnchor" href="javascript:exitWiiUmessage()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('Image7','','/oss/oss/common/images//banner/under_banner_b.gif',1);snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="wiiSelectSound();"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="banner" style="display:''"><img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="Image7" /></div>
|
||||
<div id="word" style="display:''">
|
||||
<div align="center" ><span id="OKBtnWord" class="buttonTextBlackM">OK</span></div>
|
||||
</div>
|
||||
</div> <!-- //redeeming -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="wii" style="display:''">
|
||||
|
||||
|
||||
<div id="P_01_text02-01">
|
||||
<div align="left" class="headerBlueM">Shopping Made Easy with Wii Points</div>
|
||||
</div>
|
||||
|
||||
<div align="left" class="contentsBlack" id="text03-01">
|
||||
On the WiiMart, you use Wii Points to download software.<BR><BR>You can add Wii Points in two ways: by redeeming a Wii Points Card purchased at retail or by buying them with a credit card here.</div>
|
||||
|
||||
<div id="card01">
|
||||
<img class="cardspacer" src='/oss/oss/common/images//spacer.gif' border="0"
|
||||
onmouseover="MM_swapImage('card01_Img','','/oss/oss/common/images//banner/banner03_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="gotoPrepaid();" />
|
||||
<img class="cardbanner" src='/oss/oss/common/images//banner/banner03_a.gif' id="card01_Img">
|
||||
<img class="cardbannershadow" src='/oss/oss/common/images//banner/banner03_shadow.png' id='card01_Shadow'>
|
||||
<div id="text04-01" align="center">
|
||||
<span class="catalogTitleBlack">Redeem<BR>Wii Points Card</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="card02">
|
||||
<img class="cardspacer" src='/oss/oss/common/images//spacer.gif' border="0"
|
||||
onmouseover="MM_swapImage('card02_Img','','/oss/oss/common/images//banner/banner03_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="gotoPurchase();"/>
|
||||
<img class="cardbanner" src='/oss/oss/common/images//banner/banner03_a.gif' id="card02_Img" />
|
||||
<img class="cardbannershadow" src='/oss/oss/common/images//banner/banner03_shadow.png' id='card02_Shadow'>
|
||||
<div id="text05-01" class="catalogTitleBlack">
|
||||
Buy Wii Points<BR>with a Credit Card</div>
|
||||
</div>
|
||||
|
||||
<img id="creditCardPic" src="/oss/oss/common/images//banner/card_pic_b.gif"/>
|
||||
<img id="pointCardPic"/>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
897
jsp/P_01_WiiU1st.jsp
Normal file
897
jsp/P_01_WiiU1st.jsp
Normal file
|
|
@ -0,0 +1,897 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_01: Add Wii Points page */
|
||||
#P_01_text01-01 {
|
||||
/* pageHeading, formerly title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:28;
|
||||
}
|
||||
#P_01_text02-01 {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:77px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#P_01_WiiU {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:85px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#link {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:31;
|
||||
}
|
||||
#banner {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:27;
|
||||
}
|
||||
#word {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
width:187;
|
||||
height:55;
|
||||
z-index:29;
|
||||
}
|
||||
#text03-01 {
|
||||
/* formerly main text */
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:108px;
|
||||
width:330px;
|
||||
height:90px;
|
||||
z-index:22;
|
||||
}
|
||||
#Question {
|
||||
position:absolute;
|
||||
left:392px;
|
||||
top:100px;
|
||||
z-index:27;
|
||||
}
|
||||
#card01 {
|
||||
/* prepaid card */
|
||||
position:absolute;
|
||||
left:76px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
#card02 {
|
||||
/* credit card */
|
||||
position:absolute;
|
||||
left:347px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
.cardspacer {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.cardbannershadow{
|
||||
position:absolute;
|
||||
left:-13px;
|
||||
top:-10px;
|
||||
width:213px;
|
||||
height:106px;
|
||||
z-index:20;
|
||||
}
|
||||
.cardbanner {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:21;
|
||||
}
|
||||
#text04-01 {
|
||||
/* prepaid card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
#text05-01 {
|
||||
/* credit card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
|
||||
#creditCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:204px;
|
||||
width:176px;
|
||||
height:58px;
|
||||
z-index:78;
|
||||
}
|
||||
#pointCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:105px;
|
||||
width:171px;
|
||||
height:90px;
|
||||
z-index:79;
|
||||
}
|
||||
|
||||
#P_01_credit {
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
#regButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:152px;
|
||||
width:462px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.regButton_nonfocus{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
clip:rect(0px 462px 106px 0px);
|
||||
}
|
||||
|
||||
.regButton_focus{
|
||||
position:absolute;
|
||||
top:-106px;
|
||||
clip:rect(106px 462px 212px 0px);
|
||||
}
|
||||
|
||||
#ccButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
#mcButton{
|
||||
position:absolute;
|
||||
left:305px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.cc_mcButton_nonfocus{
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:-212px;
|
||||
clip:rect(212px 230px 318px 0px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.cc_mcButton_focus{
|
||||
position:absolute;
|
||||
left:-232px;
|
||||
top:-212px;
|
||||
clip:rect(212px 462px 318px 232px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "US.gif"),
|
||||
new Array('EUR', "EU.gif"),
|
||||
new Array('AUS', "AU.gif"));
|
||||
var cardPicDefault = "pointcard_pic_US.gif";
|
||||
|
||||
function P_01_getRegionPic()
|
||||
{
|
||||
var imageName="pointcard_pic_";
|
||||
var found=false;
|
||||
|
||||
|
||||
var code = 'USA';
|
||||
for (i=0; i < cardPicCodes.length; i ++) {
|
||||
if(code == cardPicCodes[i][0]) {
|
||||
imageName+=cardPicCodes[i][1];
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
imageName = cardPicDefault;
|
||||
|
||||
return imageName;
|
||||
}
|
||||
|
||||
function P_01_setPointImage() {
|
||||
var imageName;
|
||||
var cardImg;
|
||||
|
||||
imageName=P_01_getRegionPic();
|
||||
cardImg = document.getElementById('pointCardPic');
|
||||
if(cardImg && imageName != '') {
|
||||
cardImg.src='/oss/oss/common/images//banner/' + imageName;
|
||||
}
|
||||
}
|
||||
|
||||
function gotoPurchase()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_06.jsp');
|
||||
}
|
||||
|
||||
function gotoPrepaid()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_02.jsp');
|
||||
}
|
||||
|
||||
function gotoWiipoint()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_17.jsp');
|
||||
}
|
||||
|
||||
function initWiiUmessage()
|
||||
{
|
||||
document.getElementById("wiiu").style.display='';
|
||||
document.getElementById("wii").style.display='none';
|
||||
}
|
||||
|
||||
function exitWiiUmessage()
|
||||
{
|
||||
document.getElementById("wiiu").style.display='none';
|
||||
document.getElementById("wii").style.display='';
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
var maxBalance = 10000;
|
||||
|
||||
maxBalance = 20000;
|
||||
|
||||
if(document.getElementById("maxBalance"))
|
||||
document.getElementById("maxBalance").innerHTML = maxBalance;
|
||||
disableWiiPointButton();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
|
||||
'/oss/oss/common/images//banner/banner03_b.gif');
|
||||
|
||||
setUnderButtonL(true, "Back", "javascript:showHome()", "snd.playSE(cSE_Cancel)");
|
||||
|
||||
P_01_setPointImage();
|
||||
|
||||
if(shop.isCompatibleMode && location.search.length > 1)
|
||||
{
|
||||
initWiiUmessage();
|
||||
}
|
||||
document.body.style.overflow="hidden";
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="P_01_text01-01" class="titleBlackL" >Add Wii Points</div>
|
||||
|
||||
<div id="wiiu" style="display:none">
|
||||
<span id="P_01_WiiU" style="font-size: 20px;"><span style="color:#FF0000;">Wii Points added here can only be used in the WiiMart. You cannot redeem them for Wii U software from Nintendo eShop.</span><br><br>Add Wii Points to your WiiMart account?</span>
|
||||
<div id="link" style="display:''">
|
||||
<a id="OKBtnAnchor" href="javascript:exitWiiUmessage()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('Image7','','/oss/oss/common/images//banner/under_banner_b.gif',1);snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="wiiSelectSound();"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="banner" style="display:''"><img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="Image7" /></div>
|
||||
<div id="word" style="margin-left:auto;margin-right:auto;width:187;" class="h_block_middle">
|
||||
<CENTER>
|
||||
<table margin-left="auto" margin-right="auto" width="187" align="center" height="52px"><tr><td valign="middle">OK</td></tr></table>
|
||||
</CENTER>
|
||||
</div>
|
||||
</div> <!-- //redeeming -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="wii" style="display:''">
|
||||
|
||||
|
||||
<div id="P_01_text02-01">
|
||||
<div align="left" class="headerBlueM">Shopping Made Easy with Wii Points</div>
|
||||
</div>
|
||||
|
||||
<div align="left" class="contentsBlack" id="text03-01">
|
||||
On the WiiMart, you use Wii Points to download software.<BR><BR>You can add Wii Points in two ways: by redeeming a Wii Points Card purchased at retail or by buying them with a credit card here.</div>
|
||||
|
||||
<div id="card01">
|
||||
<img class="cardspacer" src='/oss/oss/common/images//spacer.gif' border="0"
|
||||
onmouseover="MM_swapImage('card01_Img','','/oss/oss/common/images//banner/banner03_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="gotoPrepaid();" />
|
||||
<img class="cardbanner" src='/oss/oss/common/images//banner/banner03_a.gif' id="card01_Img">
|
||||
<img class="cardbannershadow" src='/oss/oss/common/images//banner/banner03_shadow.png' id='card01_Shadow'>
|
||||
<div id="text04-01" align="center">
|
||||
<span class="catalogTitleBlack">Redeem<BR>Wii Points Card</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="card02">
|
||||
<img class="cardspacer" src='/oss/oss/common/images//spacer.gif' border="0"
|
||||
onmouseover="MM_swapImage('card02_Img','','/oss/oss/common/images//banner/banner03_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="gotoPurchase();"/>
|
||||
<img class="cardbanner" src='/oss/oss/common/images//banner/banner03_a.gif' id="card02_Img" />
|
||||
<img class="cardbannershadow" src='/oss/oss/common/images//banner/banner03_shadow.png' id='card02_Shadow'>
|
||||
<div id="text05-01" class="catalogTitleBlack">
|
||||
Buy Wii Points<BR>with a Credit Card</div>
|
||||
</div>
|
||||
|
||||
<img id="creditCardPic" src="/oss/oss/common/images//banner/card_pic_b.gif"/>
|
||||
<img id="pointCardPic"/>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
739
jsp/P_02.jsp
Normal file
739
jsp/P_02.jsp
Normal file
|
|
@ -0,0 +1,739 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_02: Prepaid Card Input Page */
|
||||
#text01-01 {
|
||||
/* title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:50px;
|
||||
top:89px;
|
||||
width:500px;
|
||||
height:46px;
|
||||
z-index:31;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:30px;
|
||||
top:284px;
|
||||
width:548px;
|
||||
height:23px;
|
||||
z-index:30;
|
||||
}
|
||||
#numberfield {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:311px;
|
||||
width:408px;
|
||||
height:50px;
|
||||
z-index:27;
|
||||
}
|
||||
#pointcard {
|
||||
position:absolute;
|
||||
left:185px;
|
||||
top:163px;
|
||||
width:233px;
|
||||
height:119px;
|
||||
z-index:29;
|
||||
}
|
||||
input {
|
||||
font-family: "Wii NTLG Gothic JPN Regular";
|
||||
font-size: 24px;
|
||||
background-color: #FFFFFF;
|
||||
letter-spacing: 0.1em;
|
||||
text-align: left;
|
||||
padding-left: 18px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "US.gif"),
|
||||
new Array('EUR', "EU.gif"),
|
||||
new Array('AUS', "AU.gif"),
|
||||
new Array('KOR', "KR.gif"));
|
||||
var cardPicDefault = "pointcard_back_US.gif";
|
||||
|
||||
function showHome_KR(replace) {
|
||||
var giftStatus = null;
|
||||
var supportsCreditCard = "true";
|
||||
if (ecSupportsSession()) {
|
||||
giftStatus = ec.getSessionValue("giftStatus");
|
||||
supportsCreditCard = ec.getSessionValue("supportsCreditCard");
|
||||
}
|
||||
var r = ec.getDeviceInfo ();
|
||||
if (typeof(r) == "object") {
|
||||
// prevent user going to W_03 if some errors happen in the receiving gift loop
|
||||
if (giftStatus == "receiving") {
|
||||
goGiftLoop();
|
||||
} else if ((r.country == 'KR' && r.region == 'KOR' && r.language == 'ko') || supportsCreditCard!="true") {
|
||||
showPage("W_03.jsp", replace);
|
||||
} else {
|
||||
showPage("P_01.jsp", replace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function retry(errorName){
|
||||
showElement("text02-01");
|
||||
showElement("pointcard");
|
||||
showElement("inputs");
|
||||
hideElement(errorName);
|
||||
P_02_setUnderButtons();
|
||||
}
|
||||
|
||||
function validate(){
|
||||
// Check prepaid cardnumber is 16-digit
|
||||
var form = document.cardForm;
|
||||
if(form != null) {
|
||||
var number=document.getElementById("cardNumber").value;
|
||||
number=number.toUpperCase();
|
||||
//Skip over check to see if its even a card
|
||||
if((number==null) || number.length != 16 || number.match(/[^A-Z0-9]+/)) {
|
||||
//hideElement("text02-01");
|
||||
//hideElement("pointcard");
|
||||
//hideElement("inputs");
|
||||
//showElement("invalidNum");
|
||||
//setUnderButtonL(false);
|
||||
//setUnderButtonR(false);
|
||||
//setUnderButton(true, "Try Again", 'javascript:retry("invalidNum")', 'if(snd) snd.playSE(cSE_Cancel)');
|
||||
document.getElementById("cardNumber").value=number;
|
||||
initCommonFields('commonFields', true);
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function P_02_setUnderButtons() {
|
||||
setUnderButtonL(true, "Quit", "javascript:showHome_KR()", "if(snd) snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:validate()", "if(snd) snd.playSE(cSE_Decide)");
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
|
||||
function P_02_getRegionPic()
|
||||
{
|
||||
var imageName="pointcard_back_";
|
||||
var found=false;
|
||||
|
||||
|
||||
var code = 'USA';
|
||||
for (i=0; i < cardPicCodes.length; i ++) {
|
||||
if(code == cardPicCodes[i][0]) {
|
||||
imageName+=cardPicCodes[i][1];
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
imageName = cardPicDefault;
|
||||
|
||||
return imageName;
|
||||
}
|
||||
|
||||
function P_02_setPointImage() {
|
||||
var imageName;
|
||||
var cardImg;
|
||||
|
||||
imageName=P_02_getRegionPic();
|
||||
cardImg = document.getElementById('pointcard');
|
||||
if(cardImg && imageName != '') {
|
||||
cardImg.src='/oss/oss/common/images//banner/' + imageName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif');
|
||||
setErrorMsg(OSS_ERROR_INVALID_PREPAID_NUMBER, 'The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.');
|
||||
|
||||
P_02_setPointImage();
|
||||
|
||||
P_02_setUnderButtons();
|
||||
disableWiiPointButton();
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01" class="titleBlackM">Redeem Wii Points Card</div>
|
||||
<div id="text02-01" class="catalogTitleBlack_02">Scratch off the silver area on the back of the Wii Points Card to reveal the Wii Points Card activation number. Enter this number below.</div>
|
||||
|
||||
<img id="pointcard"/>
|
||||
<div id="inputs">
|
||||
<div id="text03-01" align="center" class="buttonTextBlackM">Wii Points Card Activation Number</div>
|
||||
<form id="cardForm" action="https://oss-auth.blinklab.com/oss/serv/P_04.jsp" method="post" name="cardForm">
|
||||
<div id="commonFields"></div>
|
||||
<div id="numberfield" align="center">
|
||||
<input type="text" class="inputStyle" name="cardNumber" id="cardNumber" maxlength="16" size="25" onmousedown="if(kbd) kbd.call( cKT_LNoLFS, 2 );"
|
||||
onmouseover="this.style.backgroundColor='#E6E6E6'; if(snd) snd.playSE( cSE_Forcus );" onmouseout="this.style.backgroundColor='#FFFFFF'"
|
||||
/>
|
||||
</div>
|
||||
<br><br>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="invalidNum" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
983
jsp/P_02_WiiU1st.jsp
Normal file
983
jsp/P_02_WiiU1st.jsp
Normal file
|
|
@ -0,0 +1,983 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_02: Prepaid Card Input Page */
|
||||
#text01-01 {
|
||||
/* title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:50px;
|
||||
top:89px;
|
||||
width:500px;
|
||||
height:46px;
|
||||
z-index:31;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:30px;
|
||||
top:284px;
|
||||
width:548px;
|
||||
height:23px;
|
||||
z-index:30;
|
||||
}
|
||||
#numberfield {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:311px;
|
||||
width:408px;
|
||||
height:50px;
|
||||
z-index:27;
|
||||
}
|
||||
#pointcard {
|
||||
position:absolute;
|
||||
left:185px;
|
||||
top:163px;
|
||||
width:233px;
|
||||
height:119px;
|
||||
z-index:29;
|
||||
}
|
||||
input {
|
||||
font-family: "Wii NTLG Gothic JPN Regular";
|
||||
font-size: 24px;
|
||||
background-color: #FFFFFF;
|
||||
letter-spacing: 0.1em;
|
||||
text-align: left;
|
||||
padding-left: 18px;
|
||||
}
|
||||
/* For P_01: Add Wii Points page */
|
||||
#P_01_text01-01 {
|
||||
/* pageHeading, formerly title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:28;
|
||||
}
|
||||
#P_01_text02-01 {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:77px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#P_01_WiiU {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:85px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#link {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:31;
|
||||
}
|
||||
#banner {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:27;
|
||||
}
|
||||
#word {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
width:187;
|
||||
height:55;
|
||||
z-index:29;
|
||||
}
|
||||
#text03-01 {
|
||||
/* formerly main text */
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:108px;
|
||||
width:330px;
|
||||
height:90px;
|
||||
z-index:22;
|
||||
}
|
||||
#Question {
|
||||
position:absolute;
|
||||
left:392px;
|
||||
top:100px;
|
||||
z-index:27;
|
||||
}
|
||||
#card01 {
|
||||
/* prepaid card */
|
||||
position:absolute;
|
||||
left:76px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
#card02 {
|
||||
/* credit card */
|
||||
position:absolute;
|
||||
left:347px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
.cardspacer {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.cardbannershadow{
|
||||
position:absolute;
|
||||
left:-13px;
|
||||
top:-10px;
|
||||
width:213px;
|
||||
height:106px;
|
||||
z-index:20;
|
||||
}
|
||||
.cardbanner {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:21;
|
||||
}
|
||||
#text04-01 {
|
||||
/* prepaid card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
#text05-01 {
|
||||
/* credit card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
|
||||
#creditCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:204px;
|
||||
width:176px;
|
||||
height:58px;
|
||||
z-index:78;
|
||||
}
|
||||
#pointCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:105px;
|
||||
width:171px;
|
||||
height:90px;
|
||||
z-index:79;
|
||||
}
|
||||
|
||||
#P_01_credit {
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
#regButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:152px;
|
||||
width:462px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.regButton_nonfocus{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
clip:rect(0px 462px 106px 0px);
|
||||
}
|
||||
|
||||
.regButton_focus{
|
||||
position:absolute;
|
||||
top:-106px;
|
||||
clip:rect(106px 462px 212px 0px);
|
||||
}
|
||||
|
||||
#ccButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
#mcButton{
|
||||
position:absolute;
|
||||
left:305px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.cc_mcButton_nonfocus{
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:-212px;
|
||||
clip:rect(212px 230px 318px 0px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.cc_mcButton_focus{
|
||||
position:absolute;
|
||||
left:-232px;
|
||||
top:-212px;
|
||||
clip:rect(212px 462px 318px 232px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "US.gif"),
|
||||
new Array('EUR', "EU.gif"),
|
||||
new Array('AUS', "AU.gif"),
|
||||
new Array('KOR', "KR.gif"));
|
||||
var cardPicDefault = "pointcard_back_US.gif";
|
||||
|
||||
function showHome_KR(replace) {
|
||||
var giftStatus = null;
|
||||
var supportsCreditCard = "true";
|
||||
if (ecSupportsSession()) {
|
||||
giftStatus = ec.getSessionValue("giftStatus");
|
||||
supportsCreditCard = ec.getSessionValue("supportsCreditCard");
|
||||
}
|
||||
var r = ec.getDeviceInfo ();
|
||||
if (typeof(r) == "object") {
|
||||
// prevent user going to W_03 if some errors happen in the receiving gift loop
|
||||
if (giftStatus == "receiving") {
|
||||
goGiftLoop();
|
||||
} else if ((r.country == 'KR' && r.region == 'KOR' && r.language == 'ko') || supportsCreditCard!="true") {
|
||||
showPage("W_03.jsp", replace);
|
||||
} else {
|
||||
showPage("P_01.jsp", replace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function retry(errorName){
|
||||
showElement("text02-01");
|
||||
showElement("pointcard");
|
||||
showElement("inputs");
|
||||
hideElement(errorName);
|
||||
P_02_setUnderButtons();
|
||||
}
|
||||
|
||||
function validate(){
|
||||
// Check prepaid cardnumber is 16-digit
|
||||
var form = document.cardForm;
|
||||
if(form != null) {
|
||||
var number=document.getElementById("cardNumber").value;
|
||||
if((number==null) || number.length != 16 || number.match(/[^A-Za-z0-9]+/)) {
|
||||
hideElement("text02-01");
|
||||
hideElement("pointcard");
|
||||
hideElement("inputs");
|
||||
showElement("invalidNum");
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
setUnderButton(true, "Try Again", 'javascript:retry("invalidNum")', 'if(snd) snd.playSE(cSE_Cancel)');
|
||||
} else {
|
||||
initCommonFields('commonFields', true);
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function P_02_setUnderButtons() {
|
||||
setUnderButtonL(true, "Quit", "javascript:showHome_KR()", "if(snd) snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:validate()", "if(snd) snd.playSE(cSE_Decide)");
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
|
||||
function P_02_getRegionPic()
|
||||
{
|
||||
var imageName="pointcard_back_";
|
||||
var found=false;
|
||||
|
||||
|
||||
var code = 'USA';
|
||||
for (i=0; i < cardPicCodes.length; i ++) {
|
||||
if(code == cardPicCodes[i][0]) {
|
||||
imageName+=cardPicCodes[i][1];
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
imageName = cardPicDefault;
|
||||
|
||||
return imageName;
|
||||
}
|
||||
|
||||
function P_02_setPointImage() {
|
||||
var imageName;
|
||||
var cardImg;
|
||||
|
||||
imageName=P_02_getRegionPic();
|
||||
cardImg = document.getElementById('pointcard');
|
||||
if(cardImg && imageName != '') {
|
||||
cardImg.src='/oss/oss/common/images//banner/' + imageName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initWiiUmessage()
|
||||
{
|
||||
document.getElementById("wiiu").style.display='';
|
||||
document.getElementById("wii").style.display='none';
|
||||
}
|
||||
|
||||
function exitWiiUmessage()
|
||||
{
|
||||
document.getElementById("wiiu").style.display='none';
|
||||
document.getElementById("wii").style.display='';
|
||||
P_02_setUnderButtons();
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif');
|
||||
setErrorMsg(OSS_ERROR_INVALID_PREPAID_NUMBER, 'The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.');
|
||||
|
||||
P_02_setPointImage();
|
||||
|
||||
|
||||
disableWiiPointButton();
|
||||
}
|
||||
initWiiUmessage();
|
||||
|
||||
-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01" class="titleBlackM">Redeem Wii Points Card</div>
|
||||
|
||||
|
||||
|
||||
<div id="wiiu" style="display:''">
|
||||
<span id="P_01_WiiU" style="font-size: 20px;"><span style="color:#FF0000;">Wii Points added here can only be used in the WiiMart. You cannot redeem them for Wii U software from Nintendo eShop.</span><br><br>Add Wii Points to your WiiMart account?</span>
|
||||
|
||||
<div id="link" style="display:''">
|
||||
<a id="OKBtnAnchor" href="javascript:exitWiiUmessage()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('Image7','','/oss/oss/common/images//banner/under_banner_b.gif',1);snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="wiiSelectSound();"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="banner" style="display:''"><img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="Image7" /></div>
|
||||
<div id="word" style="margin-left:auto;margin-right:auto;width:187;" class="h_block_middle">
|
||||
<CENTER>
|
||||
<table margin-left="auto" margin-right="auto" width="187" align="center" height="52px"><tr><td valign="middle">OK</td></tr></table>
|
||||
</CENTER>
|
||||
</div>
|
||||
</div> <!-- //redeeming -->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="wii" style="display:none">
|
||||
|
||||
<div id="text02-01" class="catalogTitleBlack_02">Scratch off the silver area on the back of the Wii Points Card to reveal the Wii Points Card activation number. Enter this number below.</div>
|
||||
|
||||
<img id="pointcard"/>
|
||||
|
||||
<div id="inputs">
|
||||
<div id="text03-01" align="center" class="buttonTextBlackM">Wii Points Card Activation Number</div>
|
||||
<form id="cardForm" action="https://oss-auth.blinklab.com/oss/serv/P_04.jsp" method="post" name="cardForm">
|
||||
<div id="commonFields"></div>
|
||||
<div id="numberfield" align="center">
|
||||
<input type="text" class="inputStyle" name="cardNumber" id="cardNumber" maxlength="16" size="25" onmousedown="if(kbd) kbd.call( cKT_LNoLFS, 2 );"
|
||||
onmouseover="this.style.backgroundColor='#E6E6E6'; if(snd) snd.playSE( cSE_Forcus );" onmouseout="this.style.backgroundColor='#FFFFFF'"
|
||||
/>
|
||||
</div>
|
||||
<br><br>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="invalidNum" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
965
jsp/P_04.jsp
Normal file
965
jsp/P_04.jsp
Normal file
|
|
@ -0,0 +1,965 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return '<%= request.getMethod() %>';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = '';
|
||||
<%
|
||||
if (request.getMethod().equals("POST")) {
|
||||
// Read the POST body from the request
|
||||
StringBuilder postBodyBuilder = new StringBuilder();
|
||||
String line;
|
||||
try (java.io.BufferedReader reader = request.getReader()) {
|
||||
while ((line = reader.readLine()) != null) {
|
||||
postBodyBuilder.append(line);
|
||||
}
|
||||
}
|
||||
String postBody = postBodyBuilder.toString();
|
||||
|
||||
// Parse the parameters from the POST body
|
||||
java.util.Map<String, java.util.List<String>> parametersMap = new java.util.HashMap<>();
|
||||
for (String pair : postBody.split("&")) {
|
||||
String[] keyValue = pair.split("=", 2);
|
||||
String key = java.net.URLDecoder.decode(keyValue[0], "UTF-8");
|
||||
String value = keyValue.length > 1 ? java.net.URLDecoder.decode(keyValue[1], "UTF-8") : "";
|
||||
parametersMap.computeIfAbsent(key, k -> new java.util.ArrayList<>()).add(value);
|
||||
}
|
||||
|
||||
// Exclude these parameters
|
||||
java.util.Set<String> excludedParams = new java.util.HashSet<>();
|
||||
excludedParams.add("accountId");
|
||||
excludedParams.add("deviceId");
|
||||
excludedParams.add("serialNo");
|
||||
excludedParams.add("country");
|
||||
excludedParams.add("region");
|
||||
excludedParams.add("age");
|
||||
excludedParams.add("language");
|
||||
|
||||
// Generate JavaScript code for the remaining parameters
|
||||
%>
|
||||
<%
|
||||
boolean first = true;
|
||||
for (java.util.Map.Entry<String, java.util.List<String>> entry : parametersMap.entrySet()) {
|
||||
if (!excludedParams.contains(entry.getKey())) {
|
||||
for (String value : entry.getValue()) {
|
||||
%>
|
||||
<% if (!first) { %>
|
||||
params += "&";
|
||||
<% } %>
|
||||
params += '<%= entry.getKey() %>=<%= value %>';
|
||||
<%
|
||||
first = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
%>
|
||||
trace("getPostParams : " + params);
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'https://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
ucsUrl = 'https://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* P_03: Prepaid Card Overflow Error */
|
||||
/* Errors handled in error.css */
|
||||
|
||||
/* P_04: Prepaid Card Error */
|
||||
/* Errors handled in error.css */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:28;
|
||||
}
|
||||
#coolingoff {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:94px;
|
||||
width:542px;
|
||||
height:81px;
|
||||
z-index:28;
|
||||
}/* P_05: Redeem Confirmation */
|
||||
|
||||
#topFrame {
|
||||
/* frame to hold top area of P_05 */
|
||||
position:absolute;
|
||||
left:59px;
|
||||
top:112px;
|
||||
width:490px;
|
||||
height:121px;
|
||||
z-index:20;
|
||||
}
|
||||
#P_05-text02-01 {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:14px;
|
||||
width:100%;
|
||||
height:40px;
|
||||
z-index:21;
|
||||
}
|
||||
#P_05-text02-02 {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:71px;
|
||||
width:100%;
|
||||
height:40px;
|
||||
z-index:21;
|
||||
}
|
||||
#P_05-text03-01 {
|
||||
position:absolute;
|
||||
left:48px;
|
||||
top:290px;
|
||||
width:514px;
|
||||
height:18px;
|
||||
z-index:21;
|
||||
}
|
||||
|
||||
|
||||
#progressBar {
|
||||
position:absolute;
|
||||
left:120px;
|
||||
top:100px;
|
||||
width:400px;
|
||||
}
|
||||
|
||||
#P_05-text05-01 {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:17px;
|
||||
width:100%;
|
||||
height:40px;
|
||||
z-index:21;
|
||||
}
|
||||
#P_05-text05-02 {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:74px;
|
||||
width:100%;
|
||||
height:40px;
|
||||
z-index:21;
|
||||
}
|
||||
#P_05-text05-03 {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:137px;
|
||||
width:100%;
|
||||
height:40px;
|
||||
z-index:21;
|
||||
}
|
||||
#P_05-text05-04 {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:194px;
|
||||
width:100%;
|
||||
height:40px;
|
||||
z-index:21;
|
||||
color: #ff0000;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
trace( "pointPricing.itemCurrency>>>>>>>>>ii");
|
||||
var maxBalance;
|
||||
var currentBalance;
|
||||
var refillPoints;
|
||||
var newBalance;
|
||||
var limitExceeded = 0;
|
||||
|
||||
var defaultError = "There was an error redeeming your Wii Points Card.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
var AdditionMessage=false;
|
||||
|
||||
|
||||
function initPage()
|
||||
{
|
||||
var errors = 0;
|
||||
initPageCommon();
|
||||
|
||||
trace("getBalance")
|
||||
currentBalance = getBalance();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif','/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
refillPoints = parseInt(getRefillPoints());
|
||||
newBalance = currentBalance+refillPoints;
|
||||
disableWiiPointButton();
|
||||
|
||||
trace("errors=1")
|
||||
errors = 1;
|
||||
//Skip over errors
|
||||
//handleErrors();
|
||||
trace("wiiEnableHRP : initPage")
|
||||
wiiEnableHRP();
|
||||
showElement("redeemConfirm");
|
||||
hideElement("coolingoff");
|
||||
document.getElementById("refillPts").innerHTML = refillPoints;
|
||||
|
||||
setUnderButtonR(true, "Redeem", "javascript:redeemPointsCard()", "wiiSelectSound()");
|
||||
|
||||
setUnderButtonL(true, "Do Not Redeem", "javascript:showBack()", "wiiCancelSound()");
|
||||
|
||||
|
||||
}
|
||||
|
||||
function toggleMessage(){
|
||||
hideElement("redeemConfirm");
|
||||
hideElement("progressBar");
|
||||
showElement("coolingoff");
|
||||
setUnderButtonR(true, "(N/A)", "javascript:redeemECashCard()", "wiiSelectSound()");
|
||||
setUnderButtonL(true, "(N/A)", "javascript:showBack()", "wiiCancelSound()");
|
||||
}
|
||||
|
||||
// returns false if card balance == 0
|
||||
function checkNotRedeemed()
|
||||
{
|
||||
var cardBalance = parseInt('1000');
|
||||
if(cardBalance > 0)
|
||||
return true;
|
||||
else {
|
||||
displayError(parseInt()+OSS_WS_ERROR_RANGE_START,
|
||||
"This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function showOverflow()
|
||||
{
|
||||
// showElement("MaxLimitExceeded");
|
||||
setErrorMsg(OSS_ERROR_PREPAID_OVERFLOW, 'Your Wii Points balance cannot exceed <span id="maxBalance"></span> points. <BR><BR>You cannot redeem this Wii Points Card at this time. Adding these points will put you over the limit. ');
|
||||
document.getElementById("maxBalance").innerHTML = maxBalance;
|
||||
setUnderButton(true, "OK", "javascript:returnToPrepaid()", "if(snd) snd.playSE(cSE_Decide);");
|
||||
setUnderButtonR(false);
|
||||
setUnderButtonL(false);
|
||||
}
|
||||
|
||||
|
||||
function displayError(code, errorTxt)
|
||||
{
|
||||
setErrorMsg(code, errorTxt);
|
||||
hideElement("redeemConfirm");
|
||||
hideElement("progressBar");
|
||||
hideElement("coolingoff");
|
||||
setUnderButton(true, "OK", "javascript:returnToPrepaid()", "wiiCancelSound()");
|
||||
setUnderButtonR(false);
|
||||
setUnderButtonL(false);
|
||||
}
|
||||
|
||||
function handleProgressError(progress)
|
||||
{
|
||||
var code;
|
||||
var errorTxt = defaultError;
|
||||
var tempError;
|
||||
if(progress) {
|
||||
code = getOssErrorCode(progress);
|
||||
tempError = getOssErrorMsg(progress);
|
||||
if(tempError != null && tempError != "") {
|
||||
errorTxt = tempError;
|
||||
}
|
||||
|
||||
enableTopHelpElements();
|
||||
displayError(code, errorTxt);
|
||||
}
|
||||
else {
|
||||
enableTopHelpElements();
|
||||
handleErrors();
|
||||
}
|
||||
}
|
||||
|
||||
function handleErrors()
|
||||
{
|
||||
var code = 0;
|
||||
var errorTxt = defaultError;
|
||||
var tempError;
|
||||
|
||||
code = '206601';
|
||||
|
||||
tempError = getWebServiceErrorMsg(code - OSS_WS_ERROR_RANGE_START);
|
||||
if(tempError != null && tempError != "") {
|
||||
errorTxt = tempError;
|
||||
}
|
||||
|
||||
displayError(code, errorTxt);
|
||||
}
|
||||
|
||||
function returnToPrepaid()
|
||||
{
|
||||
showBack();
|
||||
}
|
||||
|
||||
function getPayment()
|
||||
{
|
||||
var ecardNumber = '';
|
||||
return new ECECardPayment(ecardNumber);
|
||||
}
|
||||
|
||||
function getPrice()
|
||||
{
|
||||
var amount = '';
|
||||
var currency = '';
|
||||
return new ECPrice (amount, currency);
|
||||
}
|
||||
|
||||
function getPriceAfterTax()
|
||||
{
|
||||
var price= '';
|
||||
var currency = '';
|
||||
return new ECPrice (price, currency);
|
||||
}
|
||||
|
||||
function getRefillPoints()
|
||||
{
|
||||
return '1000';
|
||||
}
|
||||
|
||||
function buyPoints()
|
||||
{
|
||||
trace("buyPoints")
|
||||
// Price
|
||||
var price = getPrice();
|
||||
|
||||
// Request
|
||||
var itemId = '';
|
||||
trace("getting payment");
|
||||
var payment = getPayment();
|
||||
trace("got payment: " + payment)
|
||||
var progress = ec.purchasePoints (refillPoints, itemId, price, payment); // both
|
||||
|
||||
opName = "Purchase Points";
|
||||
opDesc = "Purchasing " + refillPoints + " Points ";
|
||||
|
||||
finishOp(opName, opDesc, progress, "onBuyPointsDone");
|
||||
}
|
||||
|
||||
function buyPointsECashCard()
|
||||
{
|
||||
// Price
|
||||
var price = getPriceAfterTax();
|
||||
|
||||
// Request
|
||||
var itemId = '';
|
||||
var payment = getPayment();
|
||||
var taxes = '';
|
||||
var taxInfo = '';
|
||||
var progress = ec.purchasePoints (refillPoints, itemId, price, payment, taxes, taxInfo); // both
|
||||
|
||||
opName = "Purchase Points";
|
||||
opDesc = "Purchasing " + refillPoints + " Points ";
|
||||
|
||||
finishOp(opName, opDesc, progress, "onBuyPointsDone");
|
||||
}
|
||||
|
||||
function onBuyPointsDone(progress){
|
||||
wiiEnableHRP();
|
||||
showResult (progress, opName, opDesc);
|
||||
|
||||
if(progress.status >= 0) {
|
||||
var transId = "";
|
||||
var transType = "";
|
||||
|
||||
ec.setSessionValue("transId", transId);
|
||||
ec.setSessionValue("transType", transType);
|
||||
|
||||
ec.setSessionValue("refilled", getRefillPoints());
|
||||
ec.setSessionValue("playAddPoint", "true");
|
||||
showPage('P_15.jsp');
|
||||
} else {
|
||||
//handleProgressError(progress);
|
||||
var transId = "";
|
||||
var transType = "";
|
||||
|
||||
ec.setSessionValue("transId", transId);
|
||||
ec.setSessionValue("transType", transType);
|
||||
|
||||
ec.setSessionValue("refilled", getRefillPoints());
|
||||
ec.setSessionValue("playAddPoint", "true");
|
||||
showPage('P_15.jsp');
|
||||
}
|
||||
}
|
||||
|
||||
function redeemPointsCard()
|
||||
{
|
||||
trace("redeemPointsCard")
|
||||
hideElement("topFrame");
|
||||
hideElement("P_05-text03-01");
|
||||
disableTopHelpElements();
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
buyPoints();
|
||||
}
|
||||
|
||||
function redeemECashCard()
|
||||
{
|
||||
hideElement("topFrame");
|
||||
hideElement("P_05-text03-01");
|
||||
disableTopHelpElements();
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
buyPointsECashCard();
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><div class="titleBlackM" id="text01-01">Redeem Wii Points Card</div>
|
||||
<div id="progressBar"><!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="Progress">
|
||||
<div id="dynDiv1" class="contentsBlackS"></div>
|
||||
<div id="dynDiv2" class="contentsBlackS"></div>
|
||||
<div id="errDiv" class="contentsBlackS"></div>
|
||||
</div></div>
|
||||
<div id="redeemConfirm" style="display:none">
|
||||
<div id="topFrame" align="center">
|
||||
<img src='/oss/oss/common/images//banner/point_frame01.gif' width="100%" height="100%" />
|
||||
<div id="P_05-text02-01" class="headerBlueL" align="center">Wii Points on this card</div>
|
||||
<div id="P_05-text02-02" class="titleBlackL" align="center"><span id="refillPts"></span> Wii Points</div>
|
||||
</div>
|
||||
<div id="P_05-text03-01" class="headerBlueM_01" align="center">
|
||||
Do you want to redeem this Wii Points Card?</div>
|
||||
</div>
|
||||
<div id="coolingoff" class="catalogTitleBlack_02" style="display: none;">(N/A)</div>
|
||||
</body>
|
||||
</html>
|
||||
906
jsp/P_06.jsp
Normal file
906
jsp/P_06.jsp
Normal file
|
|
@ -0,0 +1,906 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!--
|
||||
optionCount: Number of purchase point options available
|
||||
optionWidth: Width of each option
|
||||
optionHeight: Height of each option
|
||||
spaceBetween: Space between each option
|
||||
fullWidth: Total space to use
|
||||
startLeft: Furthest left location
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_06: Purchase Point Options */
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:35;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:115px;
|
||||
width:540px;
|
||||
z-index:27;
|
||||
}
|
||||
#text_AU_lower {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:280px;
|
||||
width:540px;
|
||||
z-index:27;
|
||||
}
|
||||
|
||||
#pointsUnavailable{
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:88px;
|
||||
width:540px;
|
||||
height:277px;
|
||||
}
|
||||
.pointOption{
|
||||
position:absolute;
|
||||
top:165px;
|
||||
width:122px;
|
||||
height:105px;
|
||||
}
|
||||
.ptSpacer {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:20;
|
||||
}
|
||||
.ptShadow {
|
||||
position:absolute;
|
||||
left:-8%;
|
||||
right:-8%;
|
||||
top:-13px ;
|
||||
width:139px;
|
||||
height:130px;
|
||||
z-index:15;
|
||||
}
|
||||
.ptImg {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:16;
|
||||
}
|
||||
.ptValue {
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:5%;
|
||||
left:5%;
|
||||
width:90%;
|
||||
z-index:19;
|
||||
}
|
||||
.wiiPtWords{
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
left:5%;
|
||||
top:38%;
|
||||
width:90%;
|
||||
z-index:18;
|
||||
}
|
||||
.ptCost{
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
left:5%;
|
||||
width:95%;
|
||||
top:65%;
|
||||
z-index:18;
|
||||
}
|
||||
.addpoints {
|
||||
color:#8C8C8C;
|
||||
font-size:32px;
|
||||
}
|
||||
#warningMsg {
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:270px;
|
||||
width:540px;
|
||||
height:105px;
|
||||
z-index:20;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
var availableSpaces = 4;
|
||||
var pointPricings = new Array();
|
||||
|
||||
var maxBalance = null;
|
||||
var currBalance;
|
||||
|
||||
function showHome_TWN(replace) {
|
||||
var giftStatus = null;
|
||||
if (ecSupportsSession()) {
|
||||
giftStatus = ec.getSessionValue("giftStatus");
|
||||
}
|
||||
var r = ec.getDeviceInfo ();
|
||||
if (typeof(r) == "object") {
|
||||
if(giftStatus == "receiving"){
|
||||
goGiftLoop();
|
||||
} else if(r.country == 'TW' && r.region == 'TWN'){
|
||||
showPage("W_03.jsp", replace);
|
||||
} else {
|
||||
showPage("P_01.jsp?back", replace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function PointPricing()
|
||||
{
|
||||
this.points = null;
|
||||
this.price = null;
|
||||
this.currency = null;
|
||||
this.itemdId = null;
|
||||
this.amountStr = null;
|
||||
}
|
||||
|
||||
function fillPoints()
|
||||
{
|
||||
var ctr = 0, nPricings = 0;
|
||||
var pointPricing;
|
||||
var country = 'US';
|
||||
|
||||
|
||||
pointPricing = new PointPricing();
|
||||
pointPricing.points = parseInt('1000');
|
||||
pointPricing.price = '10';
|
||||
pointPricing.itemId = parseInt('100008');
|
||||
pointPricing.currency = 'USD';
|
||||
pointPricing.amountStr = '$10.00';
|
||||
pointPricings[ctr] = pointPricing;
|
||||
ctr++;
|
||||
|
||||
pointPricing = new PointPricing();
|
||||
pointPricing.points = parseInt('2000');
|
||||
pointPricing.price = '20';
|
||||
pointPricing.itemId = parseInt('100030');
|
||||
pointPricing.currency = 'USD';
|
||||
pointPricing.amountStr = '$20.00';
|
||||
pointPricings[ctr] = pointPricing;
|
||||
ctr++;
|
||||
|
||||
pointPricing = new PointPricing();
|
||||
pointPricing.points = parseInt('3000');
|
||||
pointPricing.price = '30';
|
||||
pointPricing.itemId = parseInt('100031');
|
||||
pointPricing.currency = 'USD';
|
||||
pointPricing.amountStr = '$30.00';
|
||||
pointPricings[ctr] = pointPricing;
|
||||
ctr++;
|
||||
|
||||
pointPricing = new PointPricing();
|
||||
pointPricing.points = parseInt('5000');
|
||||
pointPricing.price = '50';
|
||||
pointPricing.itemId = parseInt('100032');
|
||||
pointPricing.currency = 'USD';
|
||||
pointPricing.amountStr = '$50.00';
|
||||
pointPricings[ctr] = pointPricing;
|
||||
ctr++;
|
||||
|
||||
nPricings = ctr;
|
||||
|
||||
for (ctr = 0; ctr < nPricings; ctr++)
|
||||
{
|
||||
var pointName = "point0" + (ctr+1);
|
||||
pointPricing = pointPricings[ctr];
|
||||
if(document.getElementById(pointName)) {
|
||||
var currency = pointPricing.currency;
|
||||
var points = pointPricing.points;
|
||||
|
||||
var ptValue = document.getElementById(pointName + "Value");
|
||||
var ptCost = document.getElementById(pointName + "Cost");
|
||||
var ptCurrency = document.getElementById(pointName + "Currency");
|
||||
|
||||
// should all exist; but checking doesn't hurt anyone
|
||||
var amountStr = pointPricing.amountStr;
|
||||
if (ptValue) ptValue.innerHTML = points;
|
||||
if (ptCost) ptCost.innerHTML = amountStr;
|
||||
|
||||
// gray out img if will overflow
|
||||
if(maxBalance != null && maxBalance < currBalance + points) {
|
||||
var warningMsg = "warningMsg";
|
||||
trace("disabling ptSpacer " + pointName + "Spacer");
|
||||
|
||||
showElement(pointName + "SpacerDisabled");
|
||||
hideElement(pointName + "SpacerEnabled");
|
||||
showElement(warningMsg);
|
||||
} else {
|
||||
showElement(pointName + "SpacerEnabled");
|
||||
hideElement(pointName + "SpacerDisabled");
|
||||
}
|
||||
}
|
||||
showElement(pointName);
|
||||
}
|
||||
|
||||
// Now hide images on the page that do not have options associated with them
|
||||
if (nPricings == 0) {
|
||||
// no pricings
|
||||
showElement('pointsUnavailable');
|
||||
hideElement('text02-01');
|
||||
hideElement('text_AU_lower');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
currBalance = getBalance();
|
||||
disableWiiPointButton();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/add_points_b.gif',
|
||||
'/oss/oss/common/images/banner/point_gray.png');
|
||||
setUnderButtonL(true, "Back", "javascript:showHome()", "wiiCancelSound()");
|
||||
|
||||
|
||||
maxBalance = 20000;
|
||||
document.getElementById("warnMaximumPoints").innerHTML = maxBalance;
|
||||
|
||||
fillPoints();
|
||||
|
||||
|
||||
hideElement("text_AU_lower");
|
||||
|
||||
}
|
||||
|
||||
function checkpoints(index)
|
||||
{
|
||||
var newPts = pointPricings[index].points;
|
||||
trace(Number(newPts) + Number(currBalance) + " compared to " + maxBalance);
|
||||
trace(typeof newPts + " " + typeof currBalance + " " + typeof maxBalance);
|
||||
if(newPts + Number(currBalance) > maxBalance) {
|
||||
showElement('warningMsg');
|
||||
}
|
||||
else {
|
||||
next(index);
|
||||
}
|
||||
}
|
||||
|
||||
function next(selection)
|
||||
{
|
||||
var theBool = selection < 0 || selection >= pointPricings.length;
|
||||
trace(theBool);
|
||||
if(theBool) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
wiiSelectSound();
|
||||
var form = document.createElement("form");
|
||||
form.action = getSecureUrl("P_07.jsp");
|
||||
// form.method = "post";
|
||||
form.id = "purchasePointsForm";
|
||||
form.innerHTML = "";
|
||||
form.innerHTML += '<div id="commonFields"></div>';
|
||||
form.innerHTML += '<input type="hidden" name="pointsValue" value="' + pointPricings[selection].points + '"/>';
|
||||
form.innerHTML += '<input type="hidden" name="pointsCost" value="' + pointPricings[selection].price + '"/>';
|
||||
form.innerHTML += '<input type="hidden" name="itemId" value="' + pointPricings[selection].itemId + '"/>';
|
||||
form.innerHTML += '<input type="hidden" name="currency" value="' + pointPricings[selection].currency + '"/>';
|
||||
form.innerHTML += '</div>';
|
||||
document.body.appendChild(form);
|
||||
|
||||
initCommonFields("commonFields");
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01" class="titleBlackL">Wii Points Purchase</div>
|
||||
|
||||
<div id="text02-01" align="center" class="contentsBlackM">Please select the number of Wii Points you want to buy.</div>
|
||||
|
||||
<div id='point01' style='display:none; left: 34.0px;' class='pointOption'>
|
||||
<img src='/oss/oss/common/images//banner/add_points_a.gif' id='point01Img' class="ptImg"/>
|
||||
<img class="ptShadow" src='/oss/oss/common/images//banner/banner03_shadow.gif' border='0' id='point01Shadow' />
|
||||
|
||||
<img class="ptSpacer" style='display:none' src='/oss/oss/common/images//spacer.gif' border="0" id='point01SpacerEnabled'
|
||||
onmouseover="MM_swapImage('point01Img','','/oss/oss/common/images//banner/add_points_b.gif',1); wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore()" onclick='checkpoints(1-1)'>
|
||||
|
||||
<img class="ptSpacer" style='display:none' src='/oss/oss/common/images//banner/point_gray.png' border="0" id='point01SpacerDisabled'>
|
||||
|
||||
<span class="ptValue addpoints" id='point01Value'></span>
|
||||
<span class="wiiPtWords contentsGray bold">Wii Points</span>
|
||||
<span class="ptCost contentsBlackM"><span id='point01Cost'></span>
|
||||
<span id='point01Currency'></span></span>
|
||||
</div>
|
||||
<div id='point02' style='display:none; left: 174.0px;' class='pointOption'>
|
||||
<img src='/oss/oss/common/images//banner/add_points_a.gif' id='point02Img' class="ptImg"/>
|
||||
<img class="ptShadow" src='/oss/oss/common/images//banner/banner03_shadow.gif' border='0' id='point02Shadow' />
|
||||
|
||||
<img class="ptSpacer" style='display:none' src='/oss/oss/common/images//spacer.gif' border="0" id='point02SpacerEnabled'
|
||||
onmouseover="MM_swapImage('point02Img','','/oss/oss/common/images//banner/add_points_b.gif',1); wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore()" onclick='checkpoints(2-1)'>
|
||||
|
||||
<img class="ptSpacer" style='display:none' src='/oss/oss/common/images//banner/point_gray.png' border="0" id='point02SpacerDisabled'>
|
||||
|
||||
<span class="ptValue addpoints" id='point02Value'></span>
|
||||
<span class="wiiPtWords contentsGray bold">Wii Points</span>
|
||||
<span class="ptCost contentsBlackM"><span id='point02Cost'></span>
|
||||
<span id='point02Currency'></span></span>
|
||||
</div>
|
||||
<div id='point03' style='display:none; left: 314.0px;' class='pointOption'>
|
||||
<img src='/oss/oss/common/images//banner/add_points_a.gif' id='point03Img' class="ptImg"/>
|
||||
<img class="ptShadow" src='/oss/oss/common/images//banner/banner03_shadow.gif' border='0' id='point03Shadow' />
|
||||
|
||||
<img class="ptSpacer" style='display:none' src='/oss/oss/common/images//spacer.gif' border="0" id='point03SpacerEnabled'
|
||||
onmouseover="MM_swapImage('point03Img','','/oss/oss/common/images//banner/add_points_b.gif',1); wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore()" onclick='checkpoints(3-1)'>
|
||||
|
||||
<img class="ptSpacer" style='display:none' src='/oss/oss/common/images//banner/point_gray.png' border="0" id='point03SpacerDisabled'>
|
||||
|
||||
<span class="ptValue addpoints" id='point03Value'></span>
|
||||
<span class="wiiPtWords contentsGray bold">Wii Points</span>
|
||||
<span class="ptCost contentsBlackM"><span id='point03Cost'></span>
|
||||
<span id='point03Currency'></span></span>
|
||||
</div>
|
||||
<div id='point04' style='display:none; left: 454.0px;' class='pointOption'>
|
||||
<img src='/oss/oss/common/images//banner/add_points_a.gif' id='point04Img' class="ptImg"/>
|
||||
<img class="ptShadow" src='/oss/oss/common/images//banner/banner03_shadow.gif' border='0' id='point04Shadow' />
|
||||
|
||||
<img class="ptSpacer" style='display:none' src='/oss/oss/common/images//spacer.gif' border="0" id='point04SpacerEnabled'
|
||||
onmouseover="MM_swapImage('point04Img','','/oss/oss/common/images//banner/add_points_b.gif',1); wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore()" onclick='checkpoints(4-1)'>
|
||||
|
||||
<img class="ptSpacer" style='display:none' src='/oss/oss/common/images//banner/point_gray.png' border="0" id='point04SpacerDisabled'>
|
||||
|
||||
<span class="ptValue addpoints" id='point04Value'></span>
|
||||
<span class="wiiPtWords contentsGray bold">Wii Points</span>
|
||||
<span class="ptCost contentsBlackM"><span id='point04Cost'></span>
|
||||
<span id='point04Currency'></span></span>
|
||||
</div>
|
||||
<div id="text_AU_lower" class="contentsBlackS">
|
||||
Please note that your credit card provider may impose a foreign transaction fee on this purchase. Please contact your provider for details.
|
||||
</div>
|
||||
|
||||
<div id="errorMsg">
|
||||
<div align="center" id="warningMsg" style="display:none" class="contentsBlackM"><table height="100%"><tr><td align="left" valign="middle">
|
||||
Some options above are not available to you at this time because you cannot purchase Wii Points that will cause you to have more than <span id="warnMaximumPoints"></span> Wii Points in your account.</td></tr></table></div>
|
||||
|
||||
<div align="center" id="pointsUnavailable" style="display:none" class="contentsBlackM"><table height="100%"><tr><td align="left" valign="middle">
|
||||
Credit cards cannot be used at this time.</td></tr></table></div>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
693
jsp/P_07.jsp
Normal file
693
jsp/P_07.jsp
Normal file
|
|
@ -0,0 +1,693 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* P_07: Card Type Selection */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:36;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:78px;
|
||||
top:119px;
|
||||
width:454px;
|
||||
height:18px;
|
||||
z-index:35;
|
||||
}
|
||||
|
||||
#card01 {
|
||||
position:absolute;
|
||||
left:60px;
|
||||
top:202px;
|
||||
width:148px;
|
||||
height:105px;
|
||||
z-index:28;
|
||||
}
|
||||
#card02 {
|
||||
position:absolute;
|
||||
top:202px;
|
||||
width:148px;
|
||||
height:105px;
|
||||
z-index:28;
|
||||
}
|
||||
#card03 {
|
||||
position:absolute;
|
||||
top:202px;
|
||||
width:148px;
|
||||
height:105px;
|
||||
z-index:28;
|
||||
}
|
||||
.cardSpacer{
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:130px;
|
||||
z-index:30;
|
||||
}
|
||||
.cardImg {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
border:0;
|
||||
z-index:26;
|
||||
}
|
||||
.cardShadow {
|
||||
position:absolute;
|
||||
left:-10px;
|
||||
top:-10px;
|
||||
width:168px;
|
||||
height:130px;
|
||||
z-index:25;
|
||||
}
|
||||
.cardText {
|
||||
/* This includes text03-01, text04-01, and text05-01 */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:108px;
|
||||
width:148px;
|
||||
z-index:29;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var companyNames = new Array("J", "M", "V");
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
document.getElementById("currentBalance").innerHTML = getBalance();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/card01_b.gif',
|
||||
'/oss/oss/common/images//banner/card02_b.gif',
|
||||
'/oss/oss/common/images//banner/card03_b.gif',
|
||||
'/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif');
|
||||
setUnderButtonL(true, "Back", "javascript:showPage('P_06.jsp');", "wiiCancelSound();");
|
||||
r = ec.getDeviceInfo();
|
||||
if(r.language == 'ja'){
|
||||
document.getElementById("card02").style.left = '227px';
|
||||
document.getElementById("card03").style.left = '393px';
|
||||
}else{
|
||||
document.getElementById("card01").style.display = 'none';
|
||||
document.getElementById("card02").style.left = '91px';
|
||||
document.getElementById("card03").style.left = '361px';
|
||||
}
|
||||
disableWiiPointButton();
|
||||
}
|
||||
|
||||
|
||||
function select(index)
|
||||
{
|
||||
if(index >= 0 && index < companyNames.length) {
|
||||
wiiSelectSound();
|
||||
var form = document.createElement("form");
|
||||
form.action = getSecureUrl("P_08.jsp");
|
||||
// form.method = "post";
|
||||
form.id = "ccardSelectForm";
|
||||
form.innerHTML = "";
|
||||
form.innerHTML += '<div id="commonFields"></div>';
|
||||
form.innerHTML += '<input type="hidden" name="pointsValue" value="' + '<%= request.getParameter("pointsValue") %>' + '"/>';
|
||||
form.innerHTML += '<input type="hidden" name="pointsCost" value="' + '<%= request.getParameter("pointsCost") %>' + '"/>';
|
||||
form.innerHTML += '<input type="hidden" name="itemId" value="' + '<%= request.getParameter("itemId") %>' + '"/>';
|
||||
form.innerHTML += '<input type="hidden" name="currency" value="' + '<%= request.getParameter("currency") %>' + '"/>';
|
||||
form.innerHTML += '<input type="hidden" name="cardType" value="' + companyNames[index] + '"/>';
|
||||
document.body.appendChild(form);
|
||||
initCommonFields("commonFields");
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="card01" name="cardJCB" >
|
||||
<img src='/oss/oss/common/images//spacer.gif' class='cardSpacer' id="card01Spacer"
|
||||
onmouseout="MM_swapImgRestore()" onclick="select(0)"
|
||||
onmouseover="MM_swapImage('card01Img','','/oss/oss/common/images//banner/card01_b.gif',1); wiiFocusSound();"/>
|
||||
<img src='/oss/oss/common/images//banner/card01_a.gif' class='cardImg' id="card01Img"/>
|
||||
<img id='card01Shadow' class='cardShadow' src='/oss/oss/common/images//banner/banner03_shadow.gif' />
|
||||
<div id="text03-01" class="cardText buttonTextBlackM">JCB</div>
|
||||
</div>
|
||||
|
||||
<div id="card02" name="cardMC" >
|
||||
<img src='/oss/oss/common/images//spacer.gif' class='cardSpacer' id="card02Spacer"
|
||||
onmouseout="MM_swapImgRestore()" onclick="select(1)"
|
||||
onmouseover="MM_swapImage('card02Img','','/oss/oss/common/images//banner/card02_b.gif',1); wiiFocusSound();"/>
|
||||
<img src='/oss/oss/common/images//banner/card02_a.gif' class='cardImg' id="card02Img"/>
|
||||
<img id='card02Shadow' class='cardShadow' src='/oss/oss/common/images//banner/banner03_shadow.gif' />
|
||||
<div id="text04-01" class="cardText buttonTextBlackM">MasterCard</div>
|
||||
</div>
|
||||
|
||||
<div id="card03" name="cardVisa" >
|
||||
<img src='/oss/oss/common/images//spacer.gif' class='cardSpacer' id="card03Spacer"
|
||||
onmouseout="MM_swapImgRestore()" onclick="select(2)"
|
||||
onmouseover="MM_swapImage('card03Img','','/oss/oss/common/images//banner/card03_b.gif',1); wiiFocusSound();"/>
|
||||
<img src='/oss/oss/common/images//banner/card03_a.gif' class='cardImg' id="card03Img" />
|
||||
<img id='card03Shadow' class='cardShadow' src='/oss/oss/common/images//banner/banner03_shadow.gif' />
|
||||
<div id="text05-01" class="cardText buttonTextBlackM">Visa</div>
|
||||
</div>
|
||||
|
||||
<div id="text01-01" class="titleBlackL">Wii Points Purchase</div>
|
||||
<div id="text02-01" class="catalogTitleBlack_02" align="left">Please select the credit-card type you would like to use to buy Wii Points.</div>
|
||||
</body>
|
||||
</html>
|
||||
1495
jsp/P_08.jsp
Normal file
1495
jsp/P_08.jsp
Normal file
File diff suppressed because it is too large
Load diff
994
jsp/P_12.jsp
Normal file
994
jsp/P_12.jsp
Normal file
|
|
@ -0,0 +1,994 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<%@ page buffer="8192kb" autoFlush="true" %>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return "<%= request.getMethod() %>"
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = '';
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'https://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
ucsUrl = 'https://oss-auth.blinklab.com/oss/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* P_11: Invalid Credit Card Input */
|
||||
/* Errors handled in error.css */
|
||||
/* P_12: Usage Agreement */
|
||||
|
||||
#P_12-text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:36;
|
||||
}
|
||||
#P_12-text02-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:94px;
|
||||
width:542px;
|
||||
height:81px;
|
||||
z-index:28;
|
||||
}
|
||||
|
||||
#pointFrame01 {
|
||||
position:absolute;
|
||||
left:86px;
|
||||
top:180px;
|
||||
width:439px;
|
||||
height:178px;
|
||||
z-index:35;
|
||||
}
|
||||
|
||||
|
||||
#top01 {position:absolute; left:64px; top:12px; width:130px; height:28px; z-index:36 }
|
||||
#top02 {position:absolute; left:142px; top:0px; width:78px; height:100%; z-index:36 }
|
||||
#top03 {position:absolute; left:87px; top:0px; width:90px; height:100%; z-index:36 }
|
||||
|
||||
#down01L {position:absolute; left: 26px; top:56px; width:211px; height:28px; z-index:36 }
|
||||
#down01R {position:absolute; left:218px; top: 0px; width:170px; height:100%; z-index:36 }
|
||||
|
||||
#down02L {position:absolute; left: 26px; top:82px; width:211px; height:28px; z-index:36 }
|
||||
#down02R {position:absolute; left:218px; top: 0px; width:170px; height:100%; z-index:36 }
|
||||
|
||||
#down03L {position:absolute; left: 26px; top:114px; width:211px; height:28px; z-index:36 }
|
||||
#down03R {position:absolute; left:218px; top: 0px; width:170px; height:100%; z-index:36 }
|
||||
|
||||
#taxLayer {
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
left:244px;
|
||||
top:120px;
|
||||
width:170px;
|
||||
height:16px;
|
||||
z-index:40;
|
||||
}
|
||||
|
||||
#progressDiv {
|
||||
position:absolute;
|
||||
left:125px;
|
||||
top:200px;
|
||||
width:360px;
|
||||
height:121px;
|
||||
z-index:35;
|
||||
}
|
||||
|
||||
#coolingoff {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:94px;
|
||||
width:542px;
|
||||
height:81px;
|
||||
z-index:28;
|
||||
}/* P_13: Waiting Authentication */
|
||||
|
||||
#P_13-text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:36;
|
||||
}
|
||||
#P_13-text02-01 {
|
||||
position:absolute;
|
||||
left:153px;
|
||||
top:91px;
|
||||
width:333px;
|
||||
height:46px;
|
||||
z-index:34;
|
||||
}
|
||||
/* P_14: Authentication Errors */
|
||||
/* Errors handled in error.css */
|
||||
</style>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
var refillValue = '<%= request.getParameter("points") %>';
|
||||
console.log('points::<%= request.getParameter("points") %>');
|
||||
console.log('contentType:::<%= request.getContentType() %>')
|
||||
console.log("refillValue::"+refillValue);
|
||||
//var refillValue = '0';
|
||||
|
||||
var maxBalance;
|
||||
|
||||
var defaultError = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
var AdditionMessage=false;
|
||||
|
||||
|
||||
|
||||
function next()
|
||||
{
|
||||
// start processing ccard
|
||||
trace("next()")
|
||||
var payment = getPayment();
|
||||
trace("got payment" + payment);
|
||||
disableTopHelpElements();
|
||||
trace("disabled top help elements");
|
||||
trace("calling buyPoints");
|
||||
buyPoints(payment);
|
||||
}
|
||||
|
||||
function returnToPurchase()
|
||||
{
|
||||
wiiEnableHRP();
|
||||
showPage('P_06.jsp');
|
||||
}
|
||||
|
||||
function getPayment()
|
||||
{
|
||||
// Credit card info
|
||||
var cc = new ECCreditCardEncryptedPayment("1111");
|
||||
cc.lastFourDigits = '1111';
|
||||
|
||||
// var cc = new ECCreditCardPayment();
|
||||
// cc.number = '';
|
||||
return cc;
|
||||
}
|
||||
|
||||
function getPrice() // needed for both
|
||||
{
|
||||
var amount = '<%= request.getParameter("price") %>.00'
|
||||
var currency = '<%= request.getParameter("currency") %>'
|
||||
// var amount = '';
|
||||
// var currency = '';
|
||||
// NOTE: For Credit Card, we use amount returned by NOA (which does not include tax)
|
||||
|
||||
return new ECPrice (amount, currency);
|
||||
}
|
||||
|
||||
function getRefillPoints() // needed for both
|
||||
{
|
||||
return '<%= request.getParameter("points") %>';
|
||||
// return '';
|
||||
}
|
||||
|
||||
function getTransactionID()
|
||||
{
|
||||
var info = ec.getPurchaseInfo();
|
||||
trace("info : " + info);
|
||||
if(info) {
|
||||
return extractFromXML(info, "transId");
|
||||
}
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
function buyPoints(payment)
|
||||
{
|
||||
// Points to buy
|
||||
var pointsToBuy = "1000";
|
||||
|
||||
// Price
|
||||
var price = getPrice();
|
||||
|
||||
// Request
|
||||
var itemId = '<%= request.getParameter("itemId") %>';
|
||||
//var itemId = '';
|
||||
//var payment = getPayment();
|
||||
|
||||
// begin ccard
|
||||
var taxes = null;
|
||||
var discount = null;
|
||||
var purchaseInfo = "purchaseInfo";
|
||||
|
||||
//end ccard
|
||||
|
||||
//showPage_P13();
|
||||
var progress = ec.purchasePoints(pointsToBuy, itemId, price, payment, taxes, purchaseInfo, discount); // both
|
||||
|
||||
opName = "Purchase Points";
|
||||
opDesc = "Purchasing " + pointsToBuy + " Points ";
|
||||
finishOp(opName, opDesc, progress, "onBuyPointsDone");
|
||||
}
|
||||
|
||||
function getErrorCode()
|
||||
{
|
||||
|
||||
return "206604";
|
||||
|
||||
}
|
||||
|
||||
function getNOACode()
|
||||
{
|
||||
var purchaseInfo = ec.getPurchaseInfo();
|
||||
var code;
|
||||
|
||||
if (purchaseInfo != null) {
|
||||
trace("got purchase info " + purchaseInfo);
|
||||
code = extractFromXML(purchaseInfo, "vcMessage");
|
||||
|
||||
} else {
|
||||
trace("didn't get purchase info");
|
||||
// try seeing if error is available
|
||||
code = getErrorCode();
|
||||
}
|
||||
|
||||
return code;
|
||||
}
|
||||
|
||||
function displayError(code, txt)
|
||||
{
|
||||
hideElement("pointFrame01");
|
||||
hideElement("P_12-text02-01");
|
||||
hideElement("P_13-text02-01");
|
||||
hideElement("progressDiv");
|
||||
setErrorMsg(code, txt);
|
||||
|
||||
// setUnderButton(true, "OK", "javascript:returnToPurchase();", "wiiCancelSound()");
|
||||
setUnderButton(true, "OK", "javascript:shop.retry();", "wiiCancelSound()");
|
||||
setUnderButtonR(false);
|
||||
setUnderButtonL(false);
|
||||
|
||||
document.getElementById("constElements").style.display='none';
|
||||
document.getElementById("giftline").style.display='';
|
||||
document.getElementById("giftcurrentBalance").innerHTML = getBalance();
|
||||
}
|
||||
|
||||
function handleP_11()
|
||||
{
|
||||
// should not be from progress; avoid checking
|
||||
showElement("P_13-text01-01");
|
||||
|
||||
var code, tempError, errorTxt = defaultError;
|
||||
|
||||
code = getErrorCode();
|
||||
if((code == null || code == ""))
|
||||
code = 0;
|
||||
|
||||
tempError = getNOAError(parseInt(code));
|
||||
if(tempError != null && tempError != "") {
|
||||
errorTxt = tempError;
|
||||
}
|
||||
|
||||
//displayError(code, errorTxt);
|
||||
return false;
|
||||
}
|
||||
|
||||
function handleP_14(progressData)
|
||||
{
|
||||
var code, tempCode;
|
||||
var errorTxt = defaultError;
|
||||
var tempError;
|
||||
enableTopHelpElements();
|
||||
if(progressData) {
|
||||
code = getOssErrorCode(progressData);
|
||||
if (code != PAS_ERROR_CODE) {
|
||||
tempError = getOssErrorMsg(progressData);
|
||||
if(tempError != null && tempError != "") {
|
||||
errorTxt = tempError;
|
||||
}
|
||||
}
|
||||
else {
|
||||
tempCode = getNOACode();
|
||||
if((tempCode != null && tempCode != "")) {
|
||||
code = tempCode;
|
||||
}
|
||||
|
||||
tempError = getNOAError(parseInt(code));
|
||||
if(tempError != null && tempError != "") {
|
||||
errorTxt = tempError;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
coe = OSS_ERROR_NO_PROGRESS;
|
||||
}
|
||||
|
||||
displayError(code, errorTxt);
|
||||
}
|
||||
|
||||
|
||||
function onBuyPointsDone(progress)
|
||||
{
|
||||
wiiEnableHRP();
|
||||
showResult (progress, opName, opDesc);
|
||||
|
||||
if(progress.status >= 0) {
|
||||
ec.setSessionValue("transId", getTransactionID());
|
||||
ec.setSessionValue("refilled", getRefillPoints());
|
||||
ec.setSessionValue("playAddPoint", "true");
|
||||
showPage('P_15.jsp');
|
||||
}
|
||||
else {
|
||||
handleP_14(progress);
|
||||
}
|
||||
}
|
||||
|
||||
function showPage_P13()
|
||||
{
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
hideElement("P_12-text01-01");
|
||||
hideElement("P_12-text02-01");
|
||||
hideElement("pointFrame01");
|
||||
hideElement("coolingoff");
|
||||
showElement("P_13-text01-01");
|
||||
showElement("P_13-text02-01");
|
||||
}
|
||||
|
||||
function showPage_P12()
|
||||
{
|
||||
trace("showPage_12 in");
|
||||
document.getElementById("pointsValue").innerHTML = refillValue;
|
||||
trace("Changing cost and tax innerHTMLs")
|
||||
document.getElementById("cost").innerHTML = '$0.00';
|
||||
document.getElementById("tax").innerHTML = '$0.00';
|
||||
trace("Changing total innerHTML")
|
||||
document.getElementById("total").innerHTML = '$0.00';
|
||||
trace("showElement(\"P_12-text01-01\")");
|
||||
showElement("P_12-text01-01");
|
||||
trace("wiiEnableHRP")
|
||||
wiiEnableHRP();
|
||||
setUnderButtonL(true, "Yes", "javascript:next()", "wiiSelectSound();");
|
||||
setUnderButtonR(true, "No", "javascript:returnToPurchase()", "wiiCancelSound();");
|
||||
}
|
||||
|
||||
function nextAction()
|
||||
{
|
||||
var retValue;
|
||||
if (AdditionMessage){
|
||||
//retValue = "javascript:toggleMessage()";
|
||||
retValue = "javascript:next()";
|
||||
}else{
|
||||
retValue = "javascript:next()";
|
||||
}
|
||||
return retValue;
|
||||
}
|
||||
|
||||
function toggleMessage()
|
||||
{
|
||||
document.getElementById("P_12-text02-01").style.display = "none";
|
||||
document.getElementById("pointFrame01").style.display = "none";
|
||||
document.getElementById("coolingoff").style.display = "";
|
||||
setUnderButtonL(true, "(N/A)", "javascript:next()", "wiiSelectSound()");
|
||||
setUnderButtonR(true, "(N/A)", "javascript:returnToPurchase()", "wiiCancelSound();");
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
var errors = 0;
|
||||
trace('itemId::::<%= request.getParameter("itemId") %>')
|
||||
initPageCommon();
|
||||
disableWiiPointButton();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif');
|
||||
document.getElementById("currentBalance").innerHTML = getBalance();
|
||||
|
||||
var maxBalance = 20000;
|
||||
|
||||
trace("paymentMethodId:::::"+'');
|
||||
trace("cardEncrypted:::::"+'');
|
||||
trace("cardExpMM:::::"+'');
|
||||
trace("cardExpYY:::::"+'');
|
||||
trace("cardNumber:::::"+'');
|
||||
trace("cardVfyVal:::::"+'');
|
||||
trace("itemId:::::"+'<%= request.getParameter("itemId") %>');
|
||||
trace("pointsValue:::::"+'<%= request.getParameter("points") %>');
|
||||
trace("pointsCost:::::"+'<%= request.getParameter("price") %>');
|
||||
trace("currency:::::"+'<%= request.getParameter("currency") %>');
|
||||
trace("cardType:::::"+'<%= request.getParameter("cardType") %>');
|
||||
|
||||
trace('maxPointcheck');
|
||||
|
||||
trace('in test not empty errors:::::' + errors);
|
||||
errors = handleP_11();
|
||||
trace('in test not empty errors2:::::' + errors);
|
||||
|
||||
showPage_P12();
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage()">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><div id="giftline" style="display: none;">
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point">
|
||||
<div align="center" class="wiiPoint"><span id="giftcurrentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="P_12-text01-01" class="titleBlackM" style="display:none">Wii Points Purchase Confirmation</div>
|
||||
<div id="P_12-text02-01" class="catalogTitleBlack_02">Wii Points have no monetary value and cannot be redeemed for cash. All Wii Points and software downloads are only for use on a single Wii console and are non-refundable and non-transferable.</div>
|
||||
<div id="pointFrame01">
|
||||
<img src="/oss/oss/common/images//banner/point_frame02.gif" width="100%" height="100%" />
|
||||
|
||||
<div id="topArea">
|
||||
<div id="top01" class="buttonTextBlackM">Wii Points<div id="top02" align="right"><span class="buttonTextBlackM" id="pointsValue"><%= request.getParameter("points") %></span>
|
||||
<div id="top03" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="lowerArea">
|
||||
<div id="amountArea">
|
||||
<div id="down01L">
|
||||
<div align="center" class="contentsBlueM">Amount:</div>
|
||||
<div id="down01R" align="center"><span class="contentsBlueM" id="cost"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="taxArea">
|
||||
<div id="down02L">
|
||||
<div align="center" class="contentsBlueM">Tax:</div>
|
||||
<div id="down02R" align="center"><span class="contentsBlueM" id="tax"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="totalArea">
|
||||
<div id="down03L">
|
||||
<div align="center" class="warningRed">Total:</div>
|
||||
<div id="down03R" align="center"><span class="warningRed" id="total"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="progressDiv">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="Progress">
|
||||
<div id="dynDiv1" class="contentsBlackS"></div>
|
||||
<div id="dynDiv2" class="contentsBlackS"></div>
|
||||
<div id="errDiv" class="contentsBlackS"></div>
|
||||
</div></div>
|
||||
|
||||
<div id="P_13-text01-01" style="display:none" class="titleBlackL">Wii Points Purchase</div>
|
||||
<div id="P_13-text02-01" style="display:none">
|
||||
<div align="left" class="buttonTextBlackM">Please wait while we authorize your credit card...</div>
|
||||
</div>
|
||||
|
||||
<div id="coolingoff" class="catalogTitleBlack_02" style="display: none;">(N/A)</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
687
jsp/P_15.jsp
Normal file
687
jsp/P_15.jsp
Normal file
|
|
@ -0,0 +1,687 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://oss-auth.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://oss-auth.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* P_15: New Wii Points Balance */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:23;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:110px;
|
||||
top:100px;
|
||||
width:390px;
|
||||
height:48px;
|
||||
z-index:20;
|
||||
}
|
||||
|
||||
#pointFrame01 {
|
||||
position:absolute;
|
||||
left:60px;
|
||||
top:162px;
|
||||
width:490px;
|
||||
height:121px;
|
||||
z-index:35;
|
||||
}
|
||||
#AddPoint {
|
||||
position:absolute;
|
||||
left:13px;
|
||||
top:17px;
|
||||
width:240px;
|
||||
height:28px;
|
||||
z-index:36;
|
||||
}
|
||||
#pointU {
|
||||
position:absolute;
|
||||
left:240px;
|
||||
top:17px;
|
||||
width:215px;
|
||||
height:28px;
|
||||
z-index:36;
|
||||
}
|
||||
#NowPoint {
|
||||
position:absolute;
|
||||
left:13px;
|
||||
top:77px;
|
||||
width:240px;
|
||||
height:28px;
|
||||
z-index:36;
|
||||
}
|
||||
#pointD {
|
||||
position:absolute;
|
||||
left:240px;
|
||||
top:77px;
|
||||
width:215px;
|
||||
height:28px;
|
||||
z-index:36;
|
||||
}
|
||||
</style>
|
||||
<script language="JavaScript" type="text/JavaScript">
|
||||
<!--
|
||||
|
||||
var refilled;
|
||||
var id;
|
||||
var type;
|
||||
|
||||
function gotoTransaction()
|
||||
{
|
||||
showReceipt(id, type);
|
||||
}
|
||||
|
||||
function gotoHome()
|
||||
{
|
||||
lastUrl = ec.getSessionValue("history.P_15.-1");
|
||||
ec.setSessionValue("history.P_15.-1", null);
|
||||
if (lastUrl != null) {
|
||||
trace("gotoHome: last url was " + lastUrl);
|
||||
top.location=lastUrl;
|
||||
} else {
|
||||
showHome();
|
||||
}
|
||||
}
|
||||
function refreshPoints(doneFunc) {
|
||||
//This function was added 3-10-2025 by Ocarina
|
||||
var progress = ec.refreshCachedBalance();
|
||||
opName = "Refresh points";
|
||||
opDesc = "Refreshing points after points purchase";
|
||||
finishOp(opName, opDesc, progress, doneFunc);
|
||||
}
|
||||
function onRefreshPointsDone(progress) {
|
||||
showResult(progress, opName, opDesc);
|
||||
if (progress.status >= 0) {
|
||||
trace("Refresh successful and user has bought points!");
|
||||
} else {
|
||||
trace("Uh oh! Something went wrong and the user couldn't get points.");
|
||||
}
|
||||
}
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
refreshPoints("onRefreshPointsDone");
|
||||
refilled=ec.getSessionValue("refilled");
|
||||
id = ec.getSessionValue("transId");
|
||||
type = ec.getSessionValue("transType");
|
||||
if(refilled == null || refilled == "")
|
||||
refilled = 0;
|
||||
document.getElementById("addedPoints").innerHTML = refilled;
|
||||
document.getElementById("addedPts").innerHTML = refilled;
|
||||
document.getElementById("newBalance").innerHTML = getBalance();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif');
|
||||
disableWiiPointButton();
|
||||
if(id != null && id != "") {
|
||||
setUnderButtonR(true, "View receipt",
|
||||
"javascript:gotoTransaction()", "if(snd) snd.playSE(cSE_Decide);");
|
||||
}
|
||||
else {
|
||||
setUnderButtonR(false);
|
||||
}
|
||||
setUnderButton(true, "OK",
|
||||
'javascript:gotoHome()',"if(snd) snd.playSE(cSE_Decide);");
|
||||
|
||||
if(snd != null) {
|
||||
var playSnd=ec.getSessionValue("playAddPoint");
|
||||
if(playSnd == "true") {
|
||||
snd.playSE( cSE_AddPoint );
|
||||
ec.setSessionValue("playAddPoint", "false");
|
||||
}
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage()">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo'>
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="pointFrame01">
|
||||
<img src='/oss/oss/common/images//banner/point_frame01.gif'>
|
||||
<div id="AddPoint" align="right" class="buttonTextBlackM">Wii Points Added:</div>
|
||||
<div id="pointU" align="right">
|
||||
<b><span class="buttonTextBlackM" id="addedPts"></span></b>
|
||||
<span class="buttonTextBlackM"> Wii Points</span>
|
||||
</div>
|
||||
|
||||
<div id="NowPoint" align="right" class="contentsBlueM">New Wii Points Balance:</div>
|
||||
<div id="pointD" align="right">
|
||||
<b><span class="contentsBlueM" id="newBalance"></span></b>
|
||||
<span class="contentsBlueM"> Wii Points</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="text01-01" align="left" class="titleBlackL">Add Wii Points</div>
|
||||
<div id="text02-01" class="catalogTitleBlack">
|
||||
<span id="addedPoints"></span> Wii Points were added to your WiiMart account!</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
822
jsp/P_17.jsp
Normal file
822
jsp/P_17.jsp
Normal file
|
|
@ -0,0 +1,822 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Wiiショッピングチャンネル</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "インターネットに接続する際にエラーが発生しました。インターネットの設定が正しく行われているか、Wii本体設定の「インターネット」をご確認ください。";
|
||||
a[-(EC_ERROR_ECARD)] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[-(EC_ERROR_REGISTER)] = "このWii番号は、Wiiショッピングチャンネルに<BR>登録されていません。";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "インターネットに接続する際にエラーが発生しました。<BR>Wii Uメニューの本体設定で「インターネット」の<BR>設定内容をご確認ください。";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "インターネットに接続する際にエラーが発生しました。インターネットの設定が正しく行われているか、Wii本体設定の「インターネット」をご確認ください。";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "エラーコード: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[618] = "このニンテンドープリペイド番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ニンテンドープリペイド番号をもういちどご確認ください。";
|
||||
a[621] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[623] = "このソフトはすでにお試し済みです。再度お試しすることはできません。";
|
||||
a[642] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[643] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[644] = "この本体ではクレジットカードはご利用になれません。<BR><BR>詳細は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[645] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[621] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[626] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[625] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[706] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[707] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "ニンテンドーポイントの処理中にエラーが発生しました。もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[811] = "このニンテンドープリペイド番号は有効期限が切れています。";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "入力されたニンテンドープリペイド番号は、すでに登録済みです。";
|
||||
a[819] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
|
||||
a[826] = "ただいまサーバーが大変混み合っています。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[829] = "ただいまサーバーが大変混み合っています。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[830] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[831] = "このニンテンドープリペイド番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ニンテンドープリペイド番号をもういちどご確認ください。";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "このWii番号は、Wiiショッピングチャンネルに<BR>登録されていません。";
|
||||
a[903] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[928] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[958] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[942] = "システムの障害またはメンテナンスにより、現在会員IDの登録ができません。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[943] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
|
||||
a[941] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1402] = "会員IDまたはパスワードが違います。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1403] = "入力された会員IDは登録することができません。<BR><BR>詳細は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1499] = "クラブニンテンドーシステムがメンテナンス中のため、現在会員IDの登録ができません。<BR><BR>メンテナンス終了まで、しばらくお待ちください。";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "このソフト引換番号は有効期限が切れています。";
|
||||
a[1611] = "入力されたソフト引換番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[1612] = "このソフト引換番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ソフト引換番号をもういちどご確認ください。";
|
||||
a[1613] = "入力されたソフト引換番号に該当するソフトは、現在配信されておりません。";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "システムの障害またはメンテナンスにより、現在会員IDの登録ができません。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "(N/A)";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[NOA_ERROR_BillingAddress] = "入力された住所が正しくありません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCardType] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidExpDate] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "郵便番号と、Wii本体の国設定が一致していません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "クレジットカード情報の確認ができませんでした。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[NOA_ERROR_TryAgainLater] = "クレジットカード情報の確認ができませんでした。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "クレジットカードの有効期限が正しくありません。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "入力された住所情報とカードの請求書情報が一致しません。<BR><BR>入力内容を確認して、もう一度お試しください。";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "3ケタのセキュリティコードを正しく入力してください。";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_01: Add Wii Points page */
|
||||
#P_01_text01-01 {
|
||||
/* pageHeading, formerly title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:28;
|
||||
}
|
||||
#P_01_text02-01 {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:77px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#P_01_WiiU {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:85px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#link {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:31;
|
||||
}
|
||||
#banner {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:27;
|
||||
}
|
||||
#word {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
width:187;
|
||||
height:55;
|
||||
z-index:29;
|
||||
}
|
||||
#text03-01 {
|
||||
/* formerly main text */
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:108px;
|
||||
width:330px;
|
||||
height:90px;
|
||||
z-index:22;
|
||||
}
|
||||
#Question {
|
||||
position:absolute;
|
||||
left:392px;
|
||||
top:100px;
|
||||
z-index:27;
|
||||
}
|
||||
#card01 {
|
||||
/* prepaid card */
|
||||
position:absolute;
|
||||
left:76px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
#card02 {
|
||||
/* credit card */
|
||||
position:absolute;
|
||||
left:347px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
.cardspacer {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.cardbannershadow{
|
||||
position:absolute;
|
||||
left:-13px;
|
||||
top:-10px;
|
||||
width:213px;
|
||||
height:106px;
|
||||
z-index:20;
|
||||
}
|
||||
.cardbanner {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:21;
|
||||
}
|
||||
#text04-01 {
|
||||
/* prepaid card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
#text05-01 {
|
||||
/* credit card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
|
||||
#creditCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:204px;
|
||||
width:176px;
|
||||
height:58px;
|
||||
z-index:78;
|
||||
}
|
||||
#pointCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:105px;
|
||||
width:171px;
|
||||
height:90px;
|
||||
z-index:79;
|
||||
}
|
||||
|
||||
#P_01_credit {
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
#regButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:152px;
|
||||
width:462px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.regButton_nonfocus{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
clip:rect(0px 462px 106px 0px);
|
||||
}
|
||||
|
||||
.regButton_focus{
|
||||
position:absolute;
|
||||
top:-106px;
|
||||
clip:rect(106px 462px 212px 0px);
|
||||
}
|
||||
|
||||
#ccButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
#mcButton{
|
||||
position:absolute;
|
||||
left:305px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.cc_mcButton_nonfocus{
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:-212px;
|
||||
clip:rect(212px 230px 318px 0px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.cc_mcButton_focus{
|
||||
position:absolute;
|
||||
left:-232px;
|
||||
top:-212px;
|
||||
clip:rect(212px 462px 318px 232px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
<!--
|
||||
body {
|
||||
background-image: url(/oss/oss/common/images//back/P_17_other_payments_bg.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
function gotoPrecard()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_18.jsp');
|
||||
}
|
||||
|
||||
function gotoConv()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_19.jsp');
|
||||
}
|
||||
|
||||
function gotoDocomo()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_21.jsp');
|
||||
}
|
||||
|
||||
function gotoAu()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_22.jsp');
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/P_17_prepayed_b.png',
|
||||
'/oss/oss/common/images//banner/P_17_conv_b.png',
|
||||
'/oss/oss/common/images//banner/P_17_docomo_b.png',
|
||||
'/oss/oss/common/images//banner/P_17_au_b.png');
|
||||
disableWiiPointButton();
|
||||
setUnderButtonL(true, "もどる", "javascript:showPage('P_01.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wiiポイント</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="P_01_text01-01" class="titleBlackM" >ニンテンドープリペイド番号の購入方法</div>
|
||||
<div id="P_01_text02-01">
|
||||
<div align="left" class="catalogTitleBlack_02">下記の場所でニンテンドープリペイド番号を購入できます。</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="precardText" style="position:absolute; left:28px; top:160px; width:240px; height:18px; z-index:33;">
|
||||
<div align="left" class="buttonTextBlackM"><table height="100%"><tr><td align="left" valign="middle">Wii販売店など</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
<div id="convText" style="position:absolute; left:323px; top:160px; width:240px; height:18px; z-index:33;">
|
||||
<div align="left" class="buttonTextBlackM"><table height="100%"><tr><td align="left" valign="middle">コンビニエンスストア</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
<div id="precardButton" style="position:absolute; left:32px; top:195px; width:250px; height:95px;">
|
||||
<div id="precardBanner" style="position:absolute; left:0px; top:0px; width:250px; height:95px; z-index:32; ">
|
||||
<img src="/oss/oss/common/images//banner/P_17_prepayed_a.png" width="250" height="95" id="precardImage3" /></div>
|
||||
<div id="precardSpacer" style="position:absolute; left:10px; top:10px; width:0px; height:0px; z-index:35; ">
|
||||
<a id="precardAnchor" href="javascript:gotoPrecard()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="230" height="75" border="0" id="precardImage2" onmouseover="MM_swapImage('precardImage3','','/oss/oss/common/images//banner/P_17_prepayed_b.png',1);wiiFocusSound();" onmouseout="MM_swapImgRestore()" onclick="wiiSelectSound();"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="convButton" style="position:absolute; left:327px; top:195px; width:250px; height:95px;">
|
||||
<div id="convBanner" style="position:absolute; left:0px; top:0px; width:250px; height:95px; z-index:32; ">
|
||||
<img src="/oss/oss/common/images//banner/P_17_conv_a.png" width="250" height="95" id="convImage3" /></div>
|
||||
<div id="convSpacer" style="position:absolute; left:10px; top:10px; width:0px; height:0px; z-index:35; ">
|
||||
<a id="convAnchor" href="javascript:gotoConv()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="230" height="75" border="0" id="convImage2" onmouseover="MM_swapImage('convImage3','','/oss/oss/common/images//banner/P_17_conv_b.png',1);wiiFocusSound();" onmouseout="MM_swapImgRestore()" onclick="wiiSelectSound();"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
724
jsp/P_18.jsp
Normal file
724
jsp/P_18.jsp
Normal file
|
|
@ -0,0 +1,724 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Wiiショッピングチャンネル</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "インターネットに接続する際にエラーが発生しました。インターネットの設定が正しく行われているか、Wii本体設定の「インターネット」をご確認ください。";
|
||||
a[-(EC_ERROR_ECARD)] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[-(EC_ERROR_REGISTER)] = "このWii番号は、Wiiショッピングチャンネルに<BR>登録されていません。";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "インターネットに接続する際にエラーが発生しました。<BR>Wii Uメニューの本体設定で「インターネット」の<BR>設定内容をご確認ください。";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "インターネットに接続する際にエラーが発生しました。インターネットの設定が正しく行われているか、Wii本体設定の「インターネット」をご確認ください。";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "エラーコード: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[618] = "このニンテンドープリペイド番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ニンテンドープリペイド番号をもういちどご確認ください。";
|
||||
a[621] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[623] = "このソフトはすでにお試し済みです。再度お試しすることはできません。";
|
||||
a[642] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[643] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[644] = "この本体ではクレジットカードはご利用になれません。<BR><BR>詳細は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[645] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[621] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[626] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[625] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[706] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[707] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "ニンテンドーポイントの処理中にエラーが発生しました。もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[811] = "このニンテンドープリペイド番号は有効期限が切れています。";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "入力されたニンテンドープリペイド番号は、すでに登録済みです。";
|
||||
a[819] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
|
||||
a[826] = "ただいまサーバーが大変混み合っています。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[829] = "ただいまサーバーが大変混み合っています。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[830] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[831] = "このニンテンドープリペイド番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ニンテンドープリペイド番号をもういちどご確認ください。";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "このWii番号は、Wiiショッピングチャンネルに<BR>登録されていません。";
|
||||
a[903] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[928] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[958] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[942] = "システムの障害またはメンテナンスにより、現在会員IDの登録ができません。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[943] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
|
||||
a[941] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1402] = "会員IDまたはパスワードが違います。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1403] = "入力された会員IDは登録することができません。<BR><BR>詳細は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1499] = "クラブニンテンドーシステムがメンテナンス中のため、現在会員IDの登録ができません。<BR><BR>メンテナンス終了まで、しばらくお待ちください。";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "このソフト引換番号は有効期限が切れています。";
|
||||
a[1611] = "入力されたソフト引換番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[1612] = "このソフト引換番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ソフト引換番号をもういちどご確認ください。";
|
||||
a[1613] = "入力されたソフト引換番号に該当するソフトは、現在配信されておりません。";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "システムの障害またはメンテナンスにより、現在会員IDの登録ができません。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "(N/A)";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[NOA_ERROR_BillingAddress] = "入力された住所が正しくありません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCardType] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidExpDate] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "郵便番号と、Wii本体の国設定が一致していません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "クレジットカード情報の確認ができませんでした。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[NOA_ERROR_TryAgainLater] = "クレジットカード情報の確認ができませんでした。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "クレジットカードの有効期限が正しくありません。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "入力された住所情報とカードの請求書情報が一致しません。<BR><BR>入力内容を確認して、もう一度お試しください。";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "3ケタのセキュリティコードを正しく入力してください。";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_02: Prepaid Card Input Page */
|
||||
#text01-01 {
|
||||
/* title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:50px;
|
||||
top:89px;
|
||||
width:500px;
|
||||
height:46px;
|
||||
z-index:31;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:30px;
|
||||
top:284px;
|
||||
width:548px;
|
||||
height:23px;
|
||||
z-index:30;
|
||||
}
|
||||
#numberfield {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:311px;
|
||||
width:408px;
|
||||
height:50px;
|
||||
z-index:27;
|
||||
}
|
||||
#pointcard {
|
||||
position:absolute;
|
||||
left:185px;
|
||||
top:163px;
|
||||
width:233px;
|
||||
height:119px;
|
||||
z-index:29;
|
||||
}
|
||||
input {
|
||||
font-family: "Wii NTLG Gothic JPN Regular";
|
||||
font-size: 24px;
|
||||
background-color: #FFFFFF;
|
||||
letter-spacing: 0.1em;
|
||||
text-align: left;
|
||||
padding-left: 18px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "USEU.gif"),
|
||||
new Array('EUR', "USEU.gif"));
|
||||
var cardPicDefault = "pointcard_back_USEU.gif";
|
||||
|
||||
function retry(errorName)
|
||||
{
|
||||
showElement("text02-01");
|
||||
showElement("pointcard");
|
||||
showElement("inputs");
|
||||
hideElement(errorName);
|
||||
P_02_setUnderButtons();
|
||||
}
|
||||
|
||||
function validate()
|
||||
{
|
||||
// Check prepaid cardnumber is 16-digit
|
||||
var form = document.cardForm;
|
||||
if(form != null) {
|
||||
var number=document.getElementById("cardNumber").value.toUpperCase();
|
||||
if((number==null) || number.length != 16 || number.match(/[^A-Z0-9]+/)) {
|
||||
hideElement("text02-01");
|
||||
hideElement("pointcard");
|
||||
hideElement("inputs");
|
||||
showElement("invalidNum");
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
setUnderButton(true, "もういちど", 'javascript:retry("invalidNum")', 'if(snd) snd.playSE(cSE_Cancel)');
|
||||
}
|
||||
else {
|
||||
initCommonFields('commonFields', true);
|
||||
document.getElementById("cardNumber").value=number;
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function P_02_setUnderButtons() {
|
||||
setUnderButtonL(true, "やめる", "javascript:showPage('P_17.jsp')", "if(snd) snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:validate()", "if(snd) snd.playSE(cSE_Decide)");
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
|
||||
function P_02_getRegionPic()
|
||||
{
|
||||
var imageName="pointcard_back_";
|
||||
var found=false;
|
||||
|
||||
|
||||
var code = 'JPN';
|
||||
for (i=0; i < cardPicCodes.length; i ++) {
|
||||
if(code == cardPicCodes[i][0]) {
|
||||
imageName+=cardPicCodes[i][1];
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
imageName = cardPicDefault;
|
||||
|
||||
return imageName;
|
||||
}
|
||||
|
||||
function P_02_setPointImage() {
|
||||
var imageName;
|
||||
var cardImg;
|
||||
|
||||
imageName=P_02_getRegionPic();
|
||||
cardImg = document.getElementById('pointcard');
|
||||
if(cardImg && imageName != '') {
|
||||
cardImg.src='/oss/oss/common/images//banner/' + imageName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif');
|
||||
setErrorMsg(OSS_ERROR_INVALID_PREPAID_NUMBER, '入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。');
|
||||
|
||||
document.getElementById("text02-01").style.left='29px';
|
||||
document.getElementById("text02-01").style.top='95px';
|
||||
document.getElementById("text02-01").style.width='550px';
|
||||
|
||||
P_02_setUnderButtons();
|
||||
disableWiiPointButton();
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wiiポイント</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01" class="titleBlackM">ニンテンドープリペイド番号の入力</div>
|
||||
<div id="text02-01" class="catalogTitleBlack_02">ニンテンドーポイントプリペイドカード(またはWiiポイントプリペイド<BR>カード)裏面のスクラッチを削ると記載されているニンテンドープリペイド<BR>番号(またはWiiポイント番号)を登録できます。</div>
|
||||
|
||||
<img id="pointcard"/>
|
||||
<div id="inputs">
|
||||
<div style="position:absolute; left:0px; top:0px; width:608px; height:456px; z-index:0; overflow: hidden;">
|
||||
<img src="/oss/oss/common/images//back/P_18_add_points_prepayed_bg.gif" width="608" height="456" border="0"/>
|
||||
</div>
|
||||
<div id="text03-01" align="center" class="contentsBlueM">16ケタのニンテンドープリペイド番号を入力してください。</div>
|
||||
<form id="cardForm" action="https://oss-auth.blinklab.com/oss/serv/P_04.jsp" method="post" name="cardForm">
|
||||
<div id="commonFields"></div>
|
||||
<div id="numberfield" align="center">
|
||||
<input type="text" class="inputStyle" name="cardNumber" id="cardNumber" maxlength="16" size="25" onmousedown="if(kbd) kbd.call( cKT_LNoLFS, 2 );"
|
||||
onmouseover="this.style.backgroundColor='#E6E6E6'; if(snd) snd.playSE( cSE_Forcus );" onmouseout="this.style.backgroundColor='#FFFFFF'"
|
||||
/>
|
||||
</div>
|
||||
<br><br>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="invalidNum" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
エラーコード: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
724
jsp/P_19.jsp
Normal file
724
jsp/P_19.jsp
Normal file
|
|
@ -0,0 +1,724 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Wiiショッピングチャンネル</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "インターネットに接続する際にエラーが発生しました。インターネットの設定が正しく行われているか、Wii本体設定の「インターネット」をご確認ください。";
|
||||
a[-(EC_ERROR_ECARD)] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[-(EC_ERROR_REGISTER)] = "このWii番号は、Wiiショッピングチャンネルに<BR>登録されていません。";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "インターネットに接続する際にエラーが発生しました。<BR>Wii Uメニューの本体設定で「インターネット」の<BR>設定内容をご確認ください。";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "インターネットに接続する際にエラーが発生しました。インターネットの設定が正しく行われているか、Wii本体設定の「インターネット」をご確認ください。";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "エラーコード: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[618] = "このニンテンドープリペイド番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ニンテンドープリペイド番号をもういちどご確認ください。";
|
||||
a[621] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[623] = "このソフトはすでにお試し済みです。再度お試しすることはできません。";
|
||||
a[642] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[643] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[644] = "この本体ではクレジットカードはご利用になれません。<BR><BR>詳細は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[645] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[621] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[626] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[625] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[706] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[707] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "ニンテンドーポイントの処理中にエラーが発生しました。もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[811] = "このニンテンドープリペイド番号は有効期限が切れています。";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "入力されたニンテンドープリペイド番号は、すでに登録済みです。";
|
||||
a[819] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
|
||||
a[826] = "ただいまサーバーが大変混み合っています。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[829] = "ただいまサーバーが大変混み合っています。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[830] = "入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[831] = "このニンテンドープリペイド番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ニンテンドープリペイド番号をもういちどご確認ください。";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "このWii番号は、Wiiショッピングチャンネルに<BR>登録されていません。";
|
||||
a[903] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[928] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[958] = "エラーが発生しました。<BR>しばらく待ってから、もういちどお試しください。<BR><BR>何度も同じエラーが表示される場合は<BR>任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[942] = "システムの障害またはメンテナンスにより、現在会員IDの登録ができません。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[943] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
|
||||
a[941] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "会員IDまたはパスワードが正しく入力されていません。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1402] = "会員IDまたはパスワードが違います。会員IDとパスワードを確認して、もういちどお試しください。<BR><BR>会員IDやパスワードをお忘れの場合は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1403] = "入力された会員IDは登録することができません。<BR><BR>詳細は、クラブニンテンドーホームページ上の「お問い合わせ」のページから、電話もしくはオンライン問い合わせ窓口でお問い合わせください。";
|
||||
a[1499] = "クラブニンテンドーシステムがメンテナンス中のため、現在会員IDの登録ができません。<BR><BR>メンテナンス終了まで、しばらくお待ちください。";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "このソフト引換番号は有効期限が切れています。";
|
||||
a[1611] = "入力されたソフト引換番号は正しくありません。<BR><BR>もういちどご確認ください。";
|
||||
a[1612] = "このソフト引換番号は、お客様がお住まいの地域ではご利用になれません。<BR><BR>念のため、ソフト引換番号をもういちどご確認ください。";
|
||||
a[1613] = "入力されたソフト引換番号に該当するソフトは、現在配信されておりません。";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "システムの障害またはメンテナンスにより、現在会員IDの登録ができません。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "(N/A)";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、任天堂テクニカルサポートセンターまでお問い合わせください。";
|
||||
a[NOA_ERROR_BillingAddress] = "入力された住所が正しくありません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCardType] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidExpDate] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "郵便番号と、Wii本体の国設定が一致していません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "クレジットカード情報の確認ができませんでした。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
a[NOA_ERROR_TryAgainLater] = "クレジットカード情報の確認ができませんでした。<BR><BR>しばらく待ってから、もういちどお試しください。";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "クレジットカードの有効期限が正しくありません。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "カード番号が無効です。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "お客様のクレジットカードはご利用になれません。<BR><BR>詳細は、クレジットカード会社にお問い合わせください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "クレジットカードの情報が正しく入力されていません。<BR><BR>入力内容を確認して、もういちどお試しください。";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "入力された住所情報とカードの請求書情報が一致しません。<BR><BR>入力内容を確認して、もう一度お試しください。";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "3ケタのセキュリティコードを正しく入力してください。";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_02: Prepaid Card Input Page */
|
||||
#text01-01 {
|
||||
/* title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:50px;
|
||||
top:89px;
|
||||
width:500px;
|
||||
height:46px;
|
||||
z-index:31;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:30px;
|
||||
top:284px;
|
||||
width:548px;
|
||||
height:23px;
|
||||
z-index:30;
|
||||
}
|
||||
#numberfield {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:311px;
|
||||
width:408px;
|
||||
height:50px;
|
||||
z-index:27;
|
||||
}
|
||||
#pointcard {
|
||||
position:absolute;
|
||||
left:185px;
|
||||
top:163px;
|
||||
width:233px;
|
||||
height:119px;
|
||||
z-index:29;
|
||||
}
|
||||
input {
|
||||
font-family: "Wii NTLG Gothic JPN Regular";
|
||||
font-size: 24px;
|
||||
background-color: #FFFFFF;
|
||||
letter-spacing: 0.1em;
|
||||
text-align: left;
|
||||
padding-left: 18px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "USEU.gif"),
|
||||
new Array('EUR', "USEU.gif"));
|
||||
var cardPicDefault = "pointcard_back_USEU.gif";
|
||||
|
||||
function retry(errorName)
|
||||
{
|
||||
showElement("text02-01");
|
||||
showElement("pointcard");
|
||||
showElement("inputs");
|
||||
hideElement(errorName);
|
||||
P_02_setUnderButtons();
|
||||
}
|
||||
|
||||
function validate()
|
||||
{
|
||||
// Check prepaid cardnumber is 16-digit
|
||||
var form = document.cardForm;
|
||||
if(form != null) {
|
||||
var number=document.getElementById("cardNumber").value.toUpperCase();
|
||||
if((number==null) || number.length != 16 || number.match(/[^A-Z0-9]+/)) {
|
||||
hideElement("text02-01");
|
||||
hideElement("pointcard");
|
||||
hideElement("inputs");
|
||||
showElement("invalidNum");
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
setUnderButton(true, "もういちど", 'javascript:retry("invalidNum")', 'if(snd) snd.playSE(cSE_Cancel)');
|
||||
}
|
||||
else {
|
||||
initCommonFields('commonFields', true);
|
||||
document.getElementById("cardNumber").value=number;
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function P_02_setUnderButtons() {
|
||||
setUnderButtonL(true, "やめる", "javascript:showPage('P_17.jsp')", "if(snd) snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:validate()", "if(snd) snd.playSE(cSE_Decide)");
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
|
||||
function P_02_getRegionPic()
|
||||
{
|
||||
var imageName="pointcard_back_";
|
||||
var found=false;
|
||||
|
||||
|
||||
var code = 'JPN';
|
||||
for (i=0; i < cardPicCodes.length; i ++) {
|
||||
if(code == cardPicCodes[i][0]) {
|
||||
imageName+=cardPicCodes[i][1];
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
imageName = cardPicDefault;
|
||||
|
||||
return imageName;
|
||||
}
|
||||
|
||||
function P_02_setPointImage() {
|
||||
var imageName;
|
||||
var cardImg;
|
||||
|
||||
imageName=P_02_getRegionPic();
|
||||
cardImg = document.getElementById('pointcard');
|
||||
if(cardImg && imageName != '') {
|
||||
cardImg.src='/oss/oss/common/images//banner/' + imageName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif');
|
||||
setErrorMsg(OSS_ERROR_INVALID_PREPAID_NUMBER, '入力されたニンテンドープリペイド番号は正しくありません。<BR><BR>もういちどご確認ください。');
|
||||
|
||||
document.getElementById("text02-01").style.left='29px';
|
||||
document.getElementById("text02-01").style.top='95px';
|
||||
document.getElementById("text02-01").style.width='550px';
|
||||
|
||||
P_02_setUnderButtons();
|
||||
disableWiiPointButton();
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wiiポイント</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01" class="titleBlackM">ニンテンドープリペイド番号の入力</div>
|
||||
<div id="text02-01" class="catalogTitleBlack_02">コンビニエンスストアで購入時に受け取るレシート、もしくは専用の<BR>シートに記載されているニンテンドープリペイド番号を登録できます。</div>
|
||||
|
||||
<img id="pointcard"/>
|
||||
<div id="inputs">
|
||||
<div style="position:absolute; left:0px; top:0px; width:608px; height:456px; z-index:0; overflow: hidden;">
|
||||
<img src="/oss/oss/common/images//back/P_19_add_points_conv_bg.gif" width="608" height="456" border="0"/>
|
||||
</div>
|
||||
<div id="text03-01" align="center" class="contentsBlueM">16ケタのニンテンドープリペイド番号を入力してください。</div>
|
||||
<form id="cardForm" action="https://oss-auth.blinklab.com/oss/serv/P_04.jsp" method="post" name="cardForm">
|
||||
<div id="commonFields"></div>
|
||||
<div id="numberfield" align="center">
|
||||
<input type="text" class="inputStyle" name="cardNumber" id="cardNumber" maxlength="16" size="25" onmousedown="if(kbd) kbd.call( cKT_LNoLFS, 2 );"
|
||||
onmouseover="this.style.backgroundColor='#E6E6E6'; if(snd) snd.playSE( cSE_Forcus );" onmouseout="this.style.backgroundColor='#FFFFFF'"
|
||||
/>
|
||||
</div>
|
||||
<br><br>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="invalidNum" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
エラーコード: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
719
jsp/P_20.jsp
Normal file
719
jsp/P_20.jsp
Normal file
|
|
@ -0,0 +1,719 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.";
|
||||
a[-(EC_ERROR_ECARD)] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[618] = "This Nintendo eShop Card cannot be used in your region.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot re-download it.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[644] = "Credit cards cannot be used with this console.<BR>Please contact your local customer support centre.<BR>For contact details, visit support.nintendo.com.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error occurred when processing Wii Points. Please try again.<BR><BR>If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[811] = "The activation number you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Nintendo eShop Card has already been redeemed.";
|
||||
a[819] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[831] = "This Nintendo eShop Card cannot be used in your region.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[942] = "Unable to confirm the e-mail address at this time because of a server error.<BR><BR>Please try again later.";
|
||||
a[943] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo membership, it cannot be linked to this WiiMart Account.";
|
||||
a[1403] = "Due to restrictions on your My Nintendo membership, it cannot be linked to this WiiMart Account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the User Name at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Please verify the code and try again.";
|
||||
a[1612] = "The Wii Download Ticket you entered cannot be used in your region.<BR><BR>Please verify the code and try again.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the e-mail address at this time because of a server error.<BR><BR>Please try again later.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "(N/A)";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "This credit card cannot be used.<BR>Please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The address you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postcode does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit card information at this time.<BR><BR>Please try again later.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit card information at this time.<BR><BR>Please try again later.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "(N/A)";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the 3 digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_02: Prepaid Card Input Page */
|
||||
#text01-01 {
|
||||
/* title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:50px;
|
||||
top:89px;
|
||||
width:500px;
|
||||
height:46px;
|
||||
z-index:31;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:30px;
|
||||
top:284px;
|
||||
width:548px;
|
||||
height:23px;
|
||||
z-index:30;
|
||||
}
|
||||
#numberfield {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:311px;
|
||||
width:408px;
|
||||
height:50px;
|
||||
z-index:27;
|
||||
}
|
||||
#pointcard {
|
||||
position:absolute;
|
||||
left:185px;
|
||||
top:163px;
|
||||
width:233px;
|
||||
height:119px;
|
||||
z-index:29;
|
||||
}
|
||||
input {
|
||||
font-family: "Wii NTLG Gothic JPN Regular";
|
||||
font-size: 24px;
|
||||
background-color: #FFFFFF;
|
||||
letter-spacing: 0.1em;
|
||||
text-align: left;
|
||||
padding-left: 18px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "USEU.gif"),
|
||||
new Array('EUR', "USEU.gif"));
|
||||
var cardPicDefault = "pointcard_back_USEU.gif";
|
||||
|
||||
function retry(errorName)
|
||||
{
|
||||
showElement("text02-01");
|
||||
showElement("pointcard");
|
||||
showElement("inputs");
|
||||
hideElement(errorName);
|
||||
P_02_setUnderButtons();
|
||||
}
|
||||
|
||||
function validate()
|
||||
{
|
||||
// Check prepaid cardnumber is 16-digit
|
||||
var form = document.cardForm;
|
||||
if(form != null) {
|
||||
var number=document.getElementById("cardNumber").value.toUpperCase();
|
||||
if((number==null) || number.length != 16 || number.match(/[^A-Za-z0-9]+/)) {
|
||||
hideElement("text02-01");
|
||||
hideElement("pointcard");
|
||||
hideElement("inputs");
|
||||
showElement("invalidNum");
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
setUnderButton(true, "Try Again", 'javascript:retry("invalidNum")', 'if(snd) snd.playSE(cSE_Cancel)');
|
||||
}
|
||||
else {
|
||||
initCommonFields('commonFields', true);
|
||||
document.getElementById("cardNumber").value=number;
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function P_02_setUnderButtons() {
|
||||
setUnderButtonL(true, "Cancel", "javascript:showBack()", "if(snd) snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:validate()", "if(snd) snd.playSE(cSE_Decide)");
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
|
||||
function P_02_getRegionPic()
|
||||
{
|
||||
var imageName="pointcard_back_";
|
||||
var found=false;
|
||||
|
||||
|
||||
var code = 'EUR';
|
||||
for (i=0; i < cardPicCodes.length; i ++) {
|
||||
if(code == cardPicCodes[i][0]) {
|
||||
imageName+=cardPicCodes[i][1];
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
imageName = cardPicDefault;
|
||||
|
||||
return imageName;
|
||||
}
|
||||
|
||||
function P_02_setPointImage() {
|
||||
var imageName;
|
||||
var cardImg;
|
||||
|
||||
imageName=P_02_getRegionPic();
|
||||
cardImg = document.getElementById('pointcard');
|
||||
if(cardImg && imageName != '') {
|
||||
cardImg.src='/oss/oss/common/images//banner/' + imageName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif');
|
||||
setErrorMsg(OSS_ERROR_INVALID_PREPAID_NUMBER, 'The activation number you entered is incorrect.<BR><BR>Please try again.');
|
||||
|
||||
P_02_setPointImage();
|
||||
|
||||
P_02_setUnderButtons();
|
||||
disableWiiPointButton();
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01" class="titleBlackM">Redeem Nintendo eShop Card</div>
|
||||
<div id="text02-01" class="catalogTitleBlack_02">(N/A)</div>
|
||||
|
||||
<img id="pointcard"/>
|
||||
<div id="inputs">
|
||||
<div id="text03-01" align="center" class="buttonTextBlackM">Activation number</div>
|
||||
<form id="cardForm" action="https://oss-auth.blinklab.com/oss/serv/P_04.jsp" method="post" name="cardForm">
|
||||
<div id="commonFields"></div>
|
||||
<div id="numberfield" align="center">
|
||||
<input type="text" class="inputStyle" name="cardNumber" id="cardNumber" maxlength="16" size="25" onmousedown="if(kbd) kbd.call( cKT_LNoLFS, 2 );"
|
||||
onmouseover="this.style.backgroundColor='#E6E6E6'; if(snd) snd.playSE( cSE_Forcus );" onmouseout="this.style.backgroundColor='#FFFFFF'"
|
||||
/>
|
||||
</div>
|
||||
<br><br>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="invalidNum" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
818
jsp/P_21.jsp
Normal file
818
jsp/P_21.jsp
Normal file
|
|
@ -0,0 +1,818 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.";
|
||||
a[-(EC_ERROR_ECARD)] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[618] = "This Nintendo eShop Card cannot be used in your region.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot re-download it.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[644] = "Credit cards cannot be used with this console.<BR>Please contact your local customer support centre.<BR>For contact details, visit support.nintendo.com.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error occurred when processing Wii Points. Please try again.<BR><BR>If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[811] = "The activation number you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Nintendo eShop Card has already been redeemed.";
|
||||
a[819] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[831] = "This Nintendo eShop Card cannot be used in your region.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[942] = "Unable to confirm the e-mail address at this time because of a server error.<BR><BR>Please try again later.";
|
||||
a[943] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo membership, it cannot be linked to this WiiMart Account.";
|
||||
a[1403] = "Due to restrictions on your My Nintendo membership, it cannot be linked to this WiiMart Account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the User Name at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Please verify the code and try again.";
|
||||
a[1612] = "The Wii Download Ticket you entered cannot be used in your region.<BR><BR>Please verify the code and try again.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the e-mail address at this time because of a server error.<BR><BR>Please try again later.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "(N/A)";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "This credit card cannot be used.<BR>Please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The address you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postcode does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit card information at this time.<BR><BR>Please try again later.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit card information at this time.<BR><BR>Please try again later.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "(N/A)";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the 3 digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_01: Add Wii Points page */
|
||||
#P_01_text01-01 {
|
||||
/* pageHeading, formerly title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:28;
|
||||
}
|
||||
#P_01_text02-01 {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:77px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#P_01_WiiU {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:85px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#link {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:31;
|
||||
}
|
||||
#banner {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:27;
|
||||
}
|
||||
#word {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
width:187;
|
||||
height:55;
|
||||
z-index:29;
|
||||
}
|
||||
#text03-01 {
|
||||
/* formerly main text */
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:108px;
|
||||
width:330px;
|
||||
height:90px;
|
||||
z-index:22;
|
||||
}
|
||||
#Question {
|
||||
position:absolute;
|
||||
left:392px;
|
||||
top:100px;
|
||||
z-index:27;
|
||||
}
|
||||
#card01 {
|
||||
/* prepaid card */
|
||||
position:absolute;
|
||||
left:76px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
#card02 {
|
||||
/* credit card */
|
||||
position:absolute;
|
||||
left:347px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
.cardspacer {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.cardbannershadow{
|
||||
position:absolute;
|
||||
left:-13px;
|
||||
top:-10px;
|
||||
width:213px;
|
||||
height:106px;
|
||||
z-index:20;
|
||||
}
|
||||
.cardbanner {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:21;
|
||||
}
|
||||
#text04-01 {
|
||||
/* prepaid card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
#text05-01 {
|
||||
/* credit card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
|
||||
#creditCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:204px;
|
||||
width:176px;
|
||||
height:58px;
|
||||
z-index:78;
|
||||
}
|
||||
#pointCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:105px;
|
||||
width:171px;
|
||||
height:90px;
|
||||
z-index:79;
|
||||
}
|
||||
|
||||
#P_01_credit {
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
#regButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:152px;
|
||||
width:462px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.regButton_nonfocus{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
clip:rect(0px 462px 106px 0px);
|
||||
}
|
||||
|
||||
.regButton_focus{
|
||||
position:absolute;
|
||||
top:-106px;
|
||||
clip:rect(106px 462px 212px 0px);
|
||||
}
|
||||
|
||||
#ccButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
#mcButton{
|
||||
position:absolute;
|
||||
left:305px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.cc_mcButton_nonfocus{
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:-212px;
|
||||
clip:rect(212px 230px 318px 0px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.cc_mcButton_focus{
|
||||
position:absolute;
|
||||
left:-232px;
|
||||
top:-212px;
|
||||
clip:rect(212px 462px 318px 232px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
<!--
|
||||
body {
|
||||
background-image: url(/oss/oss/common/images//back/P_21_22_mobile_bg.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
function gotoWiipoint()
|
||||
{
|
||||
showPage('P_17.jsp');
|
||||
}
|
||||
|
||||
function gotoMobile()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_20.jsp');
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/B023_VCsort_b.png');
|
||||
document.getElementById('P_01_text01-01').style.fontSize='22px';
|
||||
disableWiiPointButton();
|
||||
setUnderButtonL(true, "Back", "javascript:gotoWiipoint()", "snd.playSE(cSE_Cancel)");
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="P_01_text01-01" class="titleBlackM" >(N/A)</div>
|
||||
<!--
|
||||
<div id="P_01_text02-01">
|
||||
<div align="left" class="catalogTitleBlack_02">(N/A)</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
<div id="urlText" style="position:absolute; left:40px; top:87px; width:240px; height:18px; z-index:33;">
|
||||
<div align="left" class="buttonTextBlackM"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
<div id="qrText" style="position:absolute; left:322px; top:87px; width:240px; height:18px; z-index:33;">
|
||||
<div align="left" class="buttonTextBlackM"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
<div id="menuText" style="position:absolute; left:40px; top:216px; width:360px; height:18px; z-index:33;">
|
||||
<div align="left" class="buttonTextBlackM"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="urlBody" style="position:absolute; left:40px; top:148px; width:360px; height:18px; z-index:33;">
|
||||
<div align="left" class="contentsBlueM"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
<div id="menuBody" style="position:absolute; left:40px; top:242px; width:540px; height:18px; z-index:33;">
|
||||
<div align="left" class="catalogTitleBlue"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="mobileButton" style="position:absolute; left:100px; top:288px; width:409px; height:86px;">
|
||||
<div id="mobileBanner" style="position:absolute; left:0px; top:0px; width:409px; height:86px; z-index:32; ">
|
||||
<img src="/oss/oss/common/images//banner/B023_VCsort_a.png" width="409" height="86" id="mobileImage3" /></div>
|
||||
<div id="mobileText" style="position:absolute; left:10px; top:10px; width:389px; height:66px; z-index:33;">
|
||||
<div align="center" class="catalogTitleBlack"><table height="100%"><tr><td align="left" valign="middle">Redeem<BR>Nintendo eShop Card</td></tr></table></div>
|
||||
</div>
|
||||
<div id="mobileSpacer" style="position:absolute; left:10px; top:10px; width:0px; height:0px; z-index:35; ">
|
||||
<a id="mobileAnchor" href="javascript:gotoMobile()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="389" height="66" border="0" id="mobileImage2" onmouseover="MM_swapImage('mobileImage3','','/oss/oss/common/images//banner/B023_VCsort_b.png',1);wiiFocusSound();" onmouseout="MM_swapImgRestore()" onclick="wiiSelectSound();"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
818
jsp/P_22.jsp
Normal file
818
jsp/P_22.jsp
Normal file
|
|
@ -0,0 +1,818 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.";
|
||||
a[-(EC_ERROR_ECARD)] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[618] = "This Nintendo eShop Card cannot be used in your region.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot re-download it.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[644] = "Credit cards cannot be used with this console.<BR>Please contact your local customer support centre.<BR>For contact details, visit support.nintendo.com.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error occurred when processing Wii Points. Please try again.<BR><BR>If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[811] = "The activation number you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Nintendo eShop Card has already been redeemed.";
|
||||
a[819] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The activation number you entered is incorrect.<BR><BR>Please try again.";
|
||||
a[831] = "This Nintendo eShop Card cannot be used in your region.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time.<BR><BR>Please try again later. If this continues, please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[942] = "Unable to confirm the e-mail address at this time because of a server error.<BR><BR>Please try again later.";
|
||||
a[943] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the e-mail address. Please check the e-mail address and password and try again. <BR><BR>If you have forgotten your e-mail address or password, please visit www.club-nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo membership, it cannot be linked to this WiiMart Account.";
|
||||
a[1403] = "Due to restrictions on your My Nintendo membership, it cannot be linked to this WiiMart Account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the User Name at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Please verify the code and try again.";
|
||||
a[1612] = "The Wii Download Ticket you entered cannot be used in your region.<BR><BR>Please verify the code and try again.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the e-mail address at this time because of a server error.<BR><BR>Please try again later.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "(N/A)";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "This credit card cannot be used.<BR>Please contact your local customer support centre. For contact details, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The address you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postcode does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit card information at this time.<BR><BR>Please try again later.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit card information at this time.<BR><BR>Please try again later.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "(N/A)";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the 3 digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_01: Add Wii Points page */
|
||||
#P_01_text01-01 {
|
||||
/* pageHeading, formerly title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:28;
|
||||
}
|
||||
#P_01_text02-01 {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:77px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#P_01_WiiU {
|
||||
/* subTitle, aka heading */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:85px;
|
||||
width:552px;
|
||||
height:80px;
|
||||
z-index:26;
|
||||
}
|
||||
#link {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:31;
|
||||
}
|
||||
#banner {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
z-index:27;
|
||||
}
|
||||
#word {
|
||||
position:absolute;
|
||||
left:210px;
|
||||
top:285px;
|
||||
width:187;
|
||||
height:55;
|
||||
z-index:29;
|
||||
}
|
||||
#text03-01 {
|
||||
/* formerly main text */
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:108px;
|
||||
width:330px;
|
||||
height:90px;
|
||||
z-index:22;
|
||||
}
|
||||
#Question {
|
||||
position:absolute;
|
||||
left:392px;
|
||||
top:100px;
|
||||
z-index:27;
|
||||
}
|
||||
#card01 {
|
||||
/* prepaid card */
|
||||
position:absolute;
|
||||
left:76px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
#card02 {
|
||||
/* credit card */
|
||||
position:absolute;
|
||||
left:347px;
|
||||
top:280px;
|
||||
width:187px;
|
||||
height:82px;
|
||||
}
|
||||
.cardspacer {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.cardbannershadow{
|
||||
position:absolute;
|
||||
left:-13px;
|
||||
top:-10px;
|
||||
width:213px;
|
||||
height:106px;
|
||||
z-index:20;
|
||||
}
|
||||
.cardbanner {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:21;
|
||||
}
|
||||
#text04-01 {
|
||||
/* prepaid card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
#text05-01 {
|
||||
/* credit card text */
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
top:25%;
|
||||
width:100%;
|
||||
z-index:23;
|
||||
}
|
||||
|
||||
#creditCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:204px;
|
||||
width:176px;
|
||||
height:58px;
|
||||
z-index:78;
|
||||
}
|
||||
#pointCardPic {
|
||||
position:absolute;
|
||||
left:378px;
|
||||
top:105px;
|
||||
width:171px;
|
||||
height:90px;
|
||||
z-index:79;
|
||||
}
|
||||
|
||||
#P_01_credit {
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
#regButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:152px;
|
||||
width:462px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.regButton_nonfocus{
|
||||
position:absolute;
|
||||
top:0px;
|
||||
clip:rect(0px 462px 106px 0px);
|
||||
}
|
||||
|
||||
.regButton_focus{
|
||||
position:absolute;
|
||||
top:-106px;
|
||||
clip:rect(106px 462px 212px 0px);
|
||||
}
|
||||
|
||||
#ccButton{
|
||||
position:absolute;
|
||||
left:73px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
#mcButton{
|
||||
position:absolute;
|
||||
left:305px;
|
||||
top:259px;
|
||||
width:230px;
|
||||
height:106px;
|
||||
overflow:hidden;
|
||||
|
||||
line-height:18px;
|
||||
}
|
||||
|
||||
.cc_mcButton_nonfocus{
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:-212px;
|
||||
clip:rect(212px 230px 318px 0px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.cc_mcButton_focus{
|
||||
position:absolute;
|
||||
left:-232px;
|
||||
top:-212px;
|
||||
clip:rect(212px 462px 318px 232px);
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
<!--
|
||||
body {
|
||||
background-image: url(/oss/oss/common/images//back/P_21_22_mobile_bg.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
function gotoWiipoint()
|
||||
{
|
||||
showPage('P_17.jsp');
|
||||
}
|
||||
|
||||
function gotoMobile()
|
||||
{
|
||||
if(snd) snd.playSE(cSE_Decide);
|
||||
showPage('P_20.jsp');
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/B023_VCsort_b.png');
|
||||
disableWiiPointButton();
|
||||
setUnderButtonL(true, "Back", "javascript:gotoWiipoint()", "snd.playSE(cSE_Cancel)");
|
||||
document.getElementById("hogeho").style.fontSize='14px';
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="P_01_text01-01" class="titleBlackM" >(N/A)</div>
|
||||
<!--
|
||||
<div id="P_01_text02-01">
|
||||
<div align="left" class="catalogTitleBlack_02">(N/A)</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
<div id="urlText" style="position:absolute; left:40px; top:87px; width:240px; height:18px; z-index:33;">
|
||||
<div align="left" class="buttonTextBlackM"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
<div id="qrText" style="position:absolute; left:322px; top:87px; width:240px; height:18px; z-index:33;">
|
||||
<div align="left" class="buttonTextBlackM"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
<div id="menuText" style="position:absolute; left:40px; top:216px; width:360px; height:18px; z-index:33;">
|
||||
<div align="left" class="buttonTextBlackM"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="urlBody" style="position:absolute; left:40px; top:148px; width:360px; height:18px; z-index:33;">
|
||||
<div align="left" class="contentsBlueM"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
<div id="menuBody" style="position:absolute; left:40px; top:242px; width:540px; height:18px; z-index:33;">
|
||||
<div align="left" class="catalogTitleBlue" id="hogeho"><table height="100%"><tr><td align="left" valign="middle">(N/A)</td></tr></table></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="mobileButton" style="position:absolute; left:100px; top:288px; width:409px; height:86px;">
|
||||
<div id="mobileBanner" style="position:absolute; left:0px; top:0px; width:409px; height:86px; z-index:32; ">
|
||||
<img src="/oss/oss/common/images//banner/B023_VCsort_a.png" width="409" height="86" id="mobileImage3" /></div>
|
||||
<div id="mobileText" style="position:absolute; left:10px; top:10px; width:389px; height:66px; z-index:33;">
|
||||
<div align="center" class="catalogTitleBlack"><table height="100%"><tr><td align="left" valign="middle">Redeem<BR>Nintendo eShop Card</td></tr></table></div>
|
||||
</div>
|
||||
<div id="mobileSpacer" style="position:absolute; left:10px; top:10px; width:0px; height:0px; z-index:35; ">
|
||||
<a id="mobileAnchor" href="javascript:gotoMobile()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" width="389" height="66" border="0" id="mobileImage2" onmouseover="MM_swapImage('mobileImage3','','/oss/oss/common/images//banner/B023_VCsort_b.png',1);wiiFocusSound();" onmouseout="MM_swapImgRestore()" onclick="wiiSelectSound();"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
825
jsp/Register.jsp
Normal file
825
jsp/Register.jsp
Normal file
|
|
@ -0,0 +1,825 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return "<%=request.getMethod()%>";
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = '';
|
||||
<%
|
||||
if (request.getMethod() == "POST") {
|
||||
// Read the POST body from the request
|
||||
StringBuilder postBodyBuilder = new StringBuilder();
|
||||
String line;
|
||||
try (java.io.BufferedReader reader = request.getReader()) {
|
||||
while ((line = reader.readLine()) != null) {
|
||||
postBodyBuilder.append(line);
|
||||
}
|
||||
}
|
||||
String postBody = postBodyBuilder.toString();
|
||||
|
||||
// Parse the parameters from the POST body
|
||||
java.util.Map<String, java.util.List<String>> parametersMap = new java.util.HashMap<>();
|
||||
for (String pair : postBody.split("&")) {
|
||||
String[] keyValue = pair.split("=", 2);
|
||||
String key = java.net.URLDecoder.decode(keyValue[0], "UTF-8");
|
||||
String value = keyValue.length > 1 ? java.net.URLDecoder.decode(keyValue[1], "UTF-8") : "";
|
||||
parametersMap.computeIfAbsent(key, k -> new java.util.ArrayList<>()).add(value);
|
||||
}
|
||||
|
||||
// Exclude these parameters
|
||||
java.util.Set<String> excludedParams = new java.util.HashSet<>();
|
||||
excludedParams.add("accountId");
|
||||
excludedParams.add("deviceId");
|
||||
excludedParams.add("serialNo");
|
||||
excludedParams.add("country");
|
||||
excludedParams.add("region");
|
||||
excludedParams.add("age");
|
||||
excludedParams.add("language");
|
||||
|
||||
// Generate JavaScript code for the remaining parameters
|
||||
%>
|
||||
<%
|
||||
boolean first = true;
|
||||
for (java.util.Map.Entry<String, java.util.List<String>> entry : parametersMap.entrySet()) {
|
||||
if (!excludedParams.contains(entry.getKey())) {
|
||||
for (String value : entry.getValue()) {
|
||||
%>
|
||||
<% if (!first) { %>
|
||||
params += "&";
|
||||
<% } %>
|
||||
params += '<%= entry.getKey() %>=<%= value %>';
|
||||
<%
|
||||
first = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
%>
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = 'true';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'false';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiEnableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* F_01: Connecting to Server */
|
||||
/* NOTE: used by index.jsp, Register.jsp, CheckRegistered.jsp, and CheckBalance.jsp */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:100px;
|
||||
width:560px;
|
||||
height:180px;
|
||||
z-index:31;
|
||||
}</style>
|
||||
</head>
|
||||
|
||||
<script type="text/javascript">
|
||||
var memberId = null;
|
||||
var password = null;
|
||||
var actionIsRegister = false;
|
||||
var actionIsSyncRegister = false;
|
||||
|
||||
function callRegisterOrTransfer()
|
||||
{
|
||||
// Get challenge from OSS
|
||||
var challenge = '1633244194';
|
||||
var ec = new ECommerceInterface();
|
||||
var info = ec.getDeviceInfo();
|
||||
var reg = info.registrationStatus;
|
||||
var action;
|
||||
switch (reg) {
|
||||
case 'U':
|
||||
action = '';
|
||||
break;
|
||||
case 'R':
|
||||
action = 'getRegistrationInfo';
|
||||
break;
|
||||
case 'T':
|
||||
action = 'getTransferInfo';
|
||||
break;
|
||||
case 'P':
|
||||
action = 'performPendingTransfer';
|
||||
break;
|
||||
}
|
||||
//action = 'performPendingTransfer';
|
||||
trace("action::" + action)
|
||||
if (action == "getRegistrationInfo") {
|
||||
getRegistrationInfo(challenge);
|
||||
actionIsSyncRegister = useSyncRegistration;
|
||||
} else if (action == "performPendingTransfer") {
|
||||
performPendingTransfer(challenge);
|
||||
} else if (action == "getTransferInfo") {
|
||||
getTransferInfo(challenge);
|
||||
actionIsSyncRegister = useSyncRegistration;
|
||||
} else {
|
||||
register(challenge, memberId, password);
|
||||
actionIsRegister = true;
|
||||
}
|
||||
}
|
||||
|
||||
function register(challenge, memberId, password)
|
||||
{
|
||||
if (memberId != null) {
|
||||
memberId.replace(/^\s+|\s+$/, '');
|
||||
password = (memberId == '') ? '' : password;
|
||||
}
|
||||
var progress = ec.register(challenge, memberId, password);
|
||||
|
||||
opName = "Register";
|
||||
opDesc = "Registering";
|
||||
finishOp(opName, opDesc, progress, "onRegisterDone");
|
||||
}
|
||||
|
||||
function getRegistrationInfo(challenge)
|
||||
{
|
||||
var progress;
|
||||
if (useSyncRegistration) {
|
||||
progress = ec.syncRegistration(challenge);
|
||||
} else {
|
||||
progress = ec.syncRegistration(challenge);
|
||||
}
|
||||
|
||||
opName = "Retrieve Registration Information";
|
||||
opDesc = "Retrieving Registration Information";
|
||||
finishOp(opName, opDesc, progress, "onRegisterDone");
|
||||
}
|
||||
|
||||
function updateRegistrationInfo(challenge, memberId, password)
|
||||
{
|
||||
if (memberId != null) {
|
||||
memberId.replace(/^\s+|\s+$/, '');
|
||||
password = (memberId == '') ? '' : password;
|
||||
}
|
||||
var progress = ec.register(challenge, memberId, password);
|
||||
|
||||
opName = "Update Registration Information";
|
||||
opDesc = "Updating Registration Information";
|
||||
finishOp(opName, opDesc, progress, "onRegisterDone");
|
||||
}
|
||||
|
||||
function performPendingTransfer(challenge)
|
||||
{
|
||||
var progress = ec.transfer(challenge);
|
||||
|
||||
opName = "Transfer";
|
||||
opDesc = "Transfering account and tickets from other device";
|
||||
finishOp(opName, opDesc, progress, "onRegisterDone");
|
||||
}
|
||||
|
||||
function getTransferInfo(challenge)
|
||||
{
|
||||
var progress;
|
||||
if (useSyncRegistration) {
|
||||
progress = ec.syncRegistration(challenge);
|
||||
} else {
|
||||
progress = ec.transfer(challenge);
|
||||
}
|
||||
|
||||
opName = "Retrieve Transfer Information";
|
||||
opDesc = "Retrieving Transfer Information";
|
||||
finishOp(opName, opDesc, progress, "onRegisterDone");
|
||||
}
|
||||
|
||||
function gotoNext(registerNeeded)
|
||||
{
|
||||
var r = ec.getDeviceInfo ();
|
||||
if (r != null && typeof(r) == "object") {
|
||||
if (r.accountId == EC_INVALID_ACCOUNT_ID) {
|
||||
// Not registered - ask user to register
|
||||
replacePage('L_03.jsp');
|
||||
} else if (r.country != r.accountCountry) {
|
||||
// Country changed, ask the user if they would like to change country
|
||||
replacePage("L_01.jsp?origCountry=" + r.accountCountry);
|
||||
} else if (registerNeeded) {
|
||||
trace("Re-registering because register is needed");
|
||||
showRegister("register");
|
||||
} else if (!actionIsRegister
|
||||
&& (r.accountDeviceCode != undefined)
|
||||
&& (r.accountDeviceCode != null)
|
||||
&& (r.accountDeviceCode != "")
|
||||
&& (r.deviceCode != r.accountDeviceCode)) {
|
||||
// Device code changed
|
||||
trace("Re-registering because device code is out of sync: old " + r.accountDeviceCode + ", new " + r.deviceCode);
|
||||
showRegister("register");
|
||||
} else {
|
||||
var next = decodeURIComponent('');
|
||||
if (next == null || next == '') {
|
||||
showInitialPage(true);
|
||||
} else {
|
||||
|
||||
// if (shop.isCompatibleMode){
|
||||
// showRegister("register", null, null, null);
|
||||
// }
|
||||
// else{
|
||||
showCheckBalance(next);
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Can't get any device information, show error
|
||||
setConnectingToServer(false);
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound();");
|
||||
|
||||
// Show error message and code
|
||||
hideElement("text02-01");
|
||||
var elem = document.getElementById("errorCodeText");
|
||||
setErrorHtmlMsg(elem, OSS_UNEXPECTED_ECLIB_ERROR, "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.");
|
||||
}
|
||||
}
|
||||
|
||||
function showS03()
|
||||
{
|
||||
// TODO: Do not use showBack
|
||||
setConnectingToServer(false);
|
||||
wiiEnableHRP();
|
||||
setUnderButton(true, "OK", "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
|
||||
function onRegisterDone (progress)
|
||||
{
|
||||
showResult (progress, opName, opDesc);
|
||||
if (progress.status >= 0) {
|
||||
var r = ec.getDeviceInfo();
|
||||
if (typeof(r) == "object" && r.extAccountId != '') {
|
||||
setLoyaltyAccount(r.extAccountId);
|
||||
} else {
|
||||
setLoyaltyAccount(null);
|
||||
}
|
||||
gotoNext();
|
||||
} else if (progress.status == EC_ERROR_REGISTER) {
|
||||
if (actionIsSyncRegister) {
|
||||
// Assumes that ecshop syncRegistration only returns EC_ERROR_REGISTER for token expired
|
||||
// and that syncRegistration has updated the account information
|
||||
// Response indicate that the device need to reregister - force automatic reregister
|
||||
gotoNext(true);
|
||||
} else {
|
||||
// Show error message and code
|
||||
hideElement("text02-01");
|
||||
var elem = document.getElementById("errorCodeText");
|
||||
setErrorHtml(elem, progress);
|
||||
}
|
||||
} else {
|
||||
var r = ec.getDeviceInfo();
|
||||
var checkRegisterNeeded = isCheckRegisterNeeded();
|
||||
if (typeof(r) == "object" && r.accountId != EC_INVALID_ACCOUNT_ID && !checkRegisterNeeded) {
|
||||
// Valid account, can go on
|
||||
if (memberId != null && password != null) {
|
||||
// Doing loyalty linking or unlinking
|
||||
if (memberId == '' && password == '') {
|
||||
// loyalty unlinking
|
||||
showS03();
|
||||
} else {
|
||||
// loyalty linking
|
||||
showS03();
|
||||
}
|
||||
} else {
|
||||
setConnectingToServer(false);
|
||||
setUnderButton(true, "OK", "javascript:gotoNext()", "wiiSelectSound();");
|
||||
}
|
||||
} else {
|
||||
// No valid account
|
||||
if (isLoyaltyError(progress)) {
|
||||
// Loyalty linkage error - show S_03
|
||||
showS03();
|
||||
} else {
|
||||
// make user go back to wii menu
|
||||
setConnectingToServer(false);
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound();");
|
||||
}
|
||||
}
|
||||
// Show error message and code
|
||||
hideElement("text02-01");
|
||||
var elem = document.getElementById("errorCodeText");
|
||||
setErrorHtml(elem, progress);
|
||||
}
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
|
||||
|
||||
|
||||
var text01_01 = document.getElementById("text01-01");
|
||||
if (memberId != null && password != null) {
|
||||
// Doing loyalty linking or unlinking
|
||||
if (memberId == '' && password == '') {
|
||||
// loyalty unlinking
|
||||
text01_01.innerHTML = '<span class="titleBlackM">Unlink Your Club Nintendo Membership</span>';
|
||||
} else {
|
||||
// loyalty linking
|
||||
text01_01.innerHTML = '<span class="titleBlackM">Club Nintendo Membership Link</span>';
|
||||
}
|
||||
}
|
||||
setF01Title(text01_01.innerHTML);
|
||||
|
||||
initPageCommon();
|
||||
callRegisterOrTransfer();
|
||||
//setUnderButton(true, '(N/A)', "javascript:cancel()");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<body onload="initPage()">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
WiiMart</div>
|
||||
<div align="center" class="titleBlueL" id="text02-01">
|
||||
Connecting. Please wait...<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="Progress">
|
||||
<div id="dynDiv1" class="contentsBlackS"></div>
|
||||
<div id="dynDiv2" class="contentsBlackS"></div>
|
||||
<div id="errDiv" class="contentsBlackS"></div>
|
||||
</div></div>
|
||||
|
||||
<div align="left" id="errorCodeText"></div>
|
||||
</body>
|
||||
</html>
|
||||
440
jsp/ReportDownload.jsp
Normal file
440
jsp/ReportDownload.jsp
Normal file
|
|
@ -0,0 +1,440 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiEnableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
function getParam(p) {
|
||||
var sPageURL = window.location.search.substring(1);
|
||||
var sURLVariables = sPageURL.split('&');
|
||||
for (var i = 0; i < sURLVariables.length; i++) {
|
||||
var sParameterName = sURLVariables[i].split('=');
|
||||
if (sParameterName[0] == p) {
|
||||
return sParameterName[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
trace(getParam("titleId"))
|
||||
showPage('B_10.jsp?titleId=' + getParam("titleId") + '&reportDownloadDone=true&SD=');
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;"/>
|
||||
</html>
|
||||
1109
jsp/S_01.jsp
Normal file
1109
jsp/S_01.jsp
Normal file
File diff suppressed because it is too large
Load diff
751
jsp/S_02.jsp
Normal file
751
jsp/S_02.jsp
Normal file
|
|
@ -0,0 +1,751 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* S_02: Link Loyalty System */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:82px;
|
||||
width:540px;
|
||||
height:158px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-02 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:82px;
|
||||
width:540px;
|
||||
height:158px;
|
||||
z-index:27;
|
||||
}
|
||||
#PasswdNumber {
|
||||
position:absolute;
|
||||
left:229px;
|
||||
top:320px;
|
||||
width:150px;
|
||||
height:31px;
|
||||
z-index:30;
|
||||
}
|
||||
#MemberNumber {
|
||||
position:absolute;
|
||||
left:229px;
|
||||
top:260px;
|
||||
width:150px;
|
||||
height:30px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#MemberFrame02 {
|
||||
position:absolute;
|
||||
left:62px;
|
||||
top:246px;
|
||||
width:486px;
|
||||
height:121px;
|
||||
z-index:29;
|
||||
}
|
||||
#text03-01 {
|
||||
/* Membership ID */
|
||||
position:absolute;
|
||||
left:65px;
|
||||
top:267px;
|
||||
width:162px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
#text04-01 {
|
||||
/* Password */
|
||||
position:absolute;
|
||||
left:65px;
|
||||
top:327px;
|
||||
width:162px;
|
||||
z-index:30;
|
||||
}
|
||||
input {
|
||||
font-family: "Wii NTLG Gothic JPN Regular";
|
||||
font-size: 20px;
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #34BEED;
|
||||
padding-left: 10px;
|
||||
}
|
||||
/* S_03: Link Loyalty Error*/
|
||||
/* Errors are handled by Error.jspf*/
|
||||
</style>
|
||||
<script language="JavaScript" type="text/JavaScript">
|
||||
<!--
|
||||
|
||||
var leftTrimPattern = "\\s*((\\S+\\s*)*)";
|
||||
var rightTrimPattern = "((\\s*\\S+)*)\\s*";
|
||||
|
||||
function trim(memberId)
|
||||
{
|
||||
var result = memberId.match(leftTrimPattern);
|
||||
if(result != null)
|
||||
result = result[1].match(rightTrimPattern);
|
||||
|
||||
if(result != null)
|
||||
return result[1];
|
||||
else
|
||||
return "";
|
||||
}
|
||||
function sanitizing(password)
|
||||
{
|
||||
if (!password) return "";
|
||||
return password
|
||||
.replace(/&/g ,"&")
|
||||
.replace(/</g ,"<")
|
||||
.replace(/>/g ,">")
|
||||
.replace(/\x22/g,""")
|
||||
.replace(/\x27/g,"'")
|
||||
;
|
||||
return password;
|
||||
}
|
||||
function registerLoyalty(flag)
|
||||
{
|
||||
var memberId = trim(document.getElementById("MemberIdInput").value);
|
||||
memberId = sanitizing(memberId);
|
||||
var password = sanitizing(document.getElementById("PasswordInput").value);
|
||||
var state = getSessionState();
|
||||
var isInit = (state == "init");
|
||||
var next;
|
||||
|
||||
if (flag) {
|
||||
// Register loyalty system
|
||||
if(memberId != null && memberId != "" && password != null && password != "") {
|
||||
next = "S_04.jsp";
|
||||
showRegister("register", memberId, password, next);
|
||||
}
|
||||
else {
|
||||
showError();
|
||||
}
|
||||
} else {
|
||||
// Don't register loyalty system
|
||||
if (isInit) {
|
||||
next = null; // Default action is to do "javascript:showInitialPage(true)";
|
||||
showRegister("register", null, null, next);
|
||||
} else {
|
||||
showPage("S_01.jsp");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function showError()
|
||||
{
|
||||
hideElement("S_02");
|
||||
showElement("S_03");
|
||||
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
setUnderButton(true, "Try Again", 'javascript:hideError()', 'wiiCancelSound()');
|
||||
}
|
||||
|
||||
function hideError()
|
||||
{
|
||||
hideElement("S_03");
|
||||
showElement("S_02");
|
||||
|
||||
setUnderButtonL(true);
|
||||
setUnderButtonR(true);
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
function initFields()
|
||||
{
|
||||
var loyaltySystem = '';
|
||||
var memberIdSize = 12;
|
||||
var passwordSize = 12;
|
||||
var memberOnClick = "kbd.call(cKT_NoLFS)";
|
||||
var passwordOnClick = "kbd.call(cKT_NoLFS)";
|
||||
if (loyaltySystem == 'MY') {
|
||||
memberIdSize = 25;
|
||||
passwordSize = 30;
|
||||
memberOnClick = "kbd.call(cKT_NoLFS, 2)";
|
||||
passwordOnClick = "kbd.call(cKT_NoLFS, 2)";
|
||||
} else if (loyaltySystem == 'CLUB') {
|
||||
memberIdSize = 12;
|
||||
passwordSize = 12;
|
||||
memberOnClick = "kbd.call(cKT_LNoLFS)";
|
||||
passwordOnClick = "kbd.call(cKT_LNoLFS)";
|
||||
} else if (loyaltySystem == 'MOTHER') {
|
||||
memberIdSize = 80;
|
||||
passwordSize = 200;
|
||||
memberOnClick = "kbd.call(cKT_NoLFS, 5)";
|
||||
passwordOnClick = "kbd.call(cKT_NoLFS, 13)";
|
||||
}
|
||||
|
||||
document.getElementById("MemberIdInput").maxLength = memberIdSize;
|
||||
document.getElementById("PasswordInput").maxLength = passwordSize;
|
||||
document.getElementById("MemberIdInput").onmousedown = memberOnClick;
|
||||
document.getElementById("PasswordInput").onmousedown = passwordOnClick;
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
var state = getSessionState();
|
||||
var isInit = (state == "init");
|
||||
if(isInit){
|
||||
showElement("text02-01");
|
||||
hideElement("text02-02");
|
||||
setUnderButtonL(true, "Skip", "javascript:registerLoyalty(false)", "wiiCancelSound()");
|
||||
}else{
|
||||
hideElement("text02-01");
|
||||
showElement("text02-02");
|
||||
setUnderButtonL(true, "Do Not Link", "javascript:registerLoyalty(false)", "wiiCancelSound()");
|
||||
}
|
||||
setUnderButtonR(true, "Link", "javascript:registerLoyalty(true)", "wiiSelectSound()");
|
||||
initFields();
|
||||
setErrorMsg(OSS_ERROR_REGISTER_LOYALTY_ERROR, 'An error occurred while linking the Username. Please check the Username and password and try again. <BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.');
|
||||
|
||||
var memberText = document.getElementById("text03-01");
|
||||
if (memberText.offsetHeight > 23) {
|
||||
document.getElementById("text03-01").style.top='257px';
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="S_03" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlackM" id="text01-01">
|
||||
Club Nintendo Membership Link</div>
|
||||
|
||||
<div id="S_02">
|
||||
<div id="PasswdNumber">
|
||||
<input id="PasswordInput" name="PasswordInput" type="password" class="inputStyle"
|
||||
onmouseover="if(snd) snd.playSE( cSE_Forcus );this.style.backgroundColor='#E6E6E6'"
|
||||
onmouseout="this.style.backgroundColor='#FFFFFF'" onmousedown="if(kbd) kbd.call(cKT_NoLFS)"
|
||||
value="" size="28" maxlength="25">
|
||||
</div>
|
||||
<div id="MemberNumber">
|
||||
<input id="MemberIdInput" name="MemberIdInput" type="text" class="inputStyle"
|
||||
onmouseover="if(snd) snd.playSE( cSE_Forcus );this.style.backgroundColor='#E6E6E6'"
|
||||
onmouseout="this.style.backgroundColor='#FFFFFF'" onmousedown="if(kbd) kbd.call(cKT_NoLFS)"
|
||||
value="" size="28" maxlength="25">
|
||||
</div>
|
||||
|
||||
<div id="MemberFrame02">
|
||||
<img src="/oss/oss/common/images//banner/member_frame02.gif" width="100%" height="100%" /></div>
|
||||
|
||||
<div id="text03-01" align="center" class="catalogTitleBlack">Username</div>
|
||||
<div id="text04-01" align="center" class="catalogTitleBlack">Password</div>
|
||||
|
||||
<div class="contentsBlack" id="text02-01">
|
||||
If you are a Club Nintendo member, you can link your Username to your WiiMart now. By linking, your future Wii downloads will automatically be registered to your Club Nintendo account, and you will be eligible to earn exclusive rewards. For details, see club.nintendo.com.<BR> <BR>Note: If you link your Username on a second Wii console, it will be unlinked from the first Wii console.<BR><BR>Club Nintendo Membership is not required to use the WiiMart.</div>
|
||||
|
||||
<div class="contentsBlack" id="text02-02">
|
||||
If you’re a Club Nintendo member you can link your Username to your WiiMart account. By linking your Username, your future downloads will automatically be registered to your Club Nintendo account and you will have the opportunity to complete surveys to earn Coins you or your family can redeem for exclusive rewards. For details, please see club.nintendo.com. <BR><BR>Note: You cannot register the same Username on multiple Wii consoles. When you register a second Wii console, the first is automatically canceled.</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
530
jsp/S_04.jsp
Normal file
530
jsp/S_04.jsp
Normal file
|
|
@ -0,0 +1,530 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* S_04: Loyalty System Registration Result */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:75px;
|
||||
top:91px;
|
||||
width:460px;
|
||||
height:194px;
|
||||
z-index:26;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
var okAction;
|
||||
var state = getSessionState();
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
if (state == "init") {
|
||||
setF01Title(null); // reset to default F01 title
|
||||
okAction = 'javascript:showInitialPage(true)';
|
||||
} else {
|
||||
okAction = 'javascript:showPage("W_03.jsp")';
|
||||
}
|
||||
setUnderButton(true, "OK", okAction, "wiiSelectSound()");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlackM" id="text01-01">
|
||||
Club Nintendo Membership Link</div>
|
||||
<div class="contentsBlackS_01" align="left" id="text02-01">
|
||||
Your Club Nintendo Membership and WiiMart account are now linked.</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
594
jsp/S_05.jsp
Normal file
594
jsp/S_05.jsp
Normal file
|
|
@ -0,0 +1,594 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* S_05: Unlink Loyalty System, Page 1 */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:75px;
|
||||
top:91px;
|
||||
width:460px;
|
||||
height:194px;
|
||||
z-index:26;
|
||||
}
|
||||
#MemberFrame01 {
|
||||
position:absolute;
|
||||
left:125px;
|
||||
top:290px;
|
||||
width:360px;
|
||||
height:60px;
|
||||
z-index:28;
|
||||
}
|
||||
#MemberNumber {
|
||||
position:absolute;
|
||||
left:180px;
|
||||
top:14.5px;
|
||||
width:180px;
|
||||
z-index:29;
|
||||
}
|
||||
#MemberIdValue {
|
||||
}
|
||||
#MemberID {
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
left:10px;
|
||||
/* top:17.2px; */
|
||||
top:21px;
|
||||
width:150px;
|
||||
/* height:30px; */
|
||||
z-index:29;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function showMemberId()
|
||||
{
|
||||
var r = ec.getDeviceInfo();
|
||||
if (typeof(r) == "object") {
|
||||
document.getElementById("MemberIdValue").value = r.extAccountId;
|
||||
}
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif','/oss/oss/common/images//banner/clabnintendo_b.gif','/oss/oss/common/images//banner/record_b.gif');
|
||||
showMemberId();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script language="JavaScript" type="text/JavaScript">
|
||||
<!--
|
||||
function showMemberId()
|
||||
{
|
||||
var loyaltyAccount = getLoyaltyAccount();
|
||||
if (loyaltyAccount != null) {
|
||||
var idValue = loyaltyAccount;
|
||||
|
||||
document.getElementById("MemberIdValue").innerHTML = idValue;
|
||||
}
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
setUnderButtonL(true, "Back", "javascript:showSettings()", "if(snd) snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "Unlink", "javascript:showPage('S_06.jsp')", "if(snd) snd.playSE(cSE_Decide)");
|
||||
showMemberId();
|
||||
|
||||
var memberH = document.getElementById("MemberID").offsetHeight;
|
||||
if (memberH > 30) {
|
||||
document.getElementById("MemberID").style.top='11.5px';
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div align="left" class="titleBlackM" id="text01-01">
|
||||
Unlink Your Club Nintendo Membership</div>
|
||||
<div class="contentsBlackS_01" id="text02-01" align="left">
|
||||
You can remove the link between your Club Nintendo Membership and your WiiMart account. Please note that this only unlinks them and does not delete them.<BR><BR>If you do unlink your accounts, you can always relink them later.</div>
|
||||
|
||||
<div id="MemberFrame01">
|
||||
<img src="/oss/oss/common/images//banner/member_frame01.gif" width="100%" height="100%" />
|
||||
<div id="MemberID" class="catalogTitleBlack">Username</div>
|
||||
<div id="MemberNumber" style="overflow:hidden" class="buttonTextBlackL">
|
||||
<div id="MemberIdValue" align="left"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
580
jsp/S_06.jsp
Normal file
580
jsp/S_06.jsp
Normal file
|
|
@ -0,0 +1,580 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* S_06: Unlink Loyalty System, Page 2 */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:75px;
|
||||
top:91px;
|
||||
width:460px;
|
||||
height:194px;
|
||||
z-index:26;
|
||||
}
|
||||
#MemberFrame01 {
|
||||
position:absolute;
|
||||
left:125px;
|
||||
top:290px;
|
||||
width:360px;
|
||||
height:60px;
|
||||
z-index:28;
|
||||
}
|
||||
#MemberNumber {
|
||||
position:absolute;
|
||||
left:180px;
|
||||
top:14.5px;
|
||||
width:180px;
|
||||
z-index:29;
|
||||
}
|
||||
#MemberIdValue {
|
||||
}
|
||||
#MemberID {
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
left:10px;
|
||||
/* top:17.2px; */
|
||||
top:21px;
|
||||
width:150px;
|
||||
/* height:30px; */
|
||||
z-index:29;
|
||||
}
|
||||
</style>
|
||||
<script language="JavaScript" type="text/JavaScript">
|
||||
<!--
|
||||
function cancelLoyalty()
|
||||
{
|
||||
var next = "S_07.jsp?next=W_03.jsp";
|
||||
showRegister("register", '', '', next);
|
||||
}
|
||||
|
||||
function showMemberId()
|
||||
{
|
||||
var loyaltyAccount = getLoyaltyAccount();
|
||||
if (loyaltyAccount != null) {
|
||||
var idValue = loyaltyAccount;
|
||||
|
||||
document.getElementById("MemberIdValue").innerHTML = idValue;
|
||||
}
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif','/oss/oss/common/images//banner/help_b.gif','/oss/oss/common/images//banner/top_b.gif','/oss/oss/common/images//banner/clabnintendo_b.gif','/oss/oss/common/images//banner/record_b.gif');
|
||||
setUnderButtonL(true, "Yes", "javascript:cancelLoyalty()", "snd.playSE(cSE_Decide)");
|
||||
setUnderButtonR(true, "No", "javascript:showSettings()", "snd.playSE(cSE_Cancel)");
|
||||
showMemberId();
|
||||
var memberH = document.getElementById("MemberID").offsetHeight;
|
||||
if (memberH > 30) {
|
||||
document.getElementById("MemberID").style.top='11.5px';
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlackM" id="text01-01">
|
||||
Unlink Your Club Nintendo Membership</div>
|
||||
<div id="text02-01" class="contentsBlackS_01" align="left">Are you sure you want to remove the link between your Club Nintendo Membership and your WiiMart account?</div>
|
||||
|
||||
<div id="MemberFrame01">
|
||||
<img src="/oss/oss/common/images//banner/member_frame01.gif" width="100%" height="100%" />
|
||||
<div id="MemberID" class="catalogTitleBlack">Username</div>
|
||||
<div id="MemberNumber" style="overflow:hidden" class="buttonTextBlackL">
|
||||
<div id="MemberIdValue" align="left"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
522
jsp/S_07.jsp
Normal file
522
jsp/S_07.jsp
Normal file
|
|
@ -0,0 +1,522 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* S_07: Loyalty System Unlink Result */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:75px;
|
||||
top:91px;
|
||||
width:460px;
|
||||
height:194px;
|
||||
z-index:26;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
setUnderButton(true, "OK", "javascript:showPage('')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlackM" id="text01-01">
|
||||
Unlink Your Club Nintendo Membership</div>
|
||||
<div class="contentsBlackS_01" id="text02-01" align="left">
|
||||
The link between your Club Nintendo Membership and your WiiMart account has been removed.</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
609
jsp/S_08.jsp
Normal file
609
jsp/S_08.jsp
Normal file
|
|
@ -0,0 +1,609 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* S_08: Remove Usage Record Warning */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text01-02 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:91px;
|
||||
width:542px;
|
||||
height:272px;
|
||||
z-index:26;
|
||||
}
|
||||
#text02-02 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:91px;
|
||||
width:542px;
|
||||
height:272px;
|
||||
z-index:26;
|
||||
}
|
||||
#text02-03 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:91px;
|
||||
width:542px;
|
||||
height:272px;
|
||||
z-index:26;
|
||||
}
|
||||
.caution {
|
||||
color:#ff0000;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
if(shop.isCompatibleMode){
|
||||
document.getElementById('text02-01').innerHTML = 'If you remove your WiiMart account, all of your purchased Wii Points will be lost and you will become unable to redownload any software or other data obtained through this channel. Any software, data, or services downloaded through this channel will be deleted, and software stored on an SD Card will become unusable.<BR><BR>If you plan to transfer ownership of this console to someone else, you cannot transfer the Wii Points you have purchased or the software, data, or services you have downloaded, so you will need to remove your WiiMart account on this screen. Deleting your WiiMart history will not affect your Wii U Nintendo eShop history.<BR><BR>Select Remove to remove your WiiMart account.';
|
||||
} else {
|
||||
document.getElementById('text02-01').innerHTML = 'If you remove your WiiMart account, all of your currently registered Wii Points and downloaded software, data, and services will be deleted and software stored on an SD Card will become unusable. Additional Wii Points will be necessary to download software, data, or services if you decide to use the WiiMart again at a later date.<BR><BR>If you plan to transfer ownership of this Wii console to someone else, you cannot transfer the Wii Points you have purchased or the software, data, or services you have downloaded, so you will need to remove your WiiMart account on this screen.<BR><BR>Select Remove to remove your WiiMart account.';
|
||||
}
|
||||
showDeleteMessage();
|
||||
}
|
||||
|
||||
function showDeleteMessageForAnimalCrossing(){
|
||||
showElement("deleteRecordMessageForAnimalCrossing");
|
||||
hideElement("deleteRecordMessage");
|
||||
setUnderButtonL(true, "Quit", "javascript:showPage('S_01.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
if(isOwnedZeldaSkyward()){
|
||||
setUnderButtonR(true, "Remove", "javascript:showDeleteMessageForZeldaSkyward()", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
setUnderButtonR(true, "Remove", "javascript:showPage('S_09.jsp')", "if(snd) snd.playSE(cSE_Decide)");
|
||||
}
|
||||
|
||||
function showDeleteMessageForZeldaSkyward(){
|
||||
showElement("deleteRecordMessageForZeldaSkyward");
|
||||
hideElement("deleteRecordMessageForAnimalCrossing");
|
||||
hideElement("deleteRecordMessage");
|
||||
setUnderButtonL(true, "Quit", "javascript:showPage('S_01.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "Remove", "javascript:showPage('S_09.jsp')", "if(snd) snd.playSE(cSE_Decide)");
|
||||
}
|
||||
|
||||
function showDeleteMessage(){
|
||||
showElement("deleteRecordMessage");
|
||||
hideElement("deleteRecordMessageForAnimalCrossing");
|
||||
setUnderButtonL(true, "Back", "javascript:showPage('S_01.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
|
||||
if(isOwnedAnimalCrossing()){
|
||||
setUnderButtonR(true, "Remove", "javascript:showDeleteMessageForAnimalCrossing()", "snd.playSE(cSE_Decide)");
|
||||
}else if(isOwnedZeldaSkyward()){
|
||||
setUnderButtonR(true, "Remove", "javascript:showDeleteMessageForZeldaSkyward()", "snd.playSE(cSE_Decide)");
|
||||
}else{
|
||||
setUnderButtonR(true, "Remove", "javascript:showPage('S_09.jsp')", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlackL" id="text01-01">Remove WiiMart Account</div>
|
||||
<div id="deleteRecordMessage">
|
||||
<div id="text02-01" class="catalogTitleBlack_02">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="deleteRecordMessageForAnimalCrossing" style="display:none">
|
||||
<div id="text02-02" class="catalogTitleBlack_02 fullScreenText">
|
||||
<div style="display:table; height:100%;" class="h_block_middle">
|
||||
<div class="tcell v_middle_h_inline_left">
|
||||
To customers who have used the Animal Crossing: City Folk Save Data Update Channel:<BR><BR>If you have used the Animal Crossing City Folk Save Data Update Channel, <span class="caution">deleting your WiiMart account will also delete your Animal Crossing: City Folk save data.</span><BR><BR>Are you sure you want to delete your WiiMart Account?</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="deleteRecordMessageForZeldaSkyward" style="display:none">
|
||||
<div id="text02-03" class="catalogTitleBlack_02 fullScreenText">
|
||||
<div style="display:table; height:100%;" class="h_block_middle">
|
||||
<div class="tcell v_middle_h_inline_left">
|
||||
To customers who have used the The Legend of Zelda: Skyward Sword Save Data Update Channel:<BR><BR>If you have used the The Legend of Zelda: Skyward Sword Save Data Update Channel, <span class="caution">deleting your WiiMart account will also delete your The Legend of Zelda: Skyward Sword save data.</span><BR><BR>Are you sure you want to delete your WiiMart Account?</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
681
jsp/S_09.jsp
Normal file
681
jsp/S_09.jsp
Normal file
|
|
@ -0,0 +1,681 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* S_09: Remove Usage Record */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:54px;
|
||||
top:75px;
|
||||
width:490px;
|
||||
height:272px;
|
||||
z-index:27;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:298px;
|
||||
width:542px;
|
||||
height:30px;
|
||||
z-index:30;
|
||||
}
|
||||
#serialNumberImage {
|
||||
position:absolute;
|
||||
left:189px;
|
||||
top:164px;
|
||||
width:380px;
|
||||
height:132px;
|
||||
z-index:25;
|
||||
}
|
||||
#SerialNo {
|
||||
/* input field */
|
||||
position:absolute;
|
||||
left:34px;
|
||||
top:324px;
|
||||
width:542px;
|
||||
height:30px;
|
||||
z-index:30;
|
||||
}
|
||||
|
||||
input {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 24px;
|
||||
background-color: #FFFFFF;
|
||||
padding: 5px 1em 0px;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var serialIncorrect = 0;
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "US.gif"),
|
||||
new Array('EUR', "EU.gif"),
|
||||
new Array('AUS', "AU.gif"),
|
||||
new Array('KOR', "KO.gif"));
|
||||
var cardPicDefault = "serial_number_US.gif";
|
||||
|
||||
function S_09_getRegionPic()
|
||||
{
|
||||
var imageName="serial_number_";
|
||||
var found=false;
|
||||
|
||||
|
||||
var code = 'USA';
|
||||
for (i=0; i < cardPicCodes.length; i ++) {
|
||||
if(code == cardPicCodes[i][0]) {
|
||||
imageName+=cardPicCodes[i][1];
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!found)
|
||||
imageName = cardPicDefault;
|
||||
|
||||
return imageName;
|
||||
}
|
||||
|
||||
function S_09_setPointImage() {
|
||||
var imageName;
|
||||
var cardImg;
|
||||
imageName=S_09_getRegionPic();
|
||||
trace(imageName);
|
||||
cardImg = document.getElementById('serialNumberImage');
|
||||
if(cardImg && imageName != '') {
|
||||
if(shop.isCompatibleMode){
|
||||
cardImg.src='/oss/oss/common/images//banner/u_' + imageName;
|
||||
} else {
|
||||
cardImg.src='/oss/oss/common/images//banner/' + imageName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function deleteUsageRecord(){
|
||||
var inputSerial = document.getElementById("SerialNoInput").value;
|
||||
inputSerial = inputSerial.toUpperCase();
|
||||
if(shop.isCompatibleMode){
|
||||
if (inputSerial.indexOf("F") == 0) {
|
||||
inputSerial = "O" + inputSerial.substring(1);
|
||||
} else if (inputSerial.indexOf("G") == 0) {
|
||||
inputSerial = "I" + inputSerial.substring(1);
|
||||
// } else {
|
||||
// inputSerial = "";
|
||||
}
|
||||
}
|
||||
var serial = null;
|
||||
var r = ec.getDeviceInfo();
|
||||
if (typeof(r) == "object") {
|
||||
serial = r.serial;
|
||||
}
|
||||
if (serial == inputSerial) {
|
||||
var url = 'javascript:doUnregister()';
|
||||
showParentalControlledPage(url);
|
||||
//doUnregister();
|
||||
} else {
|
||||
showError();
|
||||
}
|
||||
}
|
||||
|
||||
function showS09()
|
||||
{
|
||||
wiiDisableHRP();
|
||||
hideElement("S_11");
|
||||
showElement("S_09");
|
||||
setUnderButtonR(true, "OK", "javascript:deleteUsageRecord()", "if(snd) snd.playSE(cSE_Decide)");
|
||||
setUnderButtonL(true, "Quit", "javascript:showPage('S_01.jsp')", "if(snd) snd.playSE(cSE_Cancel)");
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
function showError()
|
||||
{
|
||||
wiiEnableHRP();
|
||||
hideElement("S_09");
|
||||
showElement("S_11");
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
setUnderButton(true, "OK", "javascript:showS09()", "if(snd) snd.playSE(cSE_Decide)");
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
setErrorMsg(OSS_ERROR_SERIAL_INCORRECT, 'The serial number you entered is incorrect.<BR><BR>Please check the serial number for your console and try again.');
|
||||
S_09_setPointImage();
|
||||
showS09();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlackL" id="text01-01">
|
||||
Remove WiiMart Account</div>
|
||||
|
||||
<div id="S_09">
|
||||
<div id="text02-01" class="contentsBlack">
|
||||
To remove your WiiMart account, please enter the serial number printed on the side of your console.<BR>Note: Once you remove your WiiMart account, it cannot be recovered.</div>
|
||||
<img id="serialNumberImage" width="100%" height="100%" />
|
||||
<div id="text03-01" class="contentsBlackM bold" align="center">
|
||||
Serial Number</div>
|
||||
|
||||
<div id="SerialNo" align="center">
|
||||
<input id="SerialNoInput" name="SerialNoInput" type="text" class="inputStyle"
|
||||
onmouseover="if(snd) snd.playSE( cSE_Forcus );this.style.backgroundColor='#E6E6E6'"
|
||||
onmouseout="this.style.backgroundColor='#FFFFFF'" onmousedown="if(kbd) kbd.call(cKT_LNoLFS)"
|
||||
onchange="this.value=this.value.toUpperCase()" value="" size="15" maxlength="12">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="S_11" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
641
jsp/S_10.jsp
Normal file
641
jsp/S_10.jsp
Normal file
|
|
@ -0,0 +1,641 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
/* S_10: Remove Usage Record Result */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:75px;
|
||||
top:91px;
|
||||
width:460px;
|
||||
height:194px;
|
||||
z-index:26;
|
||||
}
|
||||
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:27px;
|
||||
top:108px;
|
||||
width:554px;
|
||||
height:18px;
|
||||
z-index:25;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function unregister(challenge)
|
||||
{
|
||||
var progress = ec.unregister(challenge);
|
||||
|
||||
opName = "Unregister";
|
||||
opDesc = "Unregistering";
|
||||
finishOp(opName, opDesc, progress, "onUnregisterDone");
|
||||
}
|
||||
|
||||
function onUnregisterDone(progress)
|
||||
{
|
||||
document.getElementById("text03-01").style.display='none';
|
||||
showResult (progress, opName, opDesc);
|
||||
postUnregister(progress);
|
||||
}
|
||||
|
||||
function handleError(progress)
|
||||
{
|
||||
setConnectingToServer(false);
|
||||
// Show error message and code
|
||||
var elem = document.getElementById("errorCodeText");
|
||||
setErrorHtml(elem, progress);
|
||||
}
|
||||
|
||||
function postUnregister(progress)
|
||||
{
|
||||
|
||||
var shop = new wiiShop();
|
||||
var objDlTask = new wiiDlTask();
|
||||
// timeout 3 * 1000 = 5000 msec
|
||||
var value = 3;
|
||||
|
||||
if (progress.status >= 0) {
|
||||
document.getElementById("deleteRecordDone").style.display='';
|
||||
// call the feature of deletion NWC24 download task
|
||||
// if some error is happend, don't notify users of it.
|
||||
shop.beginWaiting(1);
|
||||
if ("deleteDownloadTask" in objDlTask) {
|
||||
trace("have deleteDownloadTask");
|
||||
objDlTask.deleteDownloadTask();
|
||||
timerID = setInterval( function(){
|
||||
value = value - 1;
|
||||
if( objDlTask.hasDeletedDLTask() || value == 0){
|
||||
shop.endWaiting();
|
||||
clearInterval(timerID);
|
||||
timerID = null;
|
||||
}
|
||||
},1000 );
|
||||
} else {
|
||||
trace("not have deleteDownloadTask");
|
||||
shop.endWaiting();
|
||||
}
|
||||
} else {
|
||||
handleError(progress);
|
||||
}
|
||||
// Show Wii Menu button
|
||||
setUnderButton(true, "Wii Menu", "javascript:showWiiMenu()", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
|
||||
// wait method start
|
||||
var g_IdViser = new Array();
|
||||
var g_NumViser = 0;
|
||||
var g_i = 0;
|
||||
function setViser( cond , funcCall , timeVise)
|
||||
{
|
||||
strFunc = "" +
|
||||
"if(" + cond +"){ " +
|
||||
"clearInterval(g_IdViser[" + g_NumViser + "]);"
|
||||
+ funcCall + ";" +
|
||||
"}";
|
||||
g_IdViser[g_NumViser] = setInterval( strFunc , timeVise);
|
||||
g_NumViser++;
|
||||
}
|
||||
|
||||
// wait method end
|
||||
|
||||
function proceedUnregister(challenge)
|
||||
{
|
||||
document.getElementById("text03-01").style.display='';
|
||||
document.getElementById("text03-01").innerHTML='<div align="center" class="headerBlueL"><table height="100%"><tr><td align="left" valign="middle">Now removing your account...</td></tr></table></div>';
|
||||
|
||||
unregister(challenge);
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
// Get challenge from OSS
|
||||
var challenge = '326952179';
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
proceedUnregister(challenge);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlackL" id="text01-01">
|
||||
<div align="left" class="style23">Remove WiiMart Account</div>
|
||||
</div>
|
||||
<div class="contentsBlackS_01" id="text02-01" align="left">
|
||||
<span id="deleteRecordDone" style="display:none">Your WiiMart account has been removed. <BR><BR>Thank you for using the WiiMart.</span>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="Progress">
|
||||
<div id="dynDiv1" class="contentsBlackS"></div>
|
||||
<div id="dynDiv2" class="contentsBlackS"></div>
|
||||
<div id="errDiv" class="contentsBlackS"></div>
|
||||
</div></div>
|
||||
<div align="left" id="errorCodeText"></div>
|
||||
|
||||
<div id="text02-02">
|
||||
</div>
|
||||
<div id="text03-01">
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
556
jsp/S_12.jsp
Normal file
556
jsp/S_12.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = 'An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('206601', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 206601</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
556
jsp/S_13.jsp
Normal file
556
jsp/S_13.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = 'An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('206601', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 206601</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
692
jsp/S_14.jsp
Normal file
692
jsp/S_14.jsp
Normal file
|
|
@ -0,0 +1,692 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Links -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<style type="text/css">
|
||||
/* For P_02: Prepaid Card Input Page */
|
||||
#text01-01 {
|
||||
/* title */
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:50px;
|
||||
top:89px;
|
||||
width:500px;
|
||||
height:46px;
|
||||
z-index:31;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:30px;
|
||||
top:284px;
|
||||
width:548px;
|
||||
height:23px;
|
||||
z-index:30;
|
||||
}
|
||||
#numberfield {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:311px;
|
||||
width:408px;
|
||||
height:50px;
|
||||
z-index:27;
|
||||
}
|
||||
#pointcard {
|
||||
position:absolute;
|
||||
left:185px;
|
||||
top:163px;
|
||||
width:233px;
|
||||
height:119px;
|
||||
z-index:29;
|
||||
}
|
||||
input {
|
||||
font-family: "Wii NTLG Gothic JPN Regular";
|
||||
font-size: 24px;
|
||||
background-color: #FFFFFF;
|
||||
letter-spacing: 0.1em;
|
||||
text-align: left;
|
||||
padding-left: 18px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
var cardPicCodes = new Array(new Array('JPN', "JP.gif"),
|
||||
new Array('USA', "USEU.gif"),
|
||||
new Array('EUR', "USEU.gif"),
|
||||
new Array('KOR', "KR.gif"));
|
||||
|
||||
function retry(errorName)
|
||||
{
|
||||
showElement("text02-01");
|
||||
showElement("inputs");
|
||||
hideElement(errorName);
|
||||
P_02_setUnderButtons();
|
||||
}
|
||||
|
||||
function validate()
|
||||
{
|
||||
// Check prepaid cardnumber is 16-digit
|
||||
var form = document.cardForm;
|
||||
if(form != null) {
|
||||
var number=document.getElementById("cardNumber").value;
|
||||
number=number.toUpperCase();
|
||||
if((number==null) || number.length != 16 || number.match(/[^A-Z0-9]+/)) {
|
||||
hideElement("text02-01");
|
||||
hideElement("inputs");
|
||||
showElement("invalidNum");
|
||||
setUnderButtonL(false);
|
||||
setUnderButtonR(false);
|
||||
setUnderButton(true, "Try Again", 'javascript:retry("invalidNum")', 'if(snd) snd.playSE(cSE_Cancel)');
|
||||
}
|
||||
else {
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("gameCardNum", number);
|
||||
}
|
||||
document.getElementById("cardNumber").value=number;
|
||||
initCommonFields('commonFields', true);
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function P_02_setUnderButtons() {
|
||||
setUnderButtonL(true, "Quit", "javascript:showPage('S_01.jsp')", "if(snd) snd.playSE(cSE_Cancel)");
|
||||
setUnderButtonR(true, "OK", "javascript:validate()", "if(snd) snd.playSE(cSE_Decide)");
|
||||
setUnderButton(false);
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif');
|
||||
setErrorMsg(OSS_ERROR_INVALID_GAMECARD_NUMBER, 'The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.');
|
||||
document.getElementById("text02-01").style.top='97px';
|
||||
document.getElementById("text03-01").style.top='252px';
|
||||
document.getElementById("numberfield").style.top='279px';
|
||||
P_02_setUnderButtons();
|
||||
disableWiiPointButton();
|
||||
|
||||
document.getElementById("rvconly").value = shop.isCompatibleMode;
|
||||
}
|
||||
|
||||
-->
|
||||
</script>
|
||||
<script type="text/JavaScript" src='/oss/oss/common/js//keyboard.js'></script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01" class="titleBlackM">Input Wii Download Ticket</div>
|
||||
<div id="text02-01" class="catalogTitleBlack_03">With a Wii Download Ticket, you can enter a code to download software.<BR><BR>If you need to download a title you’ve already redeemed, select "Titles You’ve Downloaded" from the main menu, and choose the title.</div>
|
||||
|
||||
<div id="inputs">
|
||||
<div id="text03-01" align="center" class="contentsBlueM">Please enter the Wii Download Ticket code.</div>
|
||||
<form id="cardForm" action="https://oss-auth.blinklab.com/oss/serv/B_31.jsp" method="post" name="cardForm">
|
||||
<input type="hidden" name="rvconly" id="rvconly" value=""/>
|
||||
<div id="commonFields"></div>
|
||||
<div id="typefield">
|
||||
<input type="hidden" name="cardType" value="gameCard"/>
|
||||
</div>
|
||||
<div id="numberfield" align="center">
|
||||
<input type="text" class="inputStyle" name="cardNumber" id="cardNumber" maxlength="16" size="25" onmousedown="if(kbd) kbd.call( cKT_LNoLFS, 2 );" value=""
|
||||
onmouseover="this.style.backgroundColor='#E6E6E6'; if(snd) snd.playSE( cSE_Forcus );" onmouseout="this.style.backgroundColor='#FFFFFF'"
|
||||
/>
|
||||
</div>
|
||||
<br><br>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="invalidNum" style="display:none">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
704
jsp/S_16.jsp
Normal file
704
jsp/S_16.jsp
Normal file
|
|
@ -0,0 +1,704 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Connection Ambassador Registration</title>
|
||||
<link href="/oss/oss/common/css/S_16.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var focus_obj = null;
|
||||
|
||||
function showAboutSCA()
|
||||
{
|
||||
hideElement("main");
|
||||
hideElement("aboutCSS");
|
||||
showElement("aboutSCA");
|
||||
setUnderButtonL(true, "Back", "javascript:showAboutCSS()", "wiiCancelSound()");
|
||||
setUnderButtonR(false);
|
||||
document.getElementById("catalogFrameAboutSCA").focus();
|
||||
scroll_obj = document.getElementById('catalogFrameAboutSCA');
|
||||
}
|
||||
|
||||
function showAboutCSS()
|
||||
{
|
||||
var isSCAEnabled = false;
|
||||
hideElement("main");
|
||||
showElement("aboutCSS");
|
||||
hideElement("aboutSCA");
|
||||
setUnderButtonL(true, "Back", "javascript:showMain()", "wiiCancelSound()");
|
||||
if(isSCAEnabled) {
|
||||
setUnderButtonR(true, "About the<BR>Connection Ambassador", "javascript:showAboutSCA()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButtonR(false);
|
||||
}
|
||||
document.getElementById("catalogFrameAboutCSS").focus();
|
||||
scroll_obj = document.getElementById('catalogFrameAboutCSS');
|
||||
}
|
||||
|
||||
function showMain()
|
||||
{
|
||||
showElement("main");
|
||||
hideElement("aboutCSS");
|
||||
hideElement("aboutSCA");
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "wiiCancelSound()");
|
||||
setUnderButtonR(true, "More Information", "javascript:showAboutCSS()", "wiiSelectSound()");
|
||||
scroll_obj = null;
|
||||
}
|
||||
|
||||
var scroll_step = 30;
|
||||
function kdown()
|
||||
{
|
||||
var _code = event.keyCode;
|
||||
var _obj1 = scroll_obj;
|
||||
if (_obj1 != null) {
|
||||
switch(_code)
|
||||
{
|
||||
case 175: //up
|
||||
case 38:
|
||||
_obj1.scrollTop -= scroll_step;
|
||||
break;
|
||||
case 176: //down
|
||||
case 40:
|
||||
_obj1.scrollTop += scroll_step;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/B023_VCsort_b.png',
|
||||
'/oss/oss/common/images//banner/ambassador_entrance_helpee_b.png',
|
||||
'/oss/oss/common/images//banner/ambassador_entrance_helper_b.png');
|
||||
disableWiiPointButton();
|
||||
showMain();
|
||||
|
||||
adjust_layout_S_16();
|
||||
}
|
||||
|
||||
function adjust_layout_S_16()
|
||||
{
|
||||
var r = ec.getDeviceInfo ();
|
||||
if (r.region == 'JPN' || r.region == 'KOR') {
|
||||
document.getElementById("text02-01").className = "catalogTitleBlack_02";
|
||||
} else if (r.region == 'USA' || r.region == 'EUR') {
|
||||
document.getElementById("text02-01").className = "contentsBlack_S_16";
|
||||
}
|
||||
}
|
||||
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onkeypress="kdown();" onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="position:absolute; left:0px; top:0px; width:1px; height:1px; z-index:6;">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="ktouch" width="1" height="1" border="0" id="ktouch"/>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<div id="text00-01" class="titleBlackM">
|
||||
Connection Ambassador Registration</div>
|
||||
|
||||
<div id="text02-01" class="catalogTitleBlack_02">
|
||||
With the Connection Ambassador Campaign, people who have connected their Wii console to the Internet can help other users get online, earning 500 Wii Points for both parties. To learn more, select More Information below. </div>
|
||||
|
||||
<div id="helperentrance" >
|
||||
<div class="banner">
|
||||
<img src="/oss/oss/common/images//banner/ambassador_entrance_helper_a.png" width="226" height="156" border="0" id="Image01" />
|
||||
</div>
|
||||
<div class="textspace" >
|
||||
<div class="tcell vh_inline_middle">
|
||||
<span class="buttonTextBlackM">
|
||||
Connection Ambassador</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer">
|
||||
<a href="javascript:showHelperRegister()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="Image01s" width="226" height="156" border="0" id="Image01s"
|
||||
onmouseover="MM_swapImage('Image01','','/oss/oss/common/images//banner/ambassador_entrance_helper_b.png',1);snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" />
|
||||
</a>
|
||||
</div>
|
||||
</div> <!-- //helperentrance -->
|
||||
|
||||
<div id="helpeeentrance">
|
||||
<div class="banner">
|
||||
<img src="/oss/oss/common/images//banner/ambassador_entrance_helpee_a.png" width="226" height="156" border="0" id="Image02" />
|
||||
</div>
|
||||
<div class="textspace">
|
||||
<div class="tcell vh_inline_middle">
|
||||
<span class="buttonTextBlackM">
|
||||
Person who was helped</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="spacer">
|
||||
<a href="javascript:showHelpeeRegister()">
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="Image02s" width="226" height="156" border="0" id="Image02s"
|
||||
onmouseover="MM_swapImage('Image02','','/oss/oss/common/images//banner/ambassador_entrance_helpee_b.png',1);snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()" onclick="snd.playSE(cSE_Decide);" />
|
||||
</a>
|
||||
</div>
|
||||
</div> <!-- //helpeeentrance -->
|
||||
|
||||
</div> <!-- //main -->
|
||||
|
||||
<div id="aboutCSS">
|
||||
<div id="text03" class="titleBlackM">
|
||||
More Information</div>
|
||||
<div id="catalogFrameAboutCSS" class="catalogFrame">
|
||||
<span class="catalogTitleBlack_04">Help someone connect their Wii<BR>console to the Internet, then follow<BR>these instructions to get 500 Wii<BR>Points.</span>
|
||||
<img src="/oss/oss/common/images//banner/ambassador_p1_1_E_en.png" border="0" id="imageAbout">
|
||||
<span class="aboutExplain catalogTitleBlack_04">Do you know someone whose Wii<BR>console isn't connected to the<BR>Internet?<BR><BR>Connect a Wii console to the Internet to play with people around the world,<BR>and purchase Wii-exclusive <BR>software and additional game content <BR>not available at retail outlets.<BR><BR>The Connection Ambassador Campaign<BR>is a program in which people who have<BR>connected their Wii console to the<BR>Internet can help other users get <BR>online, earning 500 Wii Points for both<BR>parties.<BR><BR>If you've already connected your Wii<BR>console to the Internet and happen to <BR>know someone who does not know<BR>how to do this, please assist that<BR>individual, giving advice on broadband<BR>connections, necessary devices,<BR>and settings. If that person connects<BR>to the Internet, you will both receive<BR>a reward of 500 Wii Points!<BR><BR>How to Register<BR>Once someone has established the Wii<BR>Internet connection with your help, the<BR>first thing to do is to access the Wii<BR>Shop Channel on that person's Wii <BR>console. Choose Settings/Other > Connection<BR>Ambassador Campaign > Assisted <BR>person, and then enter the Wii Number of the person who helped with the connection (your Wii Number).<BR>To redeem the points, some questions<BR>have to be answered. We are kindly<BR>asking for your assistance.<BR><BR>After entering the assisting person's<BR>Wii Number (your Wii Number), please connect to the WiiMart.<BR>Choose Connection Ambassador Campaign > Assisting person, and then enter the Wii Number of the assisted person.<BR><BR>Notes<BR>- The person who was helped has 30 days from first connecting to the WiiMart to register the helper's Wii Number. After that, the helper must register the helpee's Wii Number within 30 days. If this registration is not done within the designated time period, points will not be allotted, so please be careful.<BR>- A person who was helped to connect to the Internet can only register as a helpee once per Wii console.<BR>- A helper, through this process, can only collect points for 20 such registrations per Wii console. For the 21st registration and thereafter, the helper will not receive any more points. However, the individual who is helped will receive points.<BR>- Once a helper is given 500 Wii Points, he/she cannot register as a helpee.<BR>- If the individual who helped someone connect to the Internet has a Wii Point balance that exceeds 10,000 points as a result of points being added, that person cannot register to become a helper.<BR>- This campaign may end without notice.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="aboutSCA">
|
||||
<div id="text04" class="titleBlackM">
|
||||
About the Connection Ambassador</div>
|
||||
<div id="catalogFrameAboutSCA" class="catalogFrame">
|
||||
<span class="aboutExplain catalogTitleBlack_04">When the number of people you assist hits 10, you are designated a [Connection Ambassador 10]. As a bonus, you will be able to download the entire library of Nintendo titles for the NES free of charge.<BR><BR>When you reach 20 people, you are designated a [Connection Ambassador 20]. As a bonus, you will be able to download the entire library of titles for the NES, SNES, and Nintendo 64 free of charge.<BR><BR>At the point when you become a Connection Ambassador, any of these titles that you had already downloaded may be gifted once to a Wii Friend, also free of charge.<BR><BR>This campaign may end without notice.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
39
jsp/S_17.jsp
Normal file
39
jsp/S_17.jsp
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
39
jsp/S_18.jsp
Normal file
39
jsp/S_18.jsp
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
556
jsp/S_19.jsp
Normal file
556
jsp/S_19.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = 'An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('206601', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 206601</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
29
jsp/S_20.jsp
Normal file
29
jsp/S_20.jsp
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
29
jsp/S_21.jsp
Normal file
29
jsp/S_21.jsp
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
556
jsp/S_22.jsp
Normal file
556
jsp/S_22.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = 'An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('206601', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 206601</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
556
jsp/S_27.jsp
Normal file
556
jsp/S_27.jsp
Normal file
|
|
@ -0,0 +1,556 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>WiiMart</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:545px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
var next = '';
|
||||
if (next == null || next == '') {
|
||||
if (isPageJump() || isFatalError()) {
|
||||
setUnderButton(true, shop.menuBtn, "javascript:showWiiMenu()", "wiiSelectSound()");
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showBack()", "snd.playSE( cSE_Cancel );");
|
||||
}
|
||||
} else {
|
||||
setUnderButton(true, 'OK', "javascript:showPage(next)", "snd.playSE( cSE_Decide );");
|
||||
}
|
||||
var errorMsg;
|
||||
|
||||
|
||||
errorMsg = 'An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.';
|
||||
|
||||
|
||||
|
||||
setErrorMsg('206601', errorMsg);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<div align="left">WiiMart</div>
|
||||
</div>
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div><!--
|
||||
<div class="warningRed" id="error-code">
|
||||
Error Code: 206601</div>
|
||||
|
||||
<div class="contentsRedM" id="error-text">
|
||||
</div>
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
685
jsp/S_30.jsp
Normal file
685
jsp/S_30.jsp
Normal file
|
|
@ -0,0 +1,685 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Title name -->
|
||||
<!-- Controller image and message -->
|
||||
<!-- Release Date -->
|
||||
<!-- Number of players -->
|
||||
<!-- Title Rating Images -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<html style="overflow:hidden">
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>One Free Title</title>
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
/* Top-Left Page Title */
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:32;
|
||||
}
|
||||
|
||||
/* Main ICR Explaination */
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:88px;
|
||||
width:540px;
|
||||
height:200px;
|
||||
z-index:37;
|
||||
}
|
||||
|
||||
/* ICR Caution */
|
||||
#text02-02 {
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:294px;
|
||||
width:540px;
|
||||
height:60px;
|
||||
z-index:37;
|
||||
}
|
||||
|
||||
/* ICR BackGround */
|
||||
#icrBackground {
|
||||
position:absolute ;
|
||||
left: 51px;
|
||||
top :93px;
|
||||
z-index:2;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif',
|
||||
'/oss/oss/common/images//banner/help_b.gif',
|
||||
'/oss/oss/common/images//banner/top_b.gif',
|
||||
'/oss/oss/common/images//banner/buy_b.gif',
|
||||
'/oss/oss/common/images//banner/controller_msg2_E_en.gif',
|
||||
'/oss/oss/common/images//banner/B01_halfbanner_a.png',
|
||||
'/oss/oss/common/images//banner/B01_halfbanner_b.png',
|
||||
'/oss/oss/common/images//banner/point_gray.png');
|
||||
|
||||
|
||||
setUnderButtonL(true, "Back", "javascript:showBack()", "wiiCancelSound()");
|
||||
|
||||
if (snd && "playBGM" in snd) {
|
||||
snd.playBGM();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
setUnderButtonR(true, "OK", "javascript:showPage('B_04.jsp?icr=true')", "wiiSelectSound()");
|
||||
|
||||
|
||||
|
||||
var wifiIndicator = parseInt('');
|
||||
trace("WiFi indicator: "+wifiIndicator);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div id="constElements">
|
||||
<div id="tophelpshadow"><img src="/oss/oss/common/images//banner/top_help_shadow01.gif" width="132" height="75" /></div>
|
||||
<div id="help">
|
||||
<img src="/oss/oss/common/images//banner/help_a.gif" name="ManualImage"
|
||||
width="52" height="55" border="0" id="ManualImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('ManualImage','','/oss/oss/common/images//banner/help_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHelp(); wiiSelectSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/help_gray.gif"
|
||||
width="52" height="55" border="0" id="ManualGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="HelpSpacer" width="52" height="55" border="0"
|
||||
id='HelpSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div id="top">
|
||||
<img src="/oss/oss/common/images//banner/top_a.gif" name="TopImage"
|
||||
width="52" height="55" border="0" id="TopImageID" onmouseout="MM_swapImgRestore()"
|
||||
onmouseover="MM_swapImage('TopImage','','/oss/oss/common/images//banner/top_b.gif',1); wiiFocusSound();"
|
||||
onclick="showHome(); wiiCancelSound();"/>
|
||||
<img src="/oss/oss/common/images//banner/top_gray.gif"
|
||||
width="52" height="55" border="0" id="TopGrayImageID" style="display:none" />
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="MainSpacer" width="52" height="55" border="0"
|
||||
id='MainSpacer' style="position:absolute; top:0px; left:0px; display:none"/>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="upperLineLong" style="display:none">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div id='balanceInfo' onclick="showPoints(); wiiSelectSound();"
|
||||
onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();"
|
||||
onmouseout="MM_swapImgRestore();">
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="sdErrorDiv">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<div align="left" class="warningRed" id="errorCodeText" style="display:none">
|
||||
Error Code: <span id="errorCodePlaceholder"></span></div>
|
||||
|
||||
<div align="left" class="contentsRedM" id="errorText" style="display:none">
|
||||
<span id="errorTextPlaceholder"></span>
|
||||
</div></div>
|
||||
|
||||
<div id="text01-01">
|
||||
<div align="left" class="titleBlackL">One Free Title</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text02-01">
|
||||
<div align="center" class="contentsBlackM">
|
||||
<table height="100%">
|
||||
<tr>
|
||||
<td align="left" valign="middle">
|
||||
To customers who downloaded the Internet Channel<BR>for 500 Wii Points:<BR><BR>In accordance with the Internet Channel<BR>becoming free of charge, you can now download one<BR>NES title (worth 500 Wii Points) free of charge.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="text02-02">
|
||||
<div align="center" class="contentsBlackM">
|
||||
<table height="100%">
|
||||
<tr>
|
||||
<td align="left" valign="middle">
|
||||
Please note that this offer will expire<BR>on December 31st, 2009.</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="icrBackground">
|
||||
<img src="/oss/oss/common/images//banner/S_30_back.png" border="0" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
549
jsp/TestSettings.jsp
Normal file
549
jsp/TestSettings.jsp
Normal file
|
|
@ -0,0 +1,549 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>???settings.title???</title>
|
||||
<script language="javascript">
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
initCommonFields("commonFields");
|
||||
showTestSettings();
|
||||
}
|
||||
|
||||
function showSelectedOption(listId, value)
|
||||
{
|
||||
var list = document.getElementById(listId);
|
||||
if (list != null) {
|
||||
list.selectedIndex = -1;
|
||||
for (i = 0; i < list.options.length; i++) {
|
||||
var option = list.options[i];
|
||||
if (option.value == value) {
|
||||
list.selectedIndex = option.index;
|
||||
return list.selectedIndex;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function setDefault(listId)
|
||||
{
|
||||
var list = document.getElementById(listId);
|
||||
if (list != null) {
|
||||
if (list.options.length > 0) {
|
||||
list.selectedIndex = 0;
|
||||
return list.selectedIndex;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
<!--
|
||||
<%
|
||||
String region = request.getParameter("region") == null ? "USA" : request.getParameter("region");
|
||||
String country = request.getParameter("country") == null ? "US" : request.getParameter("country");
|
||||
String language = request.getParameter("language") == null ? "en" : request.getParameter("language");
|
||||
%>
|
||||
-->
|
||||
function showTestSettings()
|
||||
{
|
||||
var agefield = document.getElementById("ageField");
|
||||
if (agefield != null) {
|
||||
agefield.value = '';
|
||||
}
|
||||
var ind;
|
||||
ind = showSelectedOption("regionList", '<%= region%>');
|
||||
ind = showSelectedOption("countryList", '<%= country %>');
|
||||
if (ind == null) {
|
||||
ind = setDefault("countryList");
|
||||
if (ind >= 0) {
|
||||
changeCountry();
|
||||
}
|
||||
}
|
||||
ind = showSelectedOption("languageList", '<%= language %>;<%= language %>_<%= country %>');
|
||||
|
||||
if (ind == null) {
|
||||
ind = setDefault("languageList");
|
||||
if (ind >= 0) {
|
||||
changeLanguage();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function changeRegion()
|
||||
{
|
||||
var regionlist = document.getElementById("regionList");
|
||||
if (regionlist != null) {
|
||||
var region = regionlist.options[regionlist.selectedIndex].value;
|
||||
ec.setRegion(region);
|
||||
replacePage("TestSettings.jsp?region=" + region);
|
||||
}
|
||||
}
|
||||
|
||||
function changeLanguage()
|
||||
{
|
||||
var languagelist = document.getElementById("languageList");
|
||||
if (languagelist != null) {
|
||||
var s = languagelist.options[languagelist.selectedIndex].value;
|
||||
var i = s.indexOf(';');
|
||||
var language = s.substr(0, i);
|
||||
var locale = s.substr(i+1);
|
||||
ec.setLanguage(language);
|
||||
replacePage("TestSettings.jsp?language=" + language + "&locale=" + locale);
|
||||
}
|
||||
}
|
||||
|
||||
function changeCountry()
|
||||
{
|
||||
var countrylist = document.getElementById("countryList");
|
||||
if (countrylist != null) {
|
||||
var country = countrylist.options[countrylist.selectedIndex].value;
|
||||
ec.setCountry (country);
|
||||
replacePage("TestSettings.jsp?country=" + country);
|
||||
}
|
||||
}
|
||||
|
||||
function validate()
|
||||
{
|
||||
var submitOK = true;
|
||||
|
||||
var agefield = document.getElementById("ageField");
|
||||
if (agefield != null) {
|
||||
var age = agefield.value;
|
||||
if (age.length > 0 && (isNaN(age)||age<1||age>100))
|
||||
{
|
||||
alert("The age must be a number between 1 and 100");
|
||||
submitOK = false;
|
||||
} else {
|
||||
ec.setAge(age);
|
||||
}
|
||||
}
|
||||
|
||||
return submitOK;
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<center>
|
||||
<H2>Thanks you for visiting the online store</H2>
|
||||
|
||||
<TABLE width="60%">
|
||||
<BR>
|
||||
</TABLE>
|
||||
</center>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
2457
jsp/W_01-new.jsp
Normal file
2457
jsp/W_01-new.jsp
Normal file
File diff suppressed because it is too large
Load diff
3901
jsp/W_01.jsp
Normal file
3901
jsp/W_01.jsp
Normal file
File diff suppressed because it is too large
Load diff
566
jsp/W_02.jsp
Normal file
566
jsp/W_02.jsp
Normal file
|
|
@ -0,0 +1,566 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Important Info:</title>
|
||||
<style type="text/css">
|
||||
/* W_02: Welcome - Important Info */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:38;
|
||||
}
|
||||
#goodsdetails {
|
||||
position:absolute;
|
||||
left:35px;
|
||||
top:80px;
|
||||
width:540px;
|
||||
height:260px;
|
||||
z-index:30;
|
||||
}
|
||||
#title02 {
|
||||
position:absolute;
|
||||
left:9px;
|
||||
top:2px;
|
||||
width:521px;
|
||||
height:20px;
|
||||
z-index:32;
|
||||
overflow:hidden;
|
||||
}
|
||||
#free {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:27px;
|
||||
width:540px;
|
||||
height:272px;
|
||||
z-index:31;
|
||||
}
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
setUnderButtonL(true, "Back", "javascript:showPage('W_01.jsp')", "snd.playSE(cSE_Cancel)");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/JavaScript">MM_preloadImages('/oss/oss/common/images//banner/Addpoints_everywhere.gif');</script>
|
||||
<img src="/oss/oss/common/images//spacer.gif" name="PointSpacer" width="130" height="55" border="0"
|
||||
id='PointSpacer' style="position:absolute; top:376px; left:239px; z-index:20;"/>
|
||||
<div id="Wiipoint" onclick="showPoints(); wiiSelectSound();" onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();" onmouseout="MM_swapImgRestore();">
|
||||
<div align="center" class="buttonTextBlackM">Wii Points</div>
|
||||
</div>
|
||||
<div id="point" onclick="showPoints(); wiiSelectSound();" onmouseover="MM_swapImage('PointSpacer','','/oss/oss/common/images//banner/Addpoints_everywhere.gif',1);wiiFocusSound();" onmouseout="MM_swapImgRestore();">
|
||||
<div class="wiiPoint"><span id="currentBalance"></span></div>
|
||||
</div>
|
||||
<div id="text01-01">
|
||||
<div align="left" class="titleBlackL">Important Info:</div>
|
||||
</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div id="goodsdetails">
|
||||
<div id="title02">
|
||||
<div nowrap align="center">
|
||||
<div align="left"><span style="overflow:hidden" class="headerWhiteM"><script language="JavaScript">document.write('[NEW] Welcome to the WiiMart Revival Project!'.replace('[NEW]', '<img src="/oss/oss/common/images//banner/NEW_en.gif"> '));</script></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<img src="/oss/oss/common/images//banner/box.gif" width="540" height="272" />
|
||||
<div id="free">
|
||||
<iframe src="W_02_1.jsp?titleId=0001000157414945" frameborder="0" style="border:solid 1px #FFFFFF;" scrolling="Auto" width="530" height="240"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
451
jsp/W_02_1.jsp
Normal file
451
jsp/W_02_1.jsp
Normal file
|
|
@ -0,0 +1,451 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>Important Info:</title>
|
||||
<style type="text/css">
|
||||
/* W_02_1: Welcome - Important Info */
|
||||
.textImportantInfo {
|
||||
font-family: "Wii NTLG PGothic";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
#text {
|
||||
position:absolute;
|
||||
left:10px;
|
||||
right:10px;
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</head>
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<div id="text" style="overflow:hidden" class="textImportantInfo" >
|
||||
Welcome to the WiiMart! If you encounter any errors,
|
||||
<br>
|
||||
be sure to report them in the discord server in #support.
|
||||
<br><br>
|
||||
Happy shopping!
|
||||
|
||||
- Ocarina
|
||||
</body>
|
||||
</html>
|
||||
1026
jsp/W_03.jsp
Normal file
1026
jsp/W_03.jsp
Normal file
File diff suppressed because it is too large
Load diff
673
jsp/W_04.jsp
Normal file
673
jsp/W_04.jsp
Normal file
|
|
@ -0,0 +1,673 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<html>
|
||||
<head>
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<link href="/oss/oss/common/css/oss.css" rel="stylesheet" type="text/css" />
|
||||
<link href="/oss/oss/common/css/error.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var ecCheck = false;
|
||||
var errorCheck = false;
|
||||
var buttonsCheck = false;
|
||||
var imagesCheck = false;
|
||||
var soundCheck = false;
|
||||
var shopCheck = false;
|
||||
var ossCheck = false;
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
var testMode = 'false';
|
||||
|
||||
function getMethod()
|
||||
{
|
||||
return 'GET';
|
||||
}
|
||||
|
||||
function getPostParams()
|
||||
{
|
||||
var params = "";
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
function isConnectingPage()
|
||||
{
|
||||
var isConnecting = '';
|
||||
return (isConnecting == 'true');
|
||||
}
|
||||
|
||||
function initPageCommon()
|
||||
{
|
||||
var isShoppingManualEnabled = "true";
|
||||
if (ecSupportsSession()) {
|
||||
isShoppingManualEnabled = ec.getSessionValue("isShopManEnabled");
|
||||
}
|
||||
|
||||
if (isShoppingManualEnabled != "true") {
|
||||
hideElement("tophelpshadow");
|
||||
hideElement("help");
|
||||
}
|
||||
|
||||
var ecsUrl = null;
|
||||
var iasUrl = null;
|
||||
var ccsUrl = null;
|
||||
var ucsUrl = null;
|
||||
var currBalance = null;
|
||||
|
||||
// js file loading check
|
||||
var shopErrCheck = new wiiShop();
|
||||
if (shopErrCheck != null && "error" in shopErrCheck) {
|
||||
// shopErrCheck.error(209620, 1);
|
||||
if (!ecCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!errorCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!buttonsCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!imagesCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!soundCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!shopCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
} else if (!ossCheck) {
|
||||
shopErrCheck.error(209620, 1);
|
||||
}
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
// Cancel any ongoing async ops
|
||||
ec.cancelOperation();
|
||||
|
||||
|
||||
ecsUrl = 'https://ecs.blinklab.com/ecs/services/ECommerceSOAP';
|
||||
|
||||
iasUrl = 'https://ias.blinklab.com/ias/services/IdentityAuthenticationSOAP';
|
||||
|
||||
ccsUrl = 'http://ccs.cdn.blinklab.com/ccs/download';
|
||||
|
||||
ucsUrl = 'https://ccs.blinklab.com/ccs/download';
|
||||
|
||||
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
|
||||
|
||||
|
||||
imagesPath = "/oss/oss/common/images/";
|
||||
htmlPath = "/oss/oss/common/html";
|
||||
ossPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
secureOssPath = "https://oss-auth.blinklab.com/oss/serv/";
|
||||
|
||||
ecTimeout = new ECTimeout(parseInt("60000"));
|
||||
|
||||
|
||||
currBalance = document.getElementById("currentBalance");
|
||||
if(currBalance) {
|
||||
currBalance.innerHTML = getBalance();
|
||||
}
|
||||
|
||||
setLogUrl("Log.jsp");
|
||||
|
||||
if(shop.isCompatibleMode)
|
||||
{
|
||||
setEulaUrl("L_01.jsp");
|
||||
}
|
||||
else
|
||||
{
|
||||
setEulaUrl("L_03_UA_1.jsp");
|
||||
}
|
||||
|
||||
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_a.gif');
|
||||
var supportsCreditCard = 'true';
|
||||
if (ecSupportsSession()) {
|
||||
ec.setSessionValue("supportsCreditCard", supportsCreditCard);
|
||||
}
|
||||
|
||||
updateHistory();
|
||||
var isConnecting = isConnectingPage();
|
||||
setConnectingToServer(isConnecting);
|
||||
|
||||
if (isHRPDisablePage()) {
|
||||
wiiDisableHRP();
|
||||
} else {
|
||||
wiiEnableHRP();
|
||||
}
|
||||
}
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
|
||||
|
||||
// Takes a progress object and returns the OSS error message to be displayed to the user
|
||||
function getOssErrorMsg(progress)
|
||||
{
|
||||
if (progress.status >= 0) { return ""; }
|
||||
|
||||
var status = progress.status;
|
||||
var errCode = progress.errCode;
|
||||
var errInfo = progress.errInfo;
|
||||
|
||||
var msg;
|
||||
|
||||
var a = new Array();
|
||||
// EC lib Errors
|
||||
//a[-(EC_ERROR_CANCELED)] = "???OSS_ERROR_NETWORK_TIMEOUT???";
|
||||
a[-(EC_ERROR_NET_NA)] = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ECARD)] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_REGISTER)] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[-(EC_ERROR_ALREADY_OWN)] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
msg = a[-status];
|
||||
|
||||
if (status == EC_ERROR_WS_REPORT) {
|
||||
msg = getWebServiceErrorMsg(errCode, errInfo);
|
||||
} else if (status == EC_ERROR_NET_CONTENT ||
|
||||
status == EC_ERROR_FAIL ||
|
||||
status == EC_ERROR_WS_RECV) {
|
||||
if (errCode != null && errCode < 0) {
|
||||
var httpStatus = errCodeToHTTPStatus(errCode);
|
||||
var nhttpStatus = errCodeToNHTTPStatus(errCode);
|
||||
if (nhttpStatus == 0 && shop.isCompatibleMode) {
|
||||
msg = "There was a network error. Check your settings under the Internet option in System Settings on the Wii U Menu.";
|
||||
} else if (nhttpStatus == 0) {
|
||||
msg = "There was a network error. Please check your Internet settings and your network configuration.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
} else if (nhttpStatus != 0) {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (msg == null || msg == '') {
|
||||
msg = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
function setErrorHtmlMsg(elem, errorCode, errorMsg)
|
||||
{
|
||||
var html =
|
||||
'<span class="warningRed">'
|
||||
+ "Error Code: <span id='errorCode'></span></span>"
|
||||
+ '<BR><span class="contentsRedM">' + errorMsg + '</span>';
|
||||
elem.innerHTML = html;
|
||||
document.getElementById("errorCode").innerHTML = errorCode;
|
||||
}
|
||||
|
||||
function setErrorHtml(elem, progress)
|
||||
{
|
||||
if (elem != null) {
|
||||
var errorCode = getOssErrorCode(progress);
|
||||
var errorMsg = getOssErrorMsg(progress);
|
||||
setErrorHtmlMsg(elem, errorCode, errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Web service error messages
|
||||
// (only include message that may potentially be displayed to user)
|
||||
// (errCode is progress.errCode from a web service)
|
||||
// (errInfo is progress.errInfo from a web service)
|
||||
function getWebServiceErrorMsg(errCode, errInfo)
|
||||
{
|
||||
var a = new Array();
|
||||
|
||||
// ECS Errors
|
||||
a[617] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[618] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[623] = "You have downloaded this title before, and your trial period has expired. You cannot redownload it.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[642] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[643] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[644] = "Credit cards cannot be used on this console.<BR><BR>Please visit support.nintendo.com for assistance.";
|
||||
a[645] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ECS Gift Errors
|
||||
a[646] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[621] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[626] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[625] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// ETS Errors
|
||||
a[705] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[706] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[707] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
|
||||
// PAS Errors
|
||||
a[810] = "An error has occurred while redeeming your Wii Download Ticket.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[811] = "The Wii Points Card you entered has expired.";
|
||||
//a[812] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[813] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
//a[814] = "???OSS_ERROR_ECARD_NOT_USABLE???";
|
||||
a[815] = "This Wii Points Card has already been redeemed.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[819] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[826] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[829] = "The server is busy.<BR><BR>Please try again later.";
|
||||
a[830] = "The Wii Points Card activation number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[831] = "This Wii Points Card cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
// IAS Errors
|
||||
a[901] = "The Wii Number you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[903] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[928] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[958] = "An error has occurred that cannot be resolved at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[942] = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
a[943] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
a[941] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
|
||||
// More IAS Errors
|
||||
a[1401] = "An error occurred while linking the Username. Please check the Username and password and try again.<BR><BR>If you have forgotten your Username or password, please visit club.nintendo.com.";
|
||||
a[1402] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1403] = "Due to restrictions on your Club Nintendo Membership, it cannot be linked to this WiiMart account.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1499] = "Unable to confirm the Username at this time. The server is currently undergoing maintenance.<BR><BR>Sorry for the inconvenience. Please try again later.";
|
||||
|
||||
// OSS Errors
|
||||
a[1610] = "The Wii Download Ticket you entered has expired.";
|
||||
a[1611] = "The Wii Download Ticket code you entered is incorrect.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1612] = "This Wii Download Ticket cannot be used in your country.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[1613] = "There is no software available at this time for the Wii Download Ticket code you entered. Please check that you have entered the correct code.<BR><BR>NOTE: If you have activated Parental Controls, you may not be able to view all available software in the WiiMart. Please check your Parental Controls settings.";
|
||||
|
||||
|
||||
var msg = a[errCode];
|
||||
if(msg == null || msg == "") { // default errors
|
||||
if ((errCode >= 1400 &&
|
||||
errCode <= 1499)) {
|
||||
msg = "Unable to confirm the Username at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance if this continues.";
|
||||
}
|
||||
}
|
||||
return msg;
|
||||
}
|
||||
|
||||
// NOA errors
|
||||
function getNOAError(code)
|
||||
{
|
||||
var a=new Array();
|
||||
|
||||
a[NOA_ERROR_CountyRequired] = "County is required.<BR><BR>Please try again.";
|
||||
a[NOA_ERROR_FoundOnBlacklist] = "Unable to process.<BR><BR>For more information, visit support.nintendo.com.";
|
||||
a[NOA_ERROR_BillingAddress] = "The information you’ve entered regarding your credit-card billing address is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCardType] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidVfyValue] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCcNumberAndExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidCreditCardNumber] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidExpDate] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_InvalidPostalCode] = "The postal code does not match the country settings entered in your Wii Settings.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_ERROR_TechnicalDifficulties] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
a[NOA_ERROR_TryAgainLater] = "Unable to confirm credit-card information at this time. Please try again later.<BR><BR>Visit support.nintendo.com for assistance.";
|
||||
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Funds] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Inactive] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Exp] = "The credit-card expiration date is invalid.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Code] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_CCNum] = "This credit-card number is invalid.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Limit] = "This credit card can’t be used.<BR><BR>Please contact your credit-card company for more information.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_Invalid] = "The credit-card information you’ve entered is incorrect.<BR><BR>Please verify the information and try again.";
|
||||
a[NOA_RESULT_ERROR_CreditCardDeclined_AVS] = "Billing zip/postal code is invalid. Please verify the information and try again. ";
|
||||
|
||||
a[NOA_ERROR_EmptyVfyValue] = "Please enter the three-digit security code.";
|
||||
|
||||
var msg = a[code];
|
||||
return msg;
|
||||
}
|
||||
|
||||
// IAS errors
|
||||
function isLoyaltyError(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode >= 1400 &&
|
||||
progress.errCode <= 1499) ||
|
||||
(progress.errCode == 942) ||
|
||||
(progress.errCode == 943) ||
|
||||
(progress.errCode == 941)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needCheckRegistration(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if ((progress.errCode == 903) ||
|
||||
(progress.errCode == 642) ||
|
||||
(progress.errCode == 625)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function needSyncEticket(progress)
|
||||
{
|
||||
if (progress.status == EC_ERROR_WS_REPORT) {
|
||||
if (progress.errCode == 621) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
<title>You got a gift!</title>
|
||||
<style type="text/css">
|
||||
/* B_10: Receiving */
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:442px;
|
||||
height:28px;
|
||||
z-index:47;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:20px;
|
||||
top:84px;
|
||||
width:568px;
|
||||
height:18px;
|
||||
z-index:31;
|
||||
}
|
||||
#free03 {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:162px;
|
||||
width:270px;
|
||||
height:50px;
|
||||
z-index:30;
|
||||
}
|
||||
#pointcost01 {
|
||||
position:absolute;
|
||||
left:315px;
|
||||
top:162px;
|
||||
width:100px;
|
||||
height:18px;
|
||||
z-index:29;
|
||||
}
|
||||
#blockcost03 {
|
||||
position:absolute;
|
||||
left:315px;
|
||||
top:187px;
|
||||
width:100px;
|
||||
height:18px;
|
||||
z-index:28;
|
||||
}
|
||||
#blockcost03_k {
|
||||
position:absolute;
|
||||
left:315px;
|
||||
top:183px;
|
||||
width:100px;
|
||||
height:18px;
|
||||
z-index:28;
|
||||
}
|
||||
#pointword01 {
|
||||
position:absolute;
|
||||
left:425px;
|
||||
top:162px;
|
||||
width:160px;
|
||||
height:50px;
|
||||
z-index:27;
|
||||
}
|
||||
#text03-01 {
|
||||
position:absolute;
|
||||
left:27px;
|
||||
top:210px;
|
||||
width:554px;
|
||||
height:18px;
|
||||
z-index:25;
|
||||
}
|
||||
.style33 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular"
|
||||
}
|
||||
.style34 {
|
||||
font-size: 15px;
|
||||
color: #34BEED;
|
||||
}
|
||||
#bannershadow { position:absolute;
|
||||
left:199px;
|
||||
top:289px;
|
||||
width:211px;
|
||||
height:75px;
|
||||
z-index:35;
|
||||
}
|
||||
#wordL { position:absolute;
|
||||
left:214px;
|
||||
top:311px;
|
||||
width:180px;
|
||||
height:22px;
|
||||
z-index:38;
|
||||
}
|
||||
#spacerL { position:absolute;
|
||||
left:211px;
|
||||
top:297px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
z-index:39;
|
||||
}
|
||||
#bannerL { position:absolute;
|
||||
left:211px;
|
||||
top:297px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
z-index:37;
|
||||
}
|
||||
#text04-01 {
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:210px;
|
||||
width:530px;
|
||||
height:18px;
|
||||
z-index:42;
|
||||
}
|
||||
#text05-01 {
|
||||
position:absolute;
|
||||
left:40px;
|
||||
top:235px;
|
||||
width:530px;
|
||||
height:18px;
|
||||
z-index:42;
|
||||
}
|
||||
#progressBar {
|
||||
position:absolute;
|
||||
left:100px;
|
||||
top:295px;
|
||||
width:400px;
|
||||
z-index:26;
|
||||
}
|
||||
.style35 {
|
||||
font-size: 12px
|
||||
}
|
||||
#TitleName2stline {
|
||||
position:absolute;
|
||||
left:64px;
|
||||
top:133px;
|
||||
width:480px;
|
||||
z-index:33;
|
||||
}
|
||||
#textIcrExpire {
|
||||
position:absolute;
|
||||
left:36px;
|
||||
top:88px;
|
||||
width:540px;
|
||||
height:200px;
|
||||
z-index:37;
|
||||
}
|
||||
/* B_11: Receiving Error */
|
||||
/* see B_10.css */
|
||||
/* B_12: Receiving Successful */
|
||||
/* see B_10.css */
|
||||
</style>
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
|
||||
function initPage()
|
||||
{
|
||||
initPageCommon();
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
|
||||
setUnderButton(true, "OK", "javascript:showGiftTitles()", "wiiSelectSound()");
|
||||
document.getElementById("underButton").style.top='378px';
|
||||
|
||||
if (snd && "playBGM" in snd) {
|
||||
snd.playBGM();
|
||||
}
|
||||
if(getInitialPage() == null) {
|
||||
setInitialPage("javascript:showInitialPage(false, false)");
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {
|
||||
background-image: url(/oss/oss/common/images//back/bg_present.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body onload="initPage();var shop = new wiiShop();var unused = shop.connecting;">
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<script language="JavaScript">MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');</script>
|
||||
<div id="underButtonL" style="display:none">
|
||||
<div id="underbannershadowL" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerL" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgL" />
|
||||
</div>
|
||||
<div id="underspacerL" class="buttonSpacer">
|
||||
<a href="" id="underlinkL">
|
||||
<img id="underimageL" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgL','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordL" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButtonR" style="display:none">
|
||||
<div id="underbannershadowR" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" />
|
||||
</div>
|
||||
<div id="underbannerR" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImgR" />
|
||||
</div>
|
||||
<div id="underspacerR" class="buttonSpacer">
|
||||
<a href="" id="underlinkR">
|
||||
<img id="underimageR" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImgR','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus ); "
|
||||
onmouseout="MM_swapImgRestore()"/>
|
||||
</a>
|
||||
</div>
|
||||
<div id="underwordR" align="center" class="buttonTextBlackM buttonWord">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="text01-01">
|
||||
<div align="left" class="titleBlackL">You got a gift!</div>
|
||||
</div>
|
||||
|
||||
<div id="giftConfirm" style="position:absolute; left:36px; top:88px; width:540px; height:277px; z-index:37">
|
||||
<div align="center">
|
||||
<div align="center"><table height="100%"><tr><td align="left" valign="middle"><span id="rcvHead" class="buttonTextBlackM">A gift is waiting for you that<BR>you haven’t downloaded yet.<BR>Please download or return the gift.</span></td></tr></table></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
46
jsp/class.jsp
Normal file
46
jsp/class.jsp
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<%@ page import="com.databaseclass.MyDatabaseClass, java.io.*, java.util.*" %>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p>hi</p>
|
||||
<% MyDatabaseClass myClass=new MyDatabaseClass(); String msg=myClass.connect(); %>
|
||||
<script type="text/javascript">
|
||||
function createPostForm(name, url, otherFields) {
|
||||
var form;
|
||||
form = document.getElementById(name);
|
||||
if (form == null) {
|
||||
form = document.createElement("form");
|
||||
form.action = url;
|
||||
form.method = "post";
|
||||
form.id = name;
|
||||
document.body.appendChild(form);
|
||||
}
|
||||
var formHTML = "";
|
||||
formHTML += otherFields;
|
||||
form.innerHTML = formHTML;
|
||||
return form;
|
||||
}
|
||||
function connect() {
|
||||
return "<%= msg %>"
|
||||
}
|
||||
function query(statement) {
|
||||
var form = createPostForm('myForm', '/oss/serv/class.jsp', '<input type="hidden" name="statement" value="'+statement+'"/>')
|
||||
form.submit();
|
||||
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
<%
|
||||
String statement = request.getParameter("statement");
|
||||
if (statement==null) {
|
||||
out.println("No statement");
|
||||
} else {
|
||||
out.println(myClass.query(statement));
|
||||
}
|
||||
%>
|
||||
|
||||
</html>
|
||||
29
jsp/debug.jsp
Normal file
29
jsp/debug.jsp
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Debug</title>
|
||||
<style>
|
||||
#consoleOutput {
|
||||
top: 130px;
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body onload="var ec = new ECommerceInterface();document.getElementById('consoleOutput').value = ec.getLog();document.getElementById('myP').innerText = ec.getLog();">
|
||||
<a href="javascript:history.back()">Return to Shop</a>
|
||||
<a href="javascript:window.location.reload()">Reload</a>
|
||||
<textarea id="consoleOutput" rows="16" style="width: 100%" readonly>EC Logging</textarea>
|
||||
<!--xml.setRequestHeader('Content-Type', 'text/html');-->
|
||||
<script>
|
||||
function sendLog() {
|
||||
var xml = new XMLHttpRequest();
|
||||
xml.open('POST', 'https://oss-auth.blinklab.com/oss/ecs/log');
|
||||
xml.send(document.getElementById('myP').innerText);
|
||||
}
|
||||
</script>
|
||||
<!-- <button onclick="var x = new wiiShop();x.rebootSystem()/*sendLog();*/">DO NOT PUSH THIS BUTTON AT ALL COSTS!!!!!!!</button>-->
|
||||
<button onclick="sendLog();">Send log to server for support (ONLY PRESS IF SUPPORT IS NEEDED)</button>
|
||||
<p id="myP" style="display: none;"></p>
|
||||
</body>
|
||||
</html>
|
||||
33
jsp/debugMode.jsp
Normal file
33
jsp/debugMode.jsp
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/index.jsp">index</a>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="/oss/oss/common/js/oss.js"></script>
|
||||
<script src="/oss/oss/common/js/shop.js"></script>
|
||||
<script src="/oss/oss/common/js/json2.js"></script>
|
||||
</head>
|
||||
<body onload="var x = new wiiShop();var unused = x.connecting">
|
||||
<script>
|
||||
function checkRegistration() {
|
||||
var ecsUrl = 'https://oss-auth.blinklab.com/oss/ecs/services/ECommerceSOAP';
|
||||
var iasUrl = 'https://oss-auth.blinklab.com/oss/ias/services/IdentityAuthenticationSOAP';
|
||||
var ccsUrl = 'http://oss-auth.blinklab.com/ccs/download';
|
||||
var ucsUrl = 'http://oss-auth.blinklab.com/ccs/download';
|
||||
ec.setWebSvcUrls(ecsUrl, iasUrl);
|
||||
ec.setContentUrls (ccsUrl, ucsUrl);
|
||||
var progress = ec.checkRegistration();
|
||||
opName = "Check Registration";
|
||||
opDesc = "Checking Registration";
|
||||
finishOp(opName, opDesc, progress, "onCheckRegistrationDone");
|
||||
}
|
||||
function onCheckRegistrationDone(progress) {
|
||||
showResult (progress, opName, opDesc);
|
||||
trace(JSON.stringify(progress));
|
||||
}
|
||||
</script>
|
||||
<button onclick="checkRegistration()">check registration</button>
|
||||
</body>
|
||||
</html>
|
||||
40
jsp/getTitle.jsp
Normal file
40
jsp/getTitle.jsp
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
<%
|
||||
String customHeader1 = "platform";
|
||||
String customValue1 = request.getParameter("platform") == null ? "WII" : request.getParameter("platform");
|
||||
String customHeader2 = "X-Custom-Header2";
|
||||
String customValue2 = request.getParameter("p") == null ? "1" : request.getParameter("p");
|
||||
String vcParam = request.getParameter("vc") != null ? "&vc=true" : "";
|
||||
String targetURL = "http://oss-auth.blinklab.com/getTitles?p=" + customValue2 + vcParam;
|
||||
StringBuilder res = new StringBuilder();
|
||||
|
||||
try {
|
||||
URL url = new URL(targetURL);
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setRequestMethod("GET");
|
||||
|
||||
// Set custom headers
|
||||
connection.setRequestProperty(customHeader1, customValue1);
|
||||
connection.setRequestProperty(customHeader2, customValue2);
|
||||
|
||||
int responseCode = connection.getResponseCode();
|
||||
BufferedReader reader;
|
||||
|
||||
if (responseCode == HttpURLConnection.HTTP_OK) {
|
||||
reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
|
||||
} else {
|
||||
reader = new BufferedReader(new InputStreamReader(connection.getErrorStream()));
|
||||
}
|
||||
|
||||
String line;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
res.append(line);
|
||||
}
|
||||
reader.close();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
res.append("Error: ").append(e.getMessage());
|
||||
}
|
||||
|
||||
String games = res.toString();
|
||||
%>
|
||||
0
jsp/getTitles.jsp
Normal file
0
jsp/getTitles.jsp
Normal file
715
jsp/index.jsp
Normal file
715
jsp/index.jsp
Normal file
|
|
@ -0,0 +1,715 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
|
||||
<!--<a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debugf</a>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/debugMode.jsp">debug mode</a>
|
||||
<a href="https://oss-auth.blinklab.com/oss/serv/W_01.jsp">Click here to skip checking account status</a>-->
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
/* GENERAL */
|
||||
|
||||
/* Limit page to 640 by 480 (NTSC TV resolution) */
|
||||
/* Note: PAL resolution is 640 by 528 */
|
||||
body {
|
||||
/*width: 608px; height: 456px; */
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
FORM { display: inline; }
|
||||
|
||||
/* PROGRESS BAR */
|
||||
|
||||
a:link {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 24px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
line-height:22px;
|
||||
}
|
||||
.titleBlueL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.headerBlueL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueM_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerWhiteM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.headerWhiteS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.buttonTextBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextWhiteL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 24px;
|
||||
color: #FFFFFF;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextWhiteS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
.buttonTextWhiteS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.warningRed {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #FF0000;
|
||||
font-weight: normal;
|
||||
line-height:25px;
|
||||
}
|
||||
.contentsRedM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #FF0000;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsBlack {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height:16px;
|
||||
}
|
||||
|
||||
.contentsBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsBlueM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlueS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlueS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsGray {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
||||
.catalogTitleBlack {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.catalogTitleBlack_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
.catalogTitleBlack_02 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
.catalogTitleBlack_03 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
}
|
||||
.catalogTitleBlack_04 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.catalogTitleBlackBold {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.catalogTitleBlue {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.catalogTitleBlueBold {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.wiiPoint {
|
||||
/* style for current balance */
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.fullScreenText {
|
||||
position:absolute;
|
||||
left:66px;
|
||||
top:85px;
|
||||
width:476px;
|
||||
height:202px;
|
||||
}
|
||||
|
||||
#underButtonR {
|
||||
position:absolute;
|
||||
left:399px;
|
||||
top:378px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
#underButtonL {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:378px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
#underButton {
|
||||
position:absolute;
|
||||
left:211px;
|
||||
top:294px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
|
||||
.buttonBanner {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:22;
|
||||
}
|
||||
.buttonSpacer {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.buttonWord {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
line-height:19px;
|
||||
z-index:24;
|
||||
}
|
||||
.buttonBannerShadow {
|
||||
position:absolute;
|
||||
left:-12px;
|
||||
top:-9px;
|
||||
width:211px;
|
||||
height:75px;
|
||||
z-index:20;
|
||||
}
|
||||
|
||||
.tcell {
|
||||
display:table-cell;
|
||||
}
|
||||
|
||||
.h_inline_middle {
|
||||
text-align:center;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.h_block_middle {
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.v_middle {
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.vh_inline_middle {
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.h_inline_left {
|
||||
text-align:left;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.v_middle_h_inline_left {
|
||||
text-align:left;
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
#Wiipoint {
|
||||
/* location of "Wii Points" the word */
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
left:241px;
|
||||
/* //top:396px; */
|
||||
top:401px;
|
||||
width:130px;
|
||||
height:20px;
|
||||
z-index:22;
|
||||
}
|
||||
|
||||
#point {
|
||||
/* location of current balance */
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
left:241px;
|
||||
top:378px;
|
||||
width:130px;
|
||||
height:22px;
|
||||
z-index:97;
|
||||
}
|
||||
.dot {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
}
|
||||
|
||||
#help {
|
||||
position:absolute;
|
||||
left:537px;
|
||||
top:23px;
|
||||
width:52px;
|
||||
height:55px;
|
||||
z-index:100;
|
||||
}
|
||||
#top {
|
||||
position:absolute;
|
||||
left:477px;
|
||||
top:23px;
|
||||
width:52px;
|
||||
height:55px;
|
||||
z-index:100;
|
||||
}
|
||||
#line01 {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:59px;
|
||||
width:473px;
|
||||
height:10px;
|
||||
z-index:98;
|
||||
}
|
||||
#line02 {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:363px;
|
||||
width:600px;
|
||||
height:10px;
|
||||
/* //z-index:21; */
|
||||
z-index:100;
|
||||
}
|
||||
#upperLineLong {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:59px;
|
||||
width:600px;
|
||||
height:10px;
|
||||
/* //z-index:21; */
|
||||
z-index:100;
|
||||
}
|
||||
#tophelpshadow {
|
||||
position:absolute;
|
||||
left:467px;
|
||||
top:15px;
|
||||
width:132px;
|
||||
height:75px;
|
||||
z-index:24;
|
||||
}
|
||||
|
||||
.inputStyle {
|
||||
border-top-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-left-width: 2px;
|
||||
border-top-style: solid;
|
||||
border-right-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-left-style: solid;
|
||||
border-top-color: #CCCCCC;
|
||||
border-right-color: #CCCCCC;
|
||||
border-bottom-color: #EAEAEA;
|
||||
border-left-color: #CCCCCC;
|
||||
}
|
||||
|
||||
.spacecover {
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
div.page_area {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 608px;
|
||||
height: 363px;
|
||||
}
|
||||
|
||||
div.page_title_area {
|
||||
position: relative;
|
||||
left: 29px;
|
||||
top: 28px;
|
||||
width: 442px;
|
||||
height: 28px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.page_content_area {
|
||||
position: relative;
|
||||
top: 75px;
|
||||
left: 20px;
|
||||
text-align: center;
|
||||
width: 548px;
|
||||
}
|
||||
|
||||
.bg_connect {
|
||||
background-image: url(../images/back/bg_connect.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.bg_sca {
|
||||
background-image: url(../images/back/bg_sca.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
span.font14px{ font-size: 14px; }
|
||||
span.font16px{ font-size: 16px; }
|
||||
span.font18px{ font-size: 18px; }
|
||||
span.font20px{ font-size: 20px; }
|
||||
span.font22px{ font-size: 22px; }
|
||||
span.font24px{ font-size: 24px; }
|
||||
|
||||
|
||||
/* F_01: Connecting to Server */
|
||||
/* NOTE: used by index.jsp, Register.jsp, CheckRegistered.jsp, and CheckBalance.jsp */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:100px;
|
||||
width:560px;
|
||||
height:180px;
|
||||
z-index:31;
|
||||
}</style>
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
<script src="/oss/oss/common/js/json2.js"></script>
|
||||
<script src="/oss/oss/common/js/shop.js"></script>
|
||||
<script src="/oss/oss/common/js/keyboard.js"></script>
|
||||
<script src="/oss/oss/common/js/oss.js"></script>
|
||||
<script src="/oss/oss/common/js/ec.js"></script>
|
||||
<script src="/oss/oss/common/js/error.js"></script>
|
||||
<script src="/oss/oss/common/js/buttons.js"></script>
|
||||
<script src="/oss/oss/common/js/sound.js"></script>
|
||||
<script src="/oss/oss/common/js/images.js"></script>
|
||||
</head>
|
||||
|
||||
<script type="text/javascript">
|
||||
function addParam(url, param, value)
|
||||
{
|
||||
var setParamStr = param + "=" + encodeURIComponent(value);
|
||||
if (url.indexOf("?" + param + "=") >= 0 ||
|
||||
url.indexOf("&" + param + "=") >= 0) {
|
||||
// param already in url
|
||||
} else {
|
||||
var paramStart = url.indexOf("?");
|
||||
if (paramStart >= 0) {
|
||||
url = url.substr(0, paramStart+1) + setParamStr + "&" + url.substr(paramStart+1);
|
||||
} else {
|
||||
url = url + "?" + setParamStr;
|
||||
}
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function showCheckRegistered()
|
||||
{
|
||||
try {
|
||||
ec.setPersistentValue("firstTime", "true");
|
||||
} catch (err) {
|
||||
trace("set persistent value error: " + err);
|
||||
}
|
||||
var shop = new wiiShop();
|
||||
// Redirects to CheckRegistered.jsp with important device info
|
||||
var ec = new ECommerceInterface ();
|
||||
var url = "https://oss-auth.blinklab.com/oss/serv/CheckRegistered.jsp";
|
||||
var r = ec.getDeviceInfo();
|
||||
var shopAppTitleId = r.titleId;
|
||||
if (shopAppTitleId != null) {
|
||||
var t = ec.getTitleInfo(shopAppTitleId);
|
||||
url = addParam(url, "titleId", shopAppTitleId);
|
||||
if (typeof(t) == "object" && t.isTmdPresent && t.version != null) {
|
||||
url = addParam(url, "titleVersion", t.version);
|
||||
}
|
||||
}
|
||||
if (r.country != null) {
|
||||
url = addParam(url, "country", r.country);
|
||||
}
|
||||
if (r.region != null) {
|
||||
url = addParam(url, "region", r.region);
|
||||
}
|
||||
if (r.userAge != null && r.isParentalControlEnabled) {
|
||||
url = addParam(url, "age", r.userAge);
|
||||
}
|
||||
|
||||
if (r.language != null) {
|
||||
url = addParam(url, "language", r.language);
|
||||
}
|
||||
if (r.serial != null) {
|
||||
url = addParam(url, "Serial", r.serial);
|
||||
}
|
||||
if (ec && "setSessionValue" in ec) {
|
||||
|
||||
|
||||
ec.setSessionValue("state", 'init');
|
||||
|
||||
ec.setSessionValue("firstTitleDetailDisplay",'true');
|
||||
}
|
||||
|
||||
top.location=url;
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
if (ec.getPersistentValue("firstTime") == "true") {
|
||||
trace("first time is true!")
|
||||
}
|
||||
trace("first time: " + ec.getPersistentValue("firstTime"))
|
||||
var x = new wiiShop();
|
||||
var u = x.connecting;
|
||||
//Stop the blue spinner if it is visible
|
||||
x.endWaiting();
|
||||
//Enable home, reset, and power buttons
|
||||
x.enableHRP();
|
||||
var serial = ec.getDeviceInfo().serial;
|
||||
trace("serial: " + serial);
|
||||
if ((serial == "LU310714499")) {
|
||||
shop.error(209600);
|
||||
}
|
||||
ec.setSessionValue("testValue", "test value 1");
|
||||
trace("clientHeight: " + document.body.clientHeight);
|
||||
trace("clientWidth: " + document.body.clientWidth);
|
||||
MM_preloadImages('/oss/oss/common/images//banner/under_banner_b.gif');
|
||||
setUnderButton(true, "Go to the shop", "javascript:showCheckRegistered(true)", "snd.playSE(cSE_Decide)");
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<body onload="initPage()">
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div id="underButton" style="display:none">
|
||||
<div id="underbannershadow" class="buttonBannerShadow">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_shadow.gif" width="211" height="75" /></div>
|
||||
<div id="underbanner" class="buttonBanner">
|
||||
<img src="/oss/oss/common/images//banner/under_banner_a.gif" width="187" height="55" id="underImg" /></div>
|
||||
<div id="underspacer" class="buttonSpacer">
|
||||
<a href="" id="underlink">
|
||||
<img id="underimage" src="/oss/oss/common/images//spacer.gif" width="187" height="55" border="0"
|
||||
onmouseover="MM_swapImage('underImg','','/oss/oss/common/images//banner/under_banner_b.gif',1); snd.playSE( cSE_Forcus );"
|
||||
onmouseout="MM_swapImgRestore()">
|
||||
</a>
|
||||
</div>
|
||||
<div id="underword" align="center" class="buttonTextBlackM buttonWord"></div>
|
||||
</div>
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<span id="wiiTitle">WiiMart</span>
|
||||
</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
WiiMart</div>
|
||||
<div class="titleBlueL" id="text01-01">WiiMart</div>
|
||||
<div class="catalogTitleBlack_01" id="text02-01">Welcome to WiiMart!<BR><BR>In this revival, you’ll find a variety of classic games for Virtual Console as well as new software created exclusively for the Wii console. You can redeem Wii Points to download these software titles, or in some cases, you can obtain them for free.<BR><BR>Happy shopping!</div>
|
||||
</body>
|
||||
</html>
|
||||
708
jsp/indexold2.jsp
Normal file
708
jsp/indexold2.jsp
Normal file
|
|
@ -0,0 +1,708 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a>
|
||||
|
||||
|
||||
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<!-- Copyright 2005-2014 Acer Cloud Technology, Inc. -->
|
||||
<!-- All Rights Reserved. -->
|
||||
<!-- -->
|
||||
<!-- This software contains confidential information and -->
|
||||
<!-- trade secrets of Acer Cloud Technology, Inc. -->
|
||||
<!-- Use, disclosure or reproduction is prohibited without -->
|
||||
<!-- the prior express written permission of Acer Cloud -->
|
||||
<!-- Technology, Inc. -->
|
||||
<!-- ----------------------------------------------------- -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<!-- Flush buffer before setting locale to ensure encoding is preserved -->
|
||||
<!-- Main page -->
|
||||
<html>
|
||||
<head>
|
||||
<title>WiiMart</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
/* GENERAL */
|
||||
|
||||
/* Limit page to 640 by 480 (NTSC TV resolution) */
|
||||
/* Note: PAL resolution is 640 by 528 */
|
||||
body {
|
||||
/*width: 608px; height: 456px; */
|
||||
background-repeat: no-repeat;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
FORM { display: inline; }
|
||||
|
||||
/* PROGRESS BAR */
|
||||
|
||||
a:link {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 24px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.titleBlackS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
line-height:22px;
|
||||
}
|
||||
.titleBlueL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 28px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.headerBlueL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueM_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerBlueS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.headerWhiteM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.headerWhiteS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.buttonTextBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextWhiteL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 24px;
|
||||
color: #FFFFFF;
|
||||
font-weight: normal;
|
||||
}
|
||||
.buttonTextWhiteS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
.buttonTextWhiteS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.warningRed {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #FF0000;
|
||||
font-weight: normal;
|
||||
line-height:25px;
|
||||
}
|
||||
.contentsRedM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #FF0000;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsBlack {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height:16px;
|
||||
}
|
||||
|
||||
.contentsBlackL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlackS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsBlueM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlueS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsBlueS_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.contentsGray {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsGrayS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeL {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 20px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeM {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
.contentsOrangeS {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 14px;
|
||||
color: #AA4941;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
||||
.catalogTitleBlack {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.catalogTitleBlack_01 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
.catalogTitleBlack_02 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
}
|
||||
.catalogTitleBlack_03 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
}
|
||||
.catalogTitleBlack_04 {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 18px;
|
||||
color: #323232;
|
||||
font-weight: normal;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.catalogTitleBlackBold {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #323232;
|
||||
font-weight: bold;
|
||||
}
|
||||
.catalogTitleBlue {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
.catalogTitleBlueBold {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #34BEED;
|
||||
font-weight: bold;
|
||||
}
|
||||
.wiiPoint {
|
||||
/* style for current balance */
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 22px;
|
||||
color: #34BEED;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.fullScreenText {
|
||||
position:absolute;
|
||||
left:66px;
|
||||
top:85px;
|
||||
width:476px;
|
||||
height:202px;
|
||||
}
|
||||
|
||||
#underButtonR {
|
||||
position:absolute;
|
||||
left:399px;
|
||||
top:378px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
#underButtonL {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:378px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
#underButton {
|
||||
position:absolute;
|
||||
left:211px;
|
||||
top:294px;
|
||||
width:187px;
|
||||
height:55px;
|
||||
}
|
||||
|
||||
.buttonBanner {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:22;
|
||||
}
|
||||
.buttonSpacer {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:25;
|
||||
}
|
||||
.buttonWord {
|
||||
position:absolute;
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
line-height:19px;
|
||||
z-index:24;
|
||||
}
|
||||
.buttonBannerShadow {
|
||||
position:absolute;
|
||||
left:-12px;
|
||||
top:-9px;
|
||||
width:211px;
|
||||
height:75px;
|
||||
z-index:20;
|
||||
}
|
||||
|
||||
.tcell {
|
||||
display:table-cell;
|
||||
}
|
||||
|
||||
.h_inline_middle {
|
||||
text-align:center;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.h_block_middle {
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.v_middle {
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.vh_inline_middle {
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.h_inline_left {
|
||||
text-align:left;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
.v_middle_h_inline_left {
|
||||
text-align:left;
|
||||
vertical-align:middle;
|
||||
width:auto;
|
||||
height:auto;
|
||||
}
|
||||
|
||||
#Wiipoint {
|
||||
/* location of "Wii Points" the word */
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
left:241px;
|
||||
/* //top:396px; */
|
||||
top:401px;
|
||||
width:130px;
|
||||
height:20px;
|
||||
z-index:22;
|
||||
}
|
||||
|
||||
#point {
|
||||
/* location of current balance */
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
left:241px;
|
||||
top:378px;
|
||||
width:130px;
|
||||
height:22px;
|
||||
z-index:97;
|
||||
}
|
||||
.dot {
|
||||
font-family: "Wii NTLG PGothic JPN Regular";
|
||||
font-size: 16px;
|
||||
color: #8C8C8C;
|
||||
}
|
||||
|
||||
#help {
|
||||
position:absolute;
|
||||
left:537px;
|
||||
top:23px;
|
||||
width:52px;
|
||||
height:55px;
|
||||
z-index:100;
|
||||
}
|
||||
#top {
|
||||
position:absolute;
|
||||
left:477px;
|
||||
top:23px;
|
||||
width:52px;
|
||||
height:55px;
|
||||
z-index:100;
|
||||
}
|
||||
#line01 {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:59px;
|
||||
width:473px;
|
||||
height:10px;
|
||||
z-index:98;
|
||||
}
|
||||
#line02 {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:363px;
|
||||
width:600px;
|
||||
height:10px;
|
||||
/* //z-index:21; */
|
||||
z-index:100;
|
||||
}
|
||||
#upperLineLong {
|
||||
position:absolute;
|
||||
left:4px;
|
||||
top:59px;
|
||||
width:600px;
|
||||
height:10px;
|
||||
/* //z-index:21; */
|
||||
z-index:100;
|
||||
}
|
||||
#tophelpshadow {
|
||||
position:absolute;
|
||||
left:467px;
|
||||
top:15px;
|
||||
width:132px;
|
||||
height:75px;
|
||||
z-index:24;
|
||||
}
|
||||
|
||||
.inputStyle {
|
||||
border-top-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-left-width: 2px;
|
||||
border-top-style: solid;
|
||||
border-right-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-left-style: solid;
|
||||
border-top-color: #CCCCCC;
|
||||
border-right-color: #CCCCCC;
|
||||
border-bottom-color: #EAEAEA;
|
||||
border-left-color: #CCCCCC;
|
||||
}
|
||||
|
||||
.spacecover {
|
||||
left:0px;
|
||||
top:0px;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
div.page_area {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 608px;
|
||||
height: 363px;
|
||||
}
|
||||
|
||||
div.page_title_area {
|
||||
position: relative;
|
||||
left: 29px;
|
||||
top: 28px;
|
||||
width: 442px;
|
||||
height: 28px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.page_content_area {
|
||||
position: relative;
|
||||
top: 75px;
|
||||
left: 20px;
|
||||
text-align: center;
|
||||
width: 548px;
|
||||
}
|
||||
|
||||
.bg_connect {
|
||||
background-image: url(../images/back/bg_connect.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.bg_sca {
|
||||
background-image: url(../images/back/bg_sca.gif);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
span.font14px{ font-size: 14px; }
|
||||
span.font16px{ font-size: 16px; }
|
||||
span.font18px{ font-size: 18px; }
|
||||
span.font20px{ font-size: 20px; }
|
||||
span.font22px{ font-size: 22px; }
|
||||
span.font24px{ font-size: 24px; }
|
||||
|
||||
|
||||
/* F_01: Connecting to Server */
|
||||
/* NOTE: used by index.jsp, Register.jsp, CheckRegistered.jsp, and CheckBalance.jsp */
|
||||
|
||||
|
||||
#text01-01 {
|
||||
position:absolute;
|
||||
left:29px;
|
||||
top:28px;
|
||||
width:546px;
|
||||
height:28px;
|
||||
z-index:27;
|
||||
}
|
||||
#text02-01 {
|
||||
position:absolute;
|
||||
left:25px;
|
||||
top:100px;
|
||||
width:560px;
|
||||
height:180px;
|
||||
z-index:31;
|
||||
}</style>
|
||||
<link rel="shortcut icon" href="/oss/favicon.ico" />
|
||||
</head>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
<!--
|
||||
function addParam(url, param, value)
|
||||
{
|
||||
var setParamStr = param + "=" + encodeURIComponent(value);
|
||||
if (url.indexOf("?" + param + "=") >= 0 ||
|
||||
url.indexOf("&" + param + "=") >= 0) {
|
||||
// param already in url
|
||||
} else {
|
||||
var paramStart = url.indexOf("?");
|
||||
if (paramStart >= 0) {
|
||||
url = url.substr(0, paramStart+1) + setParamStr + "&" + url.substr(paramStart+1);
|
||||
} else {
|
||||
url = url + "?" + setParamStr;
|
||||
}
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
||||
function showCheckRegistered()
|
||||
{
|
||||
var shop = new wiiShop();
|
||||
// Redirects to CheckRegistered.jsp with important device info
|
||||
var ec = new ECommerceInterface ();
|
||||
var url = "https://oss-auth.blinklab.com/oss/serv/CheckRegistered.jsp";
|
||||
var r = ec.getDeviceInfo();
|
||||
var shopAppTitleId = r.titleId;
|
||||
if (shopAppTitleId != null) {
|
||||
var t = ec.getTitleInfo(shopAppTitleId);
|
||||
url = addParam(url, "titleId", shopAppTitleId);
|
||||
if (typeof(t) == "object" && t.isTmdPresent && t.version != null) {
|
||||
url = addParam(url, "titleVersion", t.version);
|
||||
}
|
||||
}
|
||||
if (r.country != null) {
|
||||
url = addParam(url, "country", r.country);
|
||||
}
|
||||
if (r.region != null) {
|
||||
url = addParam(url, "region", r.region);
|
||||
}
|
||||
if (r.userAge != null && r.isParentalControlEnabled) {
|
||||
url = addParam(url, "age", r.userAge);
|
||||
}
|
||||
|
||||
if (r.language != null) {
|
||||
url = addParam(url, "language", r.language);
|
||||
}
|
||||
if (r.serial != null) {
|
||||
url = addParam(url, "Serial", r.serial);
|
||||
}
|
||||
if (ec && "setSessionValue" in ec) {
|
||||
|
||||
|
||||
ec.setSessionValue("state", 'init');
|
||||
|
||||
ec.setSessionValue("firstTitleDetailDisplay",'true');
|
||||
}
|
||||
|
||||
top.location=url;
|
||||
}
|
||||
|
||||
function initPage()
|
||||
{
|
||||
var shop = new wiiShop();
|
||||
var wiiTitle = document.getElementById("wiiTitle");
|
||||
if (shop && wiiTitle) {
|
||||
wiiTitle.innerHTML = shop.title;
|
||||
}
|
||||
|
||||
var wiiMessage = document.getElementById("wiiMessage");
|
||||
if (shop && wiiMessage) {
|
||||
wiiMessage.innerHTML = shop.connecting;
|
||||
}
|
||||
|
||||
if (shop && "beginWaiting" in shop) {
|
||||
shop.beginWaiting();
|
||||
}
|
||||
|
||||
if (shop && "disableHRP" in shop) {
|
||||
shop.enableHRP();
|
||||
}
|
||||
// The method called here is showCheckRegistered in index.jsp, not in oss.js
|
||||
showCheckRegistered(false);
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<body onload="initPage()">
|
||||
|
||||
<div class="dot" id="line01">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
<div class="dot" id="line02">・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・</div>
|
||||
|
||||
<div class="titleBlueL" id="text01-01">
|
||||
<span id="wiiTitle">WiiMart</span>
|
||||
</div>
|
||||
<div align="center" class="titleBlueL" id="text02-01">
|
||||
<span id="wiiMessage"></span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
2
jsp/internal.jsp
Normal file
2
jsp/internal.jsp
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<%@ page import = "java.io.*,java.util.*" %>
|
||||
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><a href="https://oss-auth.blinklab.com/oss/serv/debug.jsp">debug</a><h1>Uh oh!</h1>The server ran into an error and couldn't get the page for you.<br>There is nothing wrong on your end, so if you want to go back to the page you were at previously, click <a href="javascript:window.history.go(-1);">here</a>.
|
||||
2871
jsp/serverB_04.jsp
Normal file
2871
jsp/serverB_04.jsp
Normal file
File diff suppressed because it is too large
Load diff
14
jsp/test.jsp
Normal file
14
jsp/test.jsp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test</title>
|
||||
</head>
|
||||
<script>
|
||||
function initPage() {
|
||||
document.write("initPage ran successfully!<br><a href='https://oss-auth.blinklab.com/oss/serv/index.jsp'>go back to index</a>")
|
||||
}
|
||||
</script>
|
||||
<body onload="initPage()">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
104
jsp/wii_shop.jsp
Normal file
104
jsp/wii_shop.jsp
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
<!-- Notes: You have to click "Go To Shop" and enter
|
||||
the REAL shop (this HTML file is for intercepting HTTP packets,
|
||||
not for placing on your spoofed webserver). After you enter the shop, go to download
|
||||
a free channel (like Everybody Votes) then try to GIFT it. That will
|
||||
bring you back to an error page, insert this HTML in the intercepted HTTP packet and
|
||||
the data below will be filled in correctly. Without "authenticating" into the WiiShop,
|
||||
some of the below data will be missing. This HTML will have to be fixed to work on a spoofed server. -->
|
||||
|
||||
<html><head><title>Hax</title>
|
||||
</head><body>
|
||||
<br>
|
||||
<p><b>Woot! Here Wii go again?</b>
|
||||
<input type="button" value="Go to Shop!" onClick="javascript:showPage('index.jsp')">
|
||||
<input type="button" value="Reload Page" onClick="window.location.reload()"></p>
|
||||
|
||||
<!-- The JS files below have to be local to your spoofed webserver (just wget them from N's servers) -->
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//ec.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//error.js'></SCRIPT>
|
||||
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//buttons.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//images.js"></SCRIPT>
|
||||
|
||||
<SCRIPT language="JavaScript" src='/oss/oss/common/js//sound.js'></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//shop.js"></SCRIPT>
|
||||
<SCRIPT language="JavaScript" src="/oss/oss/common/js//oss.js"></SCRIPT>
|
||||
<p>
|
||||
<script type="text/javascript">
|
||||
var snd = new wiiSound();
|
||||
var r = ec.getDeviceInfo ();
|
||||
var shop = new wiiShop();
|
||||
|
||||
//var ec = new EcommerceInterface();
|
||||
|
||||
wiiStopWaiting();
|
||||
shop.setWallpaper(3);
|
||||
shop.endWaiting();
|
||||
snd.playBGM()
|
||||
|
||||
document.write("<p><b>Hello Wii! Here's some info:<\/b>");
|
||||
document.write('<br>');
|
||||
document.write('Serial: ' + r.serial);
|
||||
document.write('<br>');
|
||||
document.write('DeviceID: ' + r.deviceId);
|
||||
document.write('<br>');
|
||||
document.write('AccountID: ' + r.accountId);
|
||||
document.write('<br>');
|
||||
//document.write('Country: ' + r.country);
|
||||
//document.write('<br>');
|
||||
document.write('WiFiMAC: ' + r.wirelessMACAddr);
|
||||
document.write('<br>');
|
||||
document.write('BTMAC: ' + r.bluetoothMACAddr);
|
||||
document.write('<br>');
|
||||
document.write('FreeChannelAppCount: ' + r.freeChannelAppCount);
|
||||
document.write('<br>');
|
||||
|
||||
// Doesn't work anymore for some reason, used to work back in '06
|
||||
//document.write('DeviceToken: ' + ec.deviceToken);
|
||||
//document.write('<br>');
|
||||
|
||||
document.write('DeviceToken: ' + ec.getWeakToken());
|
||||
document.write('<br>');
|
||||
|
||||
document.write('ChannelAppTitle: ' + r.titleId);
|
||||
document.write('<br>');
|
||||
|
||||
//document.write('OwnedTitles: ' + ec.ownedTitles);
|
||||
//document.write('<br>');
|
||||
|
||||
document.write('getBalance: ' + ec.getCachedBalance());
|
||||
document.write('<br>');
|
||||
|
||||
// Happens after BUYING points:
|
||||
//document.write('PurchasedPoints: ' + ec.purchasedPoints);
|
||||
//document.write('<br>');
|
||||
document.write('getTitleLicense (for Sonic, MAHE): ' + getTitleLicense('000100014D414845'));
|
||||
document.write('<br>');
|
||||
|
||||
document.write('getTicketInfos: ' + ec.getTicketInfos('000100014D414845'));
|
||||
document.write('<br>');
|
||||
|
||||
//document.write('getLaunchTicket (for Sonic, MAHE): ' + getLaunchTicket('000100014D414845'));
|
||||
document.write('getOwnedTitleIds: ' + getOwnedTitleIds());
|
||||
document.write('<br>');
|
||||
document.write('getCurrentPage: ' + getCurrentPage());
|
||||
document.write('<br>');
|
||||
//document.write('getTitleInfo: ' + ec.getTitleInfo ('0001000148414A45'));
|
||||
document.write('acctDeviceCode: ' + r.accountDeviceCode);
|
||||
document.write('<br>');
|
||||
document.write('extAccountId: ' + r.extAccountId);
|
||||
document.write('<br>');
|
||||
document.write('isNeedTicketSync: ' + r.isNeedTicketSync);
|
||||
document.write('<br>');
|
||||
document.write('lastTicketSyncTime: ' + r.lastTicketSyncTime);
|
||||
document.write('<br>');
|
||||
document.write('cfgVersion: ' + r.cfgVersion);
|
||||
|
||||
// ToDo: Below needs further research.
|
||||
|
||||
//document.write('launchTitle:' + ec.launchTitle('0001000148414A45'));
|
||||
//launchTitle(0001000148414A45')
|
||||
</script></p>
|
||||
|
||||
<HR size="1" noshade>
|
||||
</body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue