-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
99 lines (99 loc) · 3.47 KB
/
template.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Teinc3's Homepage</title>
<link rel="stylesheet" type="text/css" href="/assets/style.css">
<link rel="icon" type="image/favicon" href="/assets/icons/favicon.ico">
</head>
<body>
<div id="aAlignCenter1">
<div>
<img src="/assets/banners/poorzar.gif" alt="Teinc3===Poorzar" />
</div>
<div id="aContentBox">
<div id="aHeader">
<img id="aResizedImage" src="https://media1.tenor.com/m/5QoiTpwS1iEAAAAC/wheelchair-fall.gif" alt="Wheelchair_Falling_Down_Gif">
<div>
<h1><abbr title="This page is definitely not inspired by somebody else">Teinc3's Homepage</abbr></h1>
</div>
<a href="https://youareanidiot.cc">
<img src="/assets/banners/youareanidiot.gif" alt="You_are_an_idiot!" />
</a>
</div>
<div>
<hr>
</div>
<div id="aContentContainer">
<div id="aSidebar">
<h2>Site Map</h2><hr>
<h3><a href="/">Home</a></h3><hr>
<h3><a href="/agenda">Daily Agenda</a></h3><hr>
<h3><a href="/books">Book List</a></h3><hr>
<h3><a href="/blogs">Blogs</a></h3><hr>
<h2>Navigation</h2><hr>
</div>
<div id="aContent">
<!--ROOT-->
</div>
</div>
<hr>
<div id="aFooter">
<div></div>
<p>Powered by simple HTML4 and JavaScript</p>
<div id="aContactIcons">
<p>Contacts:</p>
<a href="https://github.com/Teinc3">
<img src="/assets/icons/github_icon.svg" alt="GitHub" />
</a>
<a href="">
<img src="/assets/icons/linkedin_icon.svg" alt="LinkedIn" />
</a>
<a href="mailto:[email protected]">
<img src="/assets/icons/mail_icon.svg" alt="Email" />
</a>
<a href="https://discord.gg/ZByUfCg">
<img src="/assets/icons/discord_icon.svg" alt="Discord" />
</a>
<a href="https://www.reddit.com/user/teinc3/">
<img src="/assets/icons/reddit_icon.svg" alt="Reddit" />
</a>
<a href="https://www.youtube.com/@Teinc3">
<img src="/assets/icons/youtube_icon.svg" alt="YouTube" />
</a>
<a href="https://t.me/teinc3">
<img src="/assets/icons/telegram_icon.svg" alt="Telegram" />
</a>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var headers = document.getElementById('aContent').getElementsByTagName('h2');
var h3s = document.getElementById('aContent').getElementsByTagName('h3');
var sidebar = document.getElementById('aSidebar');
var ul;
var i;
for (i = 0; i < headers.length; i++) {
var h3 = document.createElement('h3');
var link = document.createElement('a');
link.href = '#' + headers[i].id;
link.appendChild(document.createTextNode(headers[i].textContent));
h3.appendChild(link);
if (i !== 0) {
sidebar.appendChild(document.createElement('hr'));
}
sidebar.appendChild(h3);
ul = document.createElement('ul');
sidebar.appendChild(ul);
}
for (i = 0; i < h3s.length; i++) {
var li = document.createElement('li');
link = document.createElement('a');
link.href = '#' + h3s[i].id;
link.appendChild(document.createTextNode(h3s[i].textContent));
li.appendChild(link);
ul.appendChild(li);
}
</script>
</body>
</html>