-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguide_herbs_eng.htm
99 lines (86 loc) · 3.51 KB
/
guide_herbs_eng.htm
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
<html>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="style.css" type=text/css rel=stylesheet>
<script>
var DATA = new Array();
</script>
<script src="hamster_eng.js"></script>
<script src="guide_herbs_eng.js"></script>
<center>
<img class=guideheadline src="img/t_herbs_eng.jpg" />
<table cellpadding=2 cellspacing=2 border=0 width=650>
<script>
OUT('<TABLE cellSpacing=0 cellPadding=0 align=center border=0 class="problem_index">');
OUT('<tr><td><ul>');
var zaehler = 1;
for (i = 0; i < DATA.length; ++i) {
var it = DATA[i];
if (it.section) {
OUT('<li><a href="#section_' + zaehler + '">' + it.section + '</a></li>');
++zaehler;
}
}
OUT('</ul></td></tr>');
OUT('</TABLE>');
OUT('<table cellpadding=2 cellspacing=2 border=0 width=650>');
zaehler = 1;
for (i = 0; i < DATA.length; ++i) {
var it = DATA[i];
var it2 = DATA[i+1];
class_modifier = "";
goto_modifier = "";
if (PARAM["id"] && (it.id == PARAM["id"])) {
class_modifier = '_mark';
goto_modifier = '<a name=goto id=goto></a>';
}
if (it.section) {
OUT('<tr><td colspan=6 class=section align=center id="section_' + zaehler + '" >' + it.section + '</td></tr>');
++zaehler;
OUT('<tr>');
OUT('<th> </th><th class=itemtabth>Herb</th><th class=itemtabth>Value</th>');
OUT('<th> </th><th class=itemtabth>Herb</th><th class=itemtabth>Value</th>');
OUT('</tr>');
}
else if (it.subtype == 'comment') {
OUT('<tr><td colspan=6 class=itemcomment valign=top>' + goto_modifier + it.text + '</td></tr>');
}
else {
class_modifier = "";
goto_modifier = "";
if (PARAM["id"] && it.id && (it.id == PARAM["id"])) {
class_modifier = '_mark';
goto_modifier = '<a name=goto id=goto></a>';
}
OUT('<tr>');
OUT('<td class=itempic rowspan=2 width=100 height=100>' + goto_modifier + '<img src="' + it.pic + '" border=0></td>');
OUT('<td class=itemcell' + class_modifier + ' valign=top height=10><b>' + it.name + '</b></td>');
OUT('<td class=itemcell' + class_modifier + ' valign=top align=center>' + it.value + ' </td>');
if (it2 && it2.id) {
OUT('<td class=itempic rowspan=2 width=100 height=100>' + goto_modifier + '<img src="' + it2.pic + '" border=0></td>');
OUT('<td class=itemcell' + class_modifier + ' valign=top height=10><b>' + it2.name + '</b></td>');
OUT('<td class=itemcell' + class_modifier + ' valign=top align=center>' + it2.value + ' </td>');
}
OUT('</tr><tr>');
OUT('<td class=itemcell' + class_modifier + ' colspan=2 valign=top height=60>');
if (it.effect) { OUT('<u><i>Effect:</i></u> ' + it.effect + '<br>'); }
if (it.text) { OUT('' + it.text + '<br>'); }
if (it.ingredients) { OUT('<u><i>Ingredients:</i></u> ' + it.ingredients + '<br>'); }
if (it.teachers) { OUT('<u><i>Teachers:</i></u> ' + it.teachers + '<br>'); }
OUT('</td>');
if (it2 && it2.id) {
OUT('<td class=itemcell' + class_modifier + ' colspan=2 valign=top height=60>');
if (it2.effect) { OUT('<u><i>Effect:</i></u> ' + it2.effect + '<br>'); }
if (it2.text) { OUT('' + it2.text + '<br>'); }
if (it2.ingredients) { OUT('<u><i>Ingredients:</i></u> ' + it2.ingredients + '<br>'); }
if (it2.teachers) { OUT('<u><i>Teachers:</i></u> ' + it2.teachers + '<br>'); }
OUT('</td>');
}
OUT('<tr></tr>');
if (it2 && it2.id) { ++i; }
}
}
</script>
</table>
<p class=smallnote></p>
</center>
</html>