Subversion-Projekte lars-tiefland.content-management

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<script language="javascript">
        window.resizeTo(500, 200);
</script>
<script type="text/javascript" language="javascript">
        function killkomma(w){
                document.manuArt.preis.value = w.replace(/,/,'.');
        }

        function addArtikel() {
                newHref = 'best_manu.php?action=manu_art&amp;ID=manuArt&anzahl=' + document.manuArt.anzahl.value +'&kurzbezeichnung='+ document.manuArt.kurzbezeichnung.value +'&preis='+ document.manuArt.preis.value;
                window.opener.location.href = newHref;
                window.close(); 
        }
</script>
<body onload="javascript:document.manuArt.kurzbezeichnung.focus();">


<form name="manuArt" method="post" action="<? echo $PHP_SELF; ?>" name="manueller_artikel">
  <table width="100%">
    <tr> 
      <th>Anzahl</th>
      <th>Kurzbezeichnung</th>
      <th>Preis</th>
    </tr>
    <tr> 
      <input type="hidden" name="ID" value="manuArt" />
          <input type="hidden" name="link" value="<? echo $_SERVER['QUERY_STRING']; ?>" />
      <td><input onfocus="this.value=''" type="text" name="anzahl" size="2" value="1" /></td>
      <td><input type="text" name="kurzbezeichnung" size="40" value="" /></td>
      <td><input onkeydown="killkomma(this.value);" onfocus="this.value=''" type="text" name="preis" size="5" value="0.00"  /></td>
      <!--  -->
    </tr>
  </table>
  <br>

  <input onclick="addArtikel()" type="submit" name="submit_manueller_artikel" value="Einfügen" />

</form>
<? //} ?>
</body>
</html>