This repository has been archived by the owner on Oct 3, 2018. It is now read-only.
/
error.html
132 lines (123 loc) · 4.24 KB
/
error.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja" dir="ltr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" id="viewport" content="width=device-width,user-scalable=yes" />
<meta name="format-detection" content="telephone=no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" CONTENT="no-cache">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Expires" CONTENT="-1">
<meta name="robots" content="INDEX, FOLLOW" />
<title>CHUNITHM Rate Calculator</title>
<link rel="stylesheet" href="https://chunithm-net.com/mobile/common/css/common.css" />
<link rel="stylesheet" href="https://chunithm-net.com/mobile/common/css/contents.css" />
<script src="/common/js/jquery-3.1.1.min.js" ></script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script type="text/javascript">
//Google-Analytics
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || [])
.push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o)
, m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-86861992-1', 'auto');
ga('send', 'pageview');
//Google-AdSense
(adsbygoogle = window.adsbygoogle || [])
.push({
google_ad_client: "ca-pub-9431951784509175"
, enable_page_level_ads: true
});
//twitter
! function (j, h, i) {
var k, d = j.getElementsByTagName(h)[0]
, l = /^http:/.test(j.location) ? "http" : "https";
if (!j.getElementById(i)) {
k = j.createElement(h);
k.id = i;
k.async = true;
k.src = l + "://platform.twitter.com/widgets.js";
d.parentNode.insertBefore(k, d)
}
}(document, "script", "twitter-wjs");
//getCookie
function getCookie() {
var b = new Array();
var d = document.cookie;
if (d != "") {
var a = d.split(";");
for (var c = 0; c < a.length; c++) {
var e = a[c].split("=");
b[e[0].trim()] = decodeURIComponent(e[1])
}
}
return b
}
//Error
function error() {
var b = getCookie();
var c = b.errorCode;
if (c == null || c == "") {
c = 0
}
var a = "";
a += '<p class="font_small">Error Code: ' + c + "<hr></p>";
a += '<p class="font_small">';
switch (parseInt(c)) {
case 100000:
a += "UserIdの期限が切れています。もう一度ログインしてから実行してください。もしくは、レベル11以上の楽曲の曲数が足りていません。";
break;
case 100001:
a += "リクエストが不正です。";
break;
case 100002:
a += "データーベースに登録されていないので、実行しなおしてください。";
break;
case 100003:
a += 'エラーが発生しました。よろしければ<a href="https://twitter.com/Akashi_SN" target="_blank">@Akashi_SN</a>までお知らせください。';
break;
default:
a += "invalid ErrorCode.";
break
}
a += "</p>";
var d = document.getElementById("errorText_result");
d.innerHTML = a
};
$(function () {
error();
});
</script>
</head>
<body>
<div id="wrap" style="margin-top: 15px;">
<div id="inner" style="margin-bottom: 0px;padding-bottom: 0px;">
<div class="frame01 w460">
<div class="frame01_inside w450">
<div class="mt_10">
<h2 id="page_title">エラー</h2>
</div>
<div class="box01 w420 p_10">
<div class="block text_l">
<div id="errorText_result">
<p class="font_small"></p>
</div>
</div>
</div>
<div class="mb_10 mt_20">
<div class="btn_back" onClick="window.open('https://chunithm-net.com/mobile/','CHUNITHM ■ CHUNITHM-NET')"></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>