-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmenu_dirs.html
402 lines (286 loc) · 10.2 KB
/
menu_dirs.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Øchan Navigation</title>
<link rel="stylesheet" type="text/css" href="http://n2rg/css/menu_global.css" />
<link rel="alternate stylesheet" type="text/css" href="/css/site_summer.css" title="Summer" />
<link rel="alternate stylesheet" type="text/css" href="/css/sitemenu_summer.css" title="Summer" />
<link rel="alternate stylesheet" type="text/css" href="/css/site_winter.css" title="Winter" />
<link rel="alternate stylesheet" type="text/css" href="/css/sitemenu_winter.css" title="Winter" />
<link rel="stylesheet" type="text/css" href="/css/site_autumn.css" title="Autumn" />
<link rel="stylesheet" type="text/css" href="/css/sitemenu_autumn.css" title="Autumn" />
<link rel="alternate stylesheet" type="text/css" href="/css/site_photon.css" title="Photon" />
<link rel="alternate stylesheet" type="text/css" href="/css/sitemenu_photon.css" title="Photon" />
<script type="text/javascript"><!--
// var style_cookie_site = "kustyle_site";
var style_cookie = "kustyle";
//--></script>
<link rel="shortcut icon" href="/favicon.ico" />
<script type="text/javascript" src="/lib/javascript/gettext.js"></script>
<!-- <script type="text/javascript" src="/lib/javascript/menu.js"></script> -->
<script type="text/javascript" src="/lib/javascript/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/lib/javascript/kusaba.new.js"></script>
<script type="text/javascript"><!--
var ku_boardspath = 'http://n2rg';
function showstyleswitcher() {
var switcher = document.getElementById('sitestyles');
switcher.innerHTML = 'Стили:[<a href="#" onclick="javascript:set_stylesheet(\'Summer\', false, true);reloadmain();" style="display: inline;" target="_self">S</a>] [<a href="#" onclick="javascript:set_stylesheet(\'Winter\', false, true);reloadmain();" style="display: inline;" target="_self">W</a>] [<a href="#" onclick="javascript:set_stylesheet(\'Autumn\', false, true);reloadmain();" style="display: inline;" target="_self">A</a>] [<a href="#" onclick="javascript:set_stylesheet(\'Photon\', false, true);reloadmain();" style="display: inline;" target="_self">P</a>]';
}
function toggle(button, area) {
var tog=document.getElementById(area);
if(tog.style.display) {
tog.style.display="";
} else {
tog.style.display="none";
}
button.innerHTML=(tog.style.display)?'+':'−';
set_cookie('nav_show_'+area, tog.style.display?'0':'1', 30);
}
function removeframes() {
var boardlinks = document.getElementsByTagName("a");
for(var i=0;i<boardlinks.length;i++) if(boardlinks[i].className == "boardlink") boardlinks[i].target = "_top";
document.getElementById("removeframes").innerHTML = 'Фреймы убраны.';
return false;
}
function reloadmain() {
if (parent.main) {
parent.main.location.reload();
}
}
function hidedirs() {
set_cookie('tcshowdirs', '', 30);
window.location = '/menu.html';
}
function showdirs() {
set_cookie('tcshowdirs', 'yes', 30);
window.location = '/menu_dirs.html';
}
function updatenewpostscount() {
$.ajax({
url: '/newpostscount.php',
data: localStorage['lastvisits'] ? (JSON.parse(localStorage['lastvisits']) || { }) : { },
dataType: 'json',
success: function(data) {
iter_obj(data, function(brd, val) {
if(val != 0 || $('#newposts_'+brd).text() !== '') {
var newtext = (val == 0) ? '' : ' ('+val+')';
$('#newposts_'+brd).text(newtext);
}
});
},
error: function() {
alert(_.oops);
}
});
}
function iter_obj(object, callback) {
for (var property in object) {
if (object.hasOwnProperty(property)) {
callback(property, object[property]);
}
}
}
//--></script>
<base target="main" />
</head>
<body>
<h1><a href="/" target="_top" title="Главная">Øchan</a></h1>
<ul>
<li><a onclick="javascript:hidedirs();" href="menu.html" target="_self">[Спрятать директории]</a></li>
<li id="sitestyles"><a onclick="javascript:showstyleswitcher();" href="#" target="_self">[Стили сайта]</a></li>
<li id="refreshnewposts"><a href="#" onclick="javascript:updatenewpostscount();return false" target="_self">Обновить</a></li>
</ul>
<h2>
<span class="plus" onclick="toggle(this, '20');" title="Нажмите Показать/Спрятать">+</span>
2.0</h2>
<div id="20" style="display: none;">
<ul>
<li>Нет видимых досок</li>
</ul>
</div>
<h2>
<span class="plus" onclick="toggle(this, 'all');" title="Нажмите Показать/Спрятать">−</span>
all</h2>
<div id="all">
<ul>
<li><a href="http://n2rg/b/" class="boardlink">
/b/ -
Бред
<span id="newposts_b"></span>
</a></li>
<li><a href="http://n2rg/d/" class="boardlink">
/d/ -
Рисунки
<span id="newposts_d"></span>
</a></li>
<li><a href="http://n2rg/r/" class="boardlink">
/r/ -
Реквесты
<span id="newposts_r"></span>
</a></li>
<li><a href="http://n2rg/0/" class="boardlink">
/0/ -
Øчан
<span id="newposts_0"></span>
</a></li>
</ul>
</div>
<h2>
<span class="plus" onclick="toggle(this, 'geek');" title="Нажмите Показать/Спрятать">−</span>
geek</h2>
<div id="geek">
<ul>
<li><a href="http://n2rg/e/" class="boardlink">
/e/ -
Радиоэлектроника
<span id="newposts_e"></span>
</a></li>
<li><a href="http://n2rg/t/" class="boardlink">
/t/ -
Технологии
<span id="newposts_t"></span>
</a></li>
<li><a href="http://n2rg/hw/" class="boardlink">
/hw/ -
Железо
<span id="newposts_hw"></span>
</a></li>
<li><a href="http://n2rg/s/" class="boardlink">
/s/ -
Софт
<span id="newposts_s"></span>
</a></li>
<li><a href="http://n2rg/c/" class="boardlink">
/c/ -
Быдлокодинг
<span id="newposts_c"></span>
</a></li>
<li><a href="http://n2rg/vg/" class="boardlink">
/vg/ -
Видеоигры
<span id="newposts_vg"></span>
</a></li>
<li><a href="http://n2rg/8/" class="boardlink">
/8/ -
8-bit и pixel art
<span id="newposts_8"></span>
</a></li>
<li><a href="http://n2rg/bg/" class="boardlink">
/bg/ -
Настольные игры
<span id="newposts_bg"></span>
</a></li>
<li><a href="http://n2rg/wh/" class="boardlink">
/wh/ -
Warhammer
<span id="newposts_wh"></span>
</a></li>
</ul>
</div>
<h2>
<span class="plus" onclick="toggle(this, 'other');" title="Нажмите Показать/Спрятать">−</span>
other</h2>
<div id="other">
<ul>
<li><a href="http://n2rg/a/" class="boardlink">
/a/ -
Аниме
<span id="newposts_a"></span>
</a></li>
<li><a href="http://n2rg/au/" class="boardlink">
/au/ -
Автомобили
<span id="newposts_au"></span>
</a></li>
<li><a href="http://n2rg/bo/" class="boardlink">
/bo/ -
Книги
<span id="newposts_bo"></span>
</a></li>
<li><a href="http://n2rg/co/" class="boardlink">
/co/ -
Комиксы
<span id="newposts_co"></span>
</a></li>
<li><a href="http://n2rg/cook/" class="boardlink">
/cook/ -
Лепка супов
<span id="newposts_cook"></span>
</a></li>
<li><a href="http://n2rg/f/" class="boardlink">
/f/ -
Flash
<span id="newposts_f"></span>
</a></li>
<li><a href="http://n2rg/fa/" class="boardlink">
/fa/ -
Мода и стиль
<span id="newposts_fa"></span>
</a></li>
<li><a href="http://n2rg/fl/" class="boardlink">
/fl/ -
Иностранные языки
<span id="newposts_fl"></span>
</a></li>
<li><a href="http://n2rg/m/" class="boardlink">
/m/ -
Музыка
<span id="newposts_m"></span>
</a></li>
<li><a href="http://n2rg/med/" class="boardlink">
/med/ -
Медицина
<span id="newposts_med"></span>
</a></li>
<li><a href="http://n2rg/ph/" class="boardlink">
/ph/ -
Фотографии
<span id="newposts_ph"></span>
</a></li>
<li><a href="http://n2rg/tv/" class="boardlink">
/tv/ -
Кино и сериалы
<span id="newposts_tv"></span>
</a></li>
<li><a href="http://n2rg/war/" class="boardlink">
/war/ -
Вооружение
<span id="newposts_war"></span>
</a></li>
<li><a href="http://n2rg/wp/" class="boardlink">
/wp/ -
Обои
<span id="newposts_wp"></span>
</a></li>
</ul>
</div>
<h2>
<span class="plus" onclick="toggle(this, 'adult');" title="Нажмите Показать/Спрятать">−</span>
adult</h2>
<div id="adult">
<ul>
<li><a href="http://n2rg/h/" class="boardlink">
/h/ -
Хентай
<span id="newposts_h"></span>
</a></li>
<li><a href="http://n2rg/g/" class="boardlink">
/g/ -
Девушки
<span id="newposts_g"></span>
</a></li>
<li><a href="http://n2rg/fur/" class="boardlink">
/fur/ -
Фурри
<span id="newposts_fur"></span>
</a></li>
</ul>
</div>
<script type="text/javascript">
$(document).ready(function() {
updatenewpostscount();
$('#refreshnewposts').click(updatenewpostscount);
})</script>
</body>
</html>