This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
forked from mht208/gccards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexport.html
80 lines (70 loc) · 2.51 KB
/
export.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Guardian Cross - Cards</title>
<link rel="stylesheet" type="text/css" href="css/gc.min.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/loader.min.js"></script>
<script type="text/javascript">
(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40784747-1', 'fc2.com');
ga('send', 'pageview');
function output(str) {
$("#export").html($("#export").html() + str + "<br/>");
}
function escape(str) {
return str.replace(/"/g, "'");
}
function exporting() {
var sep = "|";
output("ID" + sep + "Name" + sep + "Stars" + sep + "Profile" + sep + "Attribute" + sep + "Place" + sep +
"HP" + sep + "MP" + sep + "ATK" + sep + "DEF" + sep + "AGI" + sep + "WIS" + sep +
"Skill 1" + sep + "Skill 2" + sep + "Skill 3" + sep + "Skill 4" + sep + "Skill 5" + sep + "Rebirth Skill");
Card.all.sort(function(x, y) {
if (x.id == y.id)
return 0;
else if (x.id < y.id)
return -1;
return 1;
});
for (var i = 0; i < Card.all.length; i++) {
var g = Card.all[i];
output(g.id + sep + g.name + sep + g.stars + sep + g.description + sep + g.attribute.name + sep + g.place.name + sep +
g.hp + sep + g.mp + sep + g.atk + sep + g.def + sep + g.agi + sep + g.wis +
List.fold_left(function(res, s) { return res + sep + s.name; }, "", g.skills));
}
}
</script>
<script type="text/javascript">
$(function() {
Loader.load(exporting);
});
</script>
<link href="css/smoothness/jquery-ui-1.10.3.custom.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="export">
</div>
<div id="footnote">
<hr/>
<div>
<a href="https://github.com/mht208/gccards">Project home</a> at GitHub
</div>
<div>
All images are owned by <a href="http://www.square-enix.co.jp/smart/gc/">Square Enix</a> Co., Ltd.
</div>
<div>
Use of this website is at your own risk.
No warranty is provided.
</div>
<div>
Best viewed in <a href="http://www.apple.com/safari/" target="_blank">Safari</a>.
</div>
</div>
</body>
</html>