| 1 |
lars |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<title>Unbenanntes Dokument</title>
|
|
|
5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
6 |
</head>
|
|
|
7 |
<script language="javascript">
|
|
|
8 |
window.resizeTo(500, 200);
|
|
|
9 |
</script>
|
|
|
10 |
<script type="text/javascript" language="javascript">
|
|
|
11 |
function killkomma(w){
|
|
|
12 |
document.manuArt.preis.value = w.replace(/,/,'.');
|
|
|
13 |
}
|
|
|
14 |
|
|
|
15 |
function addArtikel() {
|
|
|
16 |
newHref = 'best_manu.php?action=manu_art&ID=manuArt&anzahl=' + document.manuArt.anzahl.value +'&kurzbezeichnung='+ document.manuArt.kurzbezeichnung.value +'&preis='+ document.manuArt.preis.value;
|
|
|
17 |
window.opener.location.href = newHref;
|
|
|
18 |
window.close();
|
|
|
19 |
}
|
|
|
20 |
</script>
|
|
|
21 |
<body onload="javascript:document.manuArt.kurzbezeichnung.focus();">
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
<form name="manuArt" method="post" action="<? echo $PHP_SELF; ?>" name="manueller_artikel">
|
|
|
25 |
<table width="100%">
|
|
|
26 |
<tr>
|
|
|
27 |
<th>Anzahl</th>
|
|
|
28 |
<th>Kurzbezeichnung</th>
|
|
|
29 |
<th>Preis</th>
|
|
|
30 |
</tr>
|
|
|
31 |
<tr>
|
|
|
32 |
<input type="hidden" name="ID" value="manuArt" />
|
|
|
33 |
<input type="hidden" name="link" value="<? echo $_SERVER['QUERY_STRING']; ?>" />
|
|
|
34 |
<td><input onfocus="this.value=''" type="text" name="anzahl" size="2" value="1" /></td>
|
|
|
35 |
<td><input type="text" name="kurzbezeichnung" size="40" value="" /></td>
|
|
|
36 |
<td><input onkeydown="killkomma(this.value);" onfocus="this.value=''" type="text" name="preis" size="5" value="0.00" /></td>
|
|
|
37 |
<!-- -->
|
|
|
38 |
</tr>
|
|
|
39 |
</table>
|
|
|
40 |
<br>
|
|
|
41 |
|
|
|
42 |
<input onclick="addArtikel()" type="submit" name="submit_manueller_artikel" value="Einfügen" />
|
|
|
43 |
|
|
|
44 |
</form>
|
|
|
45 |
<? //} ?>
|
|
|
46 |
</body>
|
|
|
47 |
</html>
|