<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>Eingabe</title>
<style type="text/css">
<!--
.style3 {
font-size: 25px;
font-weight: bold;
}
body {
background-color: #003366;
}
body,td,th {
color: #FFFFFF;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body>
<SCRIPT LANGUAGE="JavaScript"><!--
function check_feld1(){
if (document.getElementById('feld1').value.length == 8) {
document.getElementById('feld2').focus();
document.getElementById('feld1').style.color='#009900';
}
}
//--></SCRIPT>
<div align="center">
<form action="check_eingabe.php" method="post">
<table width="100%" height="100%" border="0">
<tr>
<td> <table width="200" border="0" align="center">
<tr>
<td align="center" valign="top"><div align="center"><img src="images.jpg" width="122" height="65"></div></td>
</tr>
</table> <p> </p>
<table width="100%" height="100%" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td><table width="100%" border="0">
<tr>
<td width="9%"> </td>
<td width="83%"><table width="367" border="0" align="left">
<tr>
<td width="361"><span class="style3">Charter-/ Linientickets </span></td>
</tr>
</table></td>
<td width="4%"> </td>
<td width="4%"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0">
<tr>
<td>
<div align="right">
<table width="75%" border="0">
<tr>
<td><div align="right">Agent:
<input name="feld_Agent" id="feld_Agent" size="30" maxlength="30" readonly="">
</div></td>
<td><div align="left">PN:
<input name="feld_pn" id="feld_pn" size="10" maxlength="10" readonly="">
</div></td>
<td>Datum:
<input name="feld_date" id="feld_date" size="10" maxlength="10" readonly="">
</td>
</tr>
</table>
<p> </p>
<p> </p>
</div></td>
</tr>
<tr>
<td><div align="center">
<table width="200" border="1">
<tr>
<td><div align="center">
<p>Buchungsnummer<br>
(8-stellig)</p>
</div></td>
<td><div align="center">Kundennamen</div></td>
<td><div align="center">Abflugdatum<br>
(tt.mm.jj)</div></td>
<td><div align="center">Strecke</div></td>
<td><div align="center">Betrag<br>
(129,99)</div></td>
<td><div align="center">Bemerkung</div></td>
<td><div align="center">Paxanzahl</div></td>
<td><div align="center">Aktion</div></td>
<td><div align="center">Typ</div></td>
</tr>
<tr>
<td>
<div align="center">
<input name="feld1" id="feld16" size="10" maxlength="8" onKeyUp= "check_feld1()">
</div></td>
<td>
<div align="center">
<input name="feld2" id="feld24" size="22" maxlength="20" backgroundcolor="#999999">
</div></td>
<td>
<div align="center">
<input name="feld3" id="feld34" size="10" maxlength="8">
</div></td>
<td>
<div align="center">
<input name="feld4" id="feld48" size="8" maxlength="6">
</div></td>
<td><div align="center">
<input name="feld5" id="feld54" size="9" maxlength="7">
</div></td>
<td><div align="center">
<input name="feld6" id="feld63" size="10" maxlength="10">
</div></td>
<td><div align="center">
<input name="feld7" id="feld73" size="5" maxlength="3">
</div></td>
<td><div align="center">
<input name="feld8" id="feld83" size="15" maxlength="13">
</div></td>
<td><div align="center">
<SELECT NAME="dest" SIZE=1>
<OPTION SELECTED VALUE="Linie">Linie
<OPTION VALUE="Charter">Charter
</SELECT>
</div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td>
<div align="center">
<p>
<input name="submit" type="submit" value="OK">
<input name="reset" type="reset" value="Abbrechen">
</p>
</div></td>
</tr>
</table></td>
</tr>
</table>
<div align="center"> </div></td></tr>
</table>
<script type="text/javascript">
//Felder mit Agentname und Id ziehen und ausfüllen. Datum setzen.
var buchungsnummer ="";
var agent ="aa";
var pn = "23";
var kundennamen ="";
var abflugdatum ="";
var strecke ="";
var betrag ="";
var bemerkung ="";
var paxanzahl ="";
var aktion = "";
var typ = "";
var datum = "";
var missing = "";
var heute = new Date();
var jahr = heute.getYear();
var monat = heute.getMonth()+1;
var tag = heute.getDate();
document.getElementById('feld1').value= buchungsnummer;
document.getElementById('feld2').value= kundennamen;
document.getElementById('feld3').value= abflugdatum;
document.getElementById('feld4').value= strecke;
document.getElementById('feld5').value= betrag;
document.getElementById('feld6').value= bemerkung;
document.getElementById('feld7').value= paxanzahl;
document.getElementById('feld8').value= aktion;
document.getElementById('feld_Date').style.backgroundColor='#CCCCCC';
document.getElementById('feld_agent').style.backgroundColor='#CCCCCC';
document.getElementById('feld_pn').style.backgroundColor='#CCCCCC';
document.getElementById('feld_Date').value=tag+"."+monat+"."+jahr;
document.getElementById('feld_Agent').value= agent;
document.getElementById('feld_pn').value= pn;
if (missing == "buchungsnummer") document.getElementById('feld1').style.backgroundColor='#FF0000';
if (missing == "kundennamen") document.getElementById('feld2').style.backgroundColor='#FF0000';
if (missing == "abflugdatum") document.getElementById('feld3').style.backgroundColor='#FF0000';
if (missing == "strecke") document.getElementById('feld4').style.backgroundColor='#FF0000';
if (missing == "betrag") document.getElementById('feld5').style.backgroundColor='#FF0000';
if (missing == "bemerkung") document.getElementById('feld6').style.backgroundColor='#FF0000';
if (missing == "paxanzahl") document.getElementById('feld7').style.backgroundColor='#FF0000';
if (missing == "aktion") document.getElementById('feld8').style.backgroundColor='#FF0000';
</script>
</form>
</div>
</body>
</html>