-
Notifications
You must be signed in to change notification settings - Fork 109
/
index.html
70 lines (70 loc) · 2.75 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
65
66
67
68
69
70
<html>
<head>
<title>Perl</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript">
timeend= new Date();
timeend= new Date(2017,2,29);
function time() {
today = new Date();
today = Math.floor((timeend-today)/1000);
tsec=today%60; today=Math.floor(today/60); if(tsec<10)tsec='0'+tsec;
tmin=today%60; today=Math.floor(today/60); if(tmin<10)tmin='0'+tmin;
thour=today%24; today=Math.floor(today/24);
timestr=today +" дней "+ thour+" часов "+tmin+" минут "+tsec+" секунд";
document.getElementById('t').innerHTML=timestr;
window.setTimeout("time()",1000);
}
</script>
</head>
<body onload="time()">
<h2 style="float: right; margin-right: 10%;">До хакатона осталось: <span id="t" style="font-size:20px"></span></h2>
<p>
<form method="GET" action="viewer">
<select name="lect">
<option value="intro">intro</option>
<option value="syn">syn</option>
<option value="synadv">synadv</option>
<option value="regexp">regexp</option>
<option value="os">OS</option>
<option value="re">re</option>
<option value="modoop">modoop</option>
<option value="mod">mod</option>
<option value="extern-world">extern-world</option>
<option value="oop">oop</option>
<option value="db">db</option>
<option value="web">web</option>
<option value="xs">xs</option>
<option value="async">async</option>
<option value="test">test</option>
</select>
<select name="lect_postfix">
<option value="">—</option>
<option value="_pushtaev">pushtaev</option>
</select>
<select name="university">
<option value="park">park</option>
<option value="sphere">sphere</option>
<option value="track">track</option>
<option value="atom">atom</option>
</select>
<select name="teacher">
<option value="anosov">anosov</option>
<option value="kazakov">kazakov</option>
<option value="matveev">matveev</option>
<option value="mons">mons</option>
<option value="nurtdinov">nurtdinov</option>
<option value="panteleev">panteleev</option>
<option value="pushtaev">pushtaev</option>
<option value="reznikov">reznikov</option>
<option value="shulyakovskiy">shulyakovskiy</option>
<option value="karbachinsky">karbachinsky</option>
</select>
<input type="submit" value="Go!">
</form>
</p>
<p>
<img src="http://i.imgur.com/5dzps3J.gif">
</p>
</body>
</html>