-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheachUser.html
132 lines (119 loc) · 2.77 KB
/
eachUser.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 lang="en">
<head>
<meta charset="utf-8"/>
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script>
var stateData = ['閉じ込められ,動けない','水,食料が必要','けが人がいる','その他'];
function getParam(name, url) {
if (!url) url = window.location.href;
//url = decodeURI(url);
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
</script>
</head>
<body>
<center>
<h1>⚠️Helpがきました⚠️</h1>
<br>
<p1>状態: </p1>
<div class="box1">
<p2 id="state"><script> document.write(stateData[ Number(getParam('state'))] ) </script></p2>
</div>
<br>
<div class="box2">
<p2 id="text"><script> document.write(getParam('text')) </script></p2>
</div><br>
<p3>位置</p3>
<br>
<p4 id="pos">
<script>
document.write(`<a href=\'https://www.google.co.jp/maps?q=${getParam('ido')},${getParam('keido')}\'>Map</a>`);
</script>
</p4>
<br>
<img src="./Fujitsu-Logo.png" />
<center>
<script>
</script>
</body>
<style>
body {
width: 98%;
border:20px solid red;
box-sizing:border-box;
}
img{
width: 200px;
height:100px;
margin-top: 450px;
margin-bottom: 90px;
}
h1 {
position: relative;
padding: 0.6em;
background: -webkit-repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);
background: repeating-linear-gradient(-45deg, #fff5df, #fff5df 4px,#ffe4b1 3px, #ffe4b1 8px);
border-radius: 7px;
text-align: center;
font-size: 73px;
display: inline-block;
letter-spacing:7px;
margin-bottom:160px;
margin-top: 35px;
color:red;
}
h1:after {
position: absolute;
content: '';
top: 100%;
left: 30px;
border: 15px solid transparent;
border-top: 15px solid #ffebbe;
width: 0;
height: 0;
}
p1 {
font-size: 55px;
}
.box1 {
padding: 0.5em 1em;
margin: 2em 0;
font-weight: bold;
background: #FFF;
border: solid 3px #6091d3;/*線*/
border-radius: 10px;/*角の丸み*/
display: inline-block;
margin-bottom: 80px;
}
.box1 p2 {
margin: 0;
padding: 0;
font-size:55px;
}
.box2 {
padding: 0.5em 1em;
margin: 2em 0;
font-weight: bold;
border: solid 3px #000000;
display: inline-block;
margin-bottom: 120px;
}
.box2 p2 {
margin: 0;
padding: 0;
font-size:55px;
}
p3{
font-size:55px;
margin-right:70%;
}
p4{
font-size:43px;
}
</style>