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: | <form action='flotten_tmp.php?session=&fstate=3' method=post name='aa'>
<input type=hidden name='s' value='10'>
<input type=hidden name=c203 value=$c203>
<input type=hidden name=ladekap2 value=25000>
<input type=hidden name=gesver2 value=50>
<table width=519>
<tr>
<td class=c colspan=3>Was willst du anbieten?</td>
</tr>
<tr>
<th><input type='radio' name='radio' value='ametall' onclick='y()'></th>
<th><input type='text' name='ametall' size=6 onkeyup='y()'></th>
<th align=left>Metall</th>
<tr>
<th><input type='radio' name='radio' value='akristall' onclick='y()'></th>
<th><input type='text' name='akristall' size=6 onkeyup='y()'></th>
<th align=left>Kristall</th>
<tr>
<th><input type='radio' name='radio' value='adeut' onclick='y()'></th>
<th><input type='text' name='adeut' size=6 onkeyup='y()'></th>
<th align=left>Deuterium</th>
</tr>
<tr>
<th>Abgaben</th>
<th><div id='x'> - </div></th>
<th align=left>Deuterium</th>
</tr>
<tr>
<th colspan=3><input type=submit value='Weiter' name='dos'></th>
</tr>
</table>
<script type='text/javascript'>
document.onkeyup = y;
document.onclick = y;
function y(){
a=this.aa.ametall.value;
b=this.aa.akristall.value;
c=this.aa.adeut.value;
u='FF0000';
ab='Anklicken';
if(this.aa.radio[0].checked){
if(a==''){
ab='Metall';
u='FFFF00';
}else{
ab=Math.round(a*$spesensatz/100);}
}else if(this.aa.radio[1].checked){
if(b==''){
ab='Kristall';
u='FFFF00';
}else{
ab=Math.round(b*$spesensatz/100);}
}else if(this.aa.radio[2].checked){
if(c==''){
ab='Deuterium';
u='FFFF00';
}else{
ab=Math.round(c*$spesensatz/100);}
}
document.getElementById('x').innerHTML='<font color=#'+u+'00>'+ab+';
}
</script>
</form> |