-
Notifications
You must be signed in to change notification settings - Fork 2
/
finish.html
61 lines (48 loc) · 2.04 KB
/
finish.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
<html>
<head>
<title>Thank you</title>
</head>
<body>
<h1>Thank you! Download has been successful!</h1>
<br>
<form name = "finish" >
Your code is: <input type = "text" id = "code1" name = "code" value = "">
<br>
Please go to: <input type = "text" id = "link1" name = "link1" value = "">
</form>
<script language = "Javascript">
var links1 = ["https://drive.google.com/file/d/0B54eqaGmPeudR3o5UHRHZ3l0RWc/view?usp=sharing",
"https://drive.google.com/open?id=0B54eqaGmPeudb3FLcDk0Rk9EaVE",
"https://drive.google.com/file/d/0B54eqaGmPeudQTItUHlOa3JnQUU/view?usp=sharing",
"https://drive.google.com/file/d/0B54eqaGmPeudaXVWT3FQWmlXakk/view?usp=sharing",
"https://drive.google.com/file/d/0B54eqaGmPeudSk05cEZPU0dhbW8/view?usp=sharing",
"https://drive.google.com/open?id=0B54eqaGmPeudRi01U2JLWjJLOXc",
"https://drive.google.com/open?id=0B54eqaGmPeudUm9UMEp4bWV6UFU",
"https://drive.google.com/file/d/0B54eqaGmPeudZ1VhWV9VTmdGV28/view?usp=sharing",
"https://drive.google.com/file/d/0B54eqaGmPeudRVF3UFZ5RnpJUUU/view?usp=sharing",
"https://drive.google.com/open?id=0B54eqaGmPeudeWQ4a0VoNDk1bUk",
"https://drive.google.com/open?id=0B54eqaGmPeudQXdiY1dOWThzSnc",
"https://drive.google.com/open?id=0B54eqaGmPeudcjduMWFoMko5a2M",
"https://drive.google.com/open?id=0B54eqaGmPeudWFM5dUVlU3lSZ00",
"https://drive.google.com/open?id=0B54eqaGmPeudbFZaejJGQTBDbkk",
"https://drive.google.com/open?id=0B54eqaGmPeudT0xWOTVCZ09ZUFk",
"https://drive.google.com/file/d/0B54eqaGmPeudZ3lINHNpQlpaaXc/view?usp=sharing",
"https://drive.google.com/open?id=0B54eqaGmPeudYXB3WlZXNldYRm8"]
var text = window.location.href;
function get_code(strI) {
theleft = strI.indexOf('=') + 1;
theright = strI.lastIndexOf("&");
return(strI.substring(theleft, theright));
}
function get_index(strI) {
point = strI.lastIndexOf("=");
return(strI.substring(point+1,strI.length));
}
var usercode = String(get_code(text));
var userindex = get_index(text);
var userlink = links1[userindex];
document.getElementById("code1").value = usercode;
document.getElementById("link1").value = userlink;
</script>
</body>
</html>