forked from LeCoyote/wircy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (46 loc) · 1.74 KB
/
index.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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<link href="css/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="css/welcome.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="js/langs.js"></script>
<script>
function getChan() {
if((window.location.href).indexOf('?') != -1) {
var queryString = (window.location.href).substr((window.location.href).indexOf('?') + 1);
// "queryString" will now contain kerdesPost=fdasdas%20ad%20asd%20ad%20asdas
var value = (queryString.split('='))[1];
// "value" will now contain fdasdas%20ad%20asd%20ad%20asdas
value = decodeURIComponent(value);
return value;
}
else {
return "#Chateros";
}
}
</script>
<title>Wircy</title>
</head>
<body>
<div id="wrapper">
<div id="window">
<form id="user" method="POST" action="" enctype="multipart/form-data">
<script> document.write('<input type="text" id="wircy_nickname" name="wircy_nickname" value="Chateros-' + Math.floor(Math.random() * 10000) + '" />'); </script>
<script> document.write('<input type="button" id="submit" value="' + lang_submit + '" />'); </script>
<p>
<script> document.write('<input id="wircy_channels" name="wircy_channels" type="text" value="' + getChan() + '" />'); </script>
</p>
<select id="lang">
<script> document.write('<option>'+ lang_lang +'</option>'); </script>
<option id="en">English</option>
<option id="fr">Français</option>
<option id="es">Español</option>
</select>
</form>
</div>
</div>
<script src="js/welcome.js"></script>
</body>
</html>