Blame | Letzte Änderung | Log anzeigen | RSS feed
<html><head><title>Unbenanntes Dokument</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#FFFF00"><?require_once "../Online-Shop/connect2.php";print_r($_GET['id']);$query = "select * from Logins where ID = ".$_GET['id'];$result = mysql_query ($query) or die (mysql_errno().": ".mysql_error());$zeile = mysql_fetch_array($result);?><br><br><table><tr><td valign="top" class="links"><a href="../logins/logins.php?action=edit&ID=<? echo $zeile[Login] ?>">Kunde:</a><br>Userlevel: <? echo $zeile[Status] ?> </td><td class="rechts"> <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFF00"><tr><td height="24"><? echo $zeile[Name1] ?> </td><td><? echo $zeile[Strasse] ?> </td><td><a style="text-decoration:none" href="dial:<? echo $zeile[Telefon] ?>"><? echo $zeile[Telefon] ?> <img src="../images/Online-Shop/telefon.gif" border="0"></a> </td><td><? echo $zeile[Fax] ?> </td></tr><tr><td><? echo $zeile[Name2] ?> </td><td><? echo $zeile[PLZ] ?> <? echo $zeile[ORT] ?></td><td><? if ($zeile[E_Mail]) { ?><a href="mailto:<? echo $zeile[E_Mail] ?>"><? echo $zeile[E_Mail] ?></a><? }?> </td><td><? echo $zeile[Land] ?> </td></tr></table></td></tr><tr><td valign="top" class="links">Artikel:</td><td align="right class="rechts""> <table width="100%" border="0" cellspacing="2" cellpadding="2"><?$summe=0;$runner=0;$query_artikel="selectartikel_to?_Bestellung.ID,artikel_to_Bestellung.status,artikel_to_Bestellung.Preis_pro_Stueck,artikel_to_Bestellung.Menge,artikel_to_Bestellung.Bezeichnung,artikel.*fromartikel_to_Bestellung,artikelwhereartikel_to_Bestellung.Bestellung = $zeile[ID]andartikel_to_Bestellung.artikel=artikel.IDandartikel.language='DE'order byartikel.Father desc,artikel.Kennung";// $result_artikel = mysql_query ($query_artikel) or die (mysql_errno().": ".mysql_error());// while($zeile_artikel=mysql_fetch_array($result_artikel))// {$summe+=$zeile_artikel[2]*$zeile_artikel[Menge];if ($zeile_artikel[Father] > -3){?><tr class="<? if ($runner++ % 2 != 0) {?>lightgray<? } else { ?>darkgray<? } ?>"><td width="5%" valign="top"> <? echo $zeile_artikel[kennung] ?> </td><td width="90%"> <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="right" nowrap valign="top"> <? echo $zeile_artikel[Menge] ?> x </td><td width="100%" ><?if ($zeile_artikel[Bezeichnung]){$zeile_artikel[kurzbezeichnung]=$zeile_artikel[Bezeichnung];}echo strip_tags($zeile_artikel[kurzbezeichnung]);?></td><td align="right" nowrap valign="top"> <? echo number_format($zeile_artikel[2],2,',','.') ?> € </td></tr></table></td><td valign="top" nowrap><a href="<? echo $self ?>?Bestellung=<? echo $Bestellung ?>&artikelstatus[<? echo $zeile_artikel[0] ?>]=O" style="text-decoration:none;" <? if ($zeile_artikel[1] == 'offen') { ?>class="statu?s_red"<? } else { ?>class="status_off"<? } ?>> O </a></td><td valign="top" nowrap><a href="<? echo $self ?>?Bestellung=<? echo $Bestellung ?>&artikelstatus[<? echo $zeile_artikel[0] ?>]=B" style="text-decoration:none;" <? if ($zeile_artikel[1] == 'in Bearbeitung') { ?>class="status_yellow"<? } else { ?>class="status_off"<? } ?>> B </a></td><td valign="top" nowrap><a href="<? echo $self ?>?Bestellung=<? echo $Bestellung ?>&artikelstatus[<? echo $zeile_artikel[0] ?>]=E" style="text-decoration:none" <? if ($zeile_artikel[1] == 'erledigt') { ?>class="status_green"<? } else { ?>class="status_off"<? } ?>> E </a></td></tr><?}else{$Versand_Artikel=$zeile_artikel;?><tr class="<? if ($runner++ % 2 != 0) {?>lightgray<? } else { ?>darkgray<? } ?>"><td width="5%" valign="top"> </td><td width="90%"><br> <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td nowrap valign="top"> Versand: <? echo strip_tags($zeile_artikel[kurzbezeichnung]); ?></td><td align="right" nowrap valign="top"> <? echo number_format(($zeile_artikel[2]), 2, ',', '.') ?> € </td></tr></table></td><td colspan=3> </td></tr><?}// }?><tr><td width="5%" valign="top"> </td><td align="right"> Bestellwert: <? echo number_format($summe, 2, ',', '.') ?>€ </td><td align="right" colspan="3"> </td></tr><tr><td valign="top"> </td>?<td> Versandstatus (O=offen; F=freigegeben; V=versand)</td><td valign="top" nowrap class=darkgray><a href="<? echo $self ?>?Bestellung=<? echo $Bestellung ?>&artikelstatus[<? echo $Versand_Artikel[0] ?>]=O" style="text-decoration:none;" <? if ($Versand_Artikel[1] == 'offen') { ?>class="status_red"<? } else { ?>class="status_off"<? } ?>> O </a></td><td valign="top" nowrap class=darkgray><a href="<? echo $self ?>?Bestellung=<? echo $Bestellung ?>&artikelstatus[<? echo $Versand_Artikel[0] ?>]=F" style="text-decoration:none;" <? if ($Versand_Artikel[1] == 'freigegeben') { ?>class="status_yellow"<? } else { ?>class="status_off"<? } ?>> F </a></td><td valign="top" nowrap class=darkgray><a href="<? echo $self ?>?Bestellung=<? echo $Bestellung ?>&artikelstatus[<? echo $Versand_Artikel[0] ?>]=V" style="text-decoration:none" <? if ($Versand_Artikel[1] == 'versand') { ?>class="status_green"<? } else { ?>class="status_off"<? } ?>> V </a></td></tr></table><table width="100%"><tr><td align="center" nowrap class="status_red" width="33%">offene Position</td><td align="center" nowrap class="status_yellow" width="33%"> inBearbeitung </td><td align="center" nowrap class="status_green" width="33%"> erledigt</td></tr></table></td></tr></table></body></html>