<?php
....
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title> </title>
<style type="text/css">
#apDiv1 {
position: absolute;
top: 20px;
left: 20px;
height: 86px;
z-index:3;
width: 1100px;
}
#apDiv2 {
position:absolute;
left:20px;
top:120px;
width:1600px;
height:auto;
z-index:2;
}
</style>
</head>
<body style="background-image: url(../../../grafik/hintergrund.jpg);
background-attachment:fixed;">
<?php
....
?>
<div id="apDiv1"><img src="http://www.html.de/grafik/button.gif" width="800" height="74" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="33,19,118,53" href="http://www.html.de/liste.php" target="_self" />
</map>
</div>
<div id="apDiv2">
<h4>Zusatzkosten : <br />
<br />
1 = Bergung <br />
2 = Straßenreinigung / Ölbindemittel
<br />
3 = Fz. öffnung</h4>
<table border="2" style="border-collapse: collapse" bordercolor="#111111" width="1740" bgcolor="#FFFF00">
<tr>
<td align="center" colspan="15"><form action="<?php echo basename(__FILE__); ?>" method="post">
<select size="1" name="D2">
<option <?php echo$selecta; ?> value="edatum">Einsatz Datum</option>
<option <?php echo$selectb; ?> value="sb">SB Nr.</option>
<option <?php echo$selectc; ?> value="amt">Behörde</option>
<option <?php echo$selectd; ?> value="kennzeichen">Kennzeichen</option>
<option <?php echo$selecte; ?> value="eort">Einsatz Ort</option>
<option <?php echo$selecte; ?> value="ak">Arbeitskarte</option>
</select><input type="submit" value="sortieren" name="submit" /></form>
</td>
</tr>
<tr>
<td width="140" align="center">Einsatzdatum</td>
<td width="80" align="center">Einsatzzeit</td>
<td width="80" align="center">SB Nr.</td>
<td width="100" align="center">Behörde</td>
<td width="80" align="center">Arbeits-<br />Karte</td>
<td width="200" align="center">Kennzeichen</td>
<td width="200" align="center">Fahrzeugtyp</td>
<td width="300" align="center">Einsatzort</td>
<td width="100" align="center">Abschlepp-<br />kosten</td>
<td width="100" align="center">Standgeld</td>
<td width="50" align="center">Zusatz-<br />Kosten</td>
<td width="100" align="center">Standort</td>
<td width="100" align="center">Freigabe</td>
<td width="55" align="center">X</td>
<td width="55" align="center">Edit</td>
</tr>
<?php
.......
include '../../../verbinden.php';
$abfrage = mysql_query("SELECT * FROM liste WHERE station = 'xxx' AND amt in ('xx', 'xxxx', 'xxxxx') $suche");
while($row = mysql_fetch_array($abfrage,MYSQL_ASSOC))
echo '<tr>
<td align="center" width="140">'.$row['edatumt'].'.'.$row['edatumm'].'.'.$row['edatumj'].'</td>
<td align="center" width="80">'.substr($row['ezeit'],0,5).'</td>
<td align="center" width="80">'.$row['sb'].'</td>
<td align="center" width="100">'.$row['amt'].'</td>
<td align="center" width="80">'.$row['ak'].'</td>
<td align="center" width="200">'.$row['kennzeichen'].'</td>
<td align="center" width="200">'.$row['typ'].'</td>
<td align="center" width="300">'.$row['eort'].'</td>
<td align="center" width="100">'.$row['preis'].'</td>
<td align="center" width="100">'.$row['standgeld'].'</td>
<td align="center" width="50">'.$row['zusatzleistung2'].'</td>
<td align="center" width="100">'.$row['lager'].'</td>
<td align="center" width="100">'.$row['freigabe'].'</td>
<td align="center" width="55"><a href="http://www.html.de/../austragen/austragen4.php?nummer='.$row['sb'].'"><img border="0" src="http://www.html.de/grafik/x.png" ><br></a></td>
<td align="center" width="55"><a href="http://www.html.de/../aendern/aendern2.php?sb='.$row['sb'].'"><img border="0" src="http://www.html.de/grafik/edit.png" ><br></a></td>
</tr>';
?>
</table>
</div>
</body>
</html>