Blame | Letzte Änderung | Log anzeigen | RSS feed
<?$tab = "Firma";define( "modul_name", "branchenbuch" );define( "tool_name", "firmen" );require_once "../Online-Shop/connect2.php";$self = basename( $_SERVER["PHP_SELF"] );if ( $action == "update" && $_POST["speichern"] ){unset( $_POST["speichern"] );if ( !$ID ){ // insert Dummy-Entry$query = "insert into $tab (erstellt_am,erstellt_von, bundesland) VALUES (NOW(),'$PHP_AUTH_USER', 10)";$result = mysql_query( $query ) or die( mysql_errno() . ": " .mysql_error() . "<hr>" . $query . "<hr>" );$ID = mysql_insert_id();}unset( $_POST["action"] );unset( $_POST["ID"] );foreach ( $_FILES as $name => $file ){// $Imagedaten extrahieren/*Imagedaten möglich Werte:0: Titel des Feldes1: max. Breite für Bild12: max. Höhe für Bild13: Pfad für mittleres Bild14: max. Breite für mittleres Bild15: max. Höhe für mittleres Bild16: Pfad für kleines Bild17: max. Breite für kleines Bild18: max. Höhe für kleines Bild1*/$file["name"] = strtolower( $file["name"] );$image["daten"] = explode( ";", $web_rechte[modul_name][tool_name][$name] );$image["pfad"] = $_POST[$name . "_Pfad"];$image["action"] = $_POST["_" . $name];unset( $_POST[$name . "_Pfad"] );unset( $_POST["_" . $name] );switch ( $image["action"] ){case 0:break;case 1:$_POST[$name] = "";break;case 2:// Falls Upload erfolgreichif ( $file["error"] == 0 ){$image_name = $ID . "_" . urlencode( $file["name"] );$_POST[$name] = $image_name;// Temp-Datei: Größe anpassen falls notwendig/* exec ("convert -scale ".$image["daten"][1]."x".$image["daten"][2]." ".$file["tmp_name"]." ".$file["tmp_name"]);move_uploaded_file($file["tmp_name"],$image["pfad"] . $ID."_".$file["name"]);if (file_exists($file["tmp_name"])){unlink($file["tmp_name"]);}*/$imgsize = getImageSize( $file["tmp_name"] );$Imagedaten = array_chunk( explode(";", $web_rechte[modul_name][tool_name][$name]),3 );$Imagedaten[0][0] = "";foreach ( $Imagedaten as $ImagedatenSet ){if ( $ImagedatenSet[0] != "" ){$ImagedatenSet[0] .= "/";}// ---- Hier wird abgefragt ob das Bild verkleinert werden soll ---- //if ( count($ImagedatenSet) == 3 ){if ( ($imgsize[0] > $ImagedatenSet[1]) or ($imgsize[1] >$ImagedatenSet[2]) ){$cmd = "convert -scale " . $ImagedatenSet[1] ."x" . $ImagedatenSet[2] . " " . $file["tmp_name"] ." " . $image["pfad"] . $ImagedatenSet[0] .$image_name;exec( $cmd );}else{copy( $file["tmp_name"], $image["pfad"] .$ImagedatenSet[0] . $image_name );}}else{copy( $file["tmp_name"], $image["pfad"] . $ImagedatenSet[0] .$image_name );}}}else{$_POST[$name] = "";}break;}}/* #################################################################################################### */if ( $_POST["premium_von"] ){$_POST["premium_von"] = implode( "-", array_reverse(explode(".",$_POST["premium_von"])) );}if ( $_POST["premium_bis"] ){$_POST["premium_bis"] = implode( "-", array_reverse(explode(".",$_POST["premium_bis"])) );}if ( $_POST["Passwort"] ){//$_POST["Passwort"] = crypt( $_POST["Passwort"] );if ( !function_exists("hash") ){switch ( strtolower($web_rechte[module_name][tool_name]["Passwort"]) ){case "sha1":$_POST["Passwort"] = sha1( $_POST["Passwort"] );break;case "md5":$_POST["Passwort"] = md5( $_POST["Passwort"] );break;case "crypt":default:$_POST["Passwort"] = crypt( $_POST["Passwort"] );break;}} elseif ( in_array(strtolower($web_rechte[modul_name][tool_name]["Passwort"]),hash_algos())/*&& strtolower($web_rechte[module_name][tool_name]["Passwort"])!="md5"*/ ){$_POST["Passwort"] = hash( $web_rechte[modul_name][tool_name]["Passwort"],$_POST["Passwort"] );}/*elseif(strtolower($web_rechte[modul_name][tool_name]["Passwort"])=="md5"){$_POST["Passwort"] = md5( $_POST["Passwort"] );} */ elseif ( strtolower($web_rechte[modul_name][tool_name]["Passwort"]) == "" ||strtolower($web_rechte[modul_name][tool_name]["Passwort"]) =="crypt" ){$_POST["Passwort"] = crypt( $_POST["Passwort"] );}}else{unset( $_POST["Passwort"] );}$names = array();foreach ( $_POST as $elem => $value ){array_push( $names, "$elem='$value'" );}$query = "update $tab set " . join( $names, ', ' );$query = $query .", letzte_Aenderung_am=NOW(), Letzte_Aenderung_von = '$PHP_AUTH_USER' where ID = '$ID'";$result = mysql_query( $query ) or die( mysql_errno() . ": " .mysql_error() );header( "Location: " . $self );} elseif ( $_POST["action"] == "update" && $_POST["freischalten"] ){$sql = "UPDATEFirmaSETgesperrt='nein',publish_date=0WHEREID='" . $_POST["ID"] . "'";$res = mysql_query( $sql );$result = mysql_query( $sql ) or die( mysql_errno() . ": " .mysql_error() );$text = "Sehr geehrte";$text .= ( $_POST["AP_Anrede"] == "Herr" ) ? "r" : "";$text .= " " . $_POST["AP_Anrede"] . " " . $_POST["AP_Vorname"] ." " . $_POST["AP_Nachname"] . ", \nwir freuen uns Ihnen mitteilen zu können, dass Ihr Portrait nun freigeschaltet wurde und online veröffentlicht ist.\n\n Sie können sich dieses über folgenden Link ansehen:\nhttp://www.optimismushoch1000.de/gruender/list/\n\nIn der Schatzkammer ist Ihr Angebot wie folgt präsentiert:\nhttp://www.optimismushoch1000.de/index.php/foerderer/list/\n\nIhr Portrait können Sie in Ihrem Account unter folgendem Link ändern:\nhttp://www.optimismushoch1000.de/index.php?mode=login\n\nWir wünschen Ihnen viel Erfolg!\n\nFür Fragen oder Anregungen nutzten Sie bitte das Kontaktformular.\n\nMit freundlichen Grüßen\n\nIhr optimismushoch1000.de Team\n\n-------------------------------------------------------------------------------\n\noptimismushoch1000 - Tausend Gründe optimistisch zu sein!\n\nMonika Hamrozi und Murat Cakmakci GbR\nAlte Grenzstraße 1\nD - 61381 Friedrichsdorf\n\nT: +49 (0) 6172 2659-468\nF: +49 (0) 6172 7071\ninfo@optimismushoch1000.de\nhttp://www.optimismushoch1000.de / http://www.gruenderhoch1000.de\n-------------------------------------------------------------------------------\nDiese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.\nDas unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.\nWenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,\ninformieren Sie bitte den Absender und vernichten diese E-Mail. Vielen Dank.";mail( $_POST["email"], "Ihr Account ist online!", $text,"FROM:info@optimismushoch1000.de" );header( "Location: " . $self );}if ( $action == "delete" ){if ( $ID ){$condition = array();$condition2 = array();foreach ( $ID as $elem ){array_push( $condition, " ID = '$elem'" );array_push( $condition2, " Firma = '$elem'" );}$cond = join( " or ", $condition );$query = "DELETE FROM $tab WHERE $cond";$result = mysql_query( "$query" ) or die( mysql_errno() . ": " .mysql_error() );$cond = join( " or ", $condition2 );$query = "DELETE FROM Branche2Firma WHERE $cond";$result = mysql_query( "$query" ) or die( mysql_errno() . ": " .mysql_error() );header( "Location: " . $self );}}if ( !$action ){$action = "select_edit";}if ( !$sort ){$sort = 'Name';}?><html><head><title>Branchenführer <? echo $site ?>: Redaktionssystem</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel=stylesheet type="text/css" href="../Online-Shop/redaktion.css"><link rel=stylesheet type="text/css" href="buttons.css"><?php$Feld = "google_maps";if ( isset($user_rechte[modul_name][tool_name][$Feld]) && $_GET["ID"] ){$key = $web_rechte[modul_name][tool_name][$Feld];$result = mysql_query( "SELECT * FROM $tab where ID = '" . (int)$_GET["ID"] ."'" ) or die( mysql_errno() . ": " . mysql_error() );$zeile = mysql_fetch_array( $result );if ( empty($zeile["Koord1"]) && empty($zeile["Koord2"]) ){$input = $zeile["Strasse"] . " " . $zeile["Hausnummer"] . ", " .$zeile["Ort"];$input = urlencode( $input );$address = "http://maps.google.com/maps/geo?q=$input&key=$key&output=csv";$point = @file_get_contents( $address );$point = explode( ",", $point );$point = array( $point[2], $point[3] );if ( !empty($point) ){$zeile["Koord1"] = $point[0];$zeile["Koord2"] = $point[1];$sql = "UPDATEFirmaSETKoord1=" . $zeile["Koord1"] . ",Koord2=" . $zeile["Koord1"] . "WHEREID=$ID";$res = mysql_query( $sql );}}?><script src="http://maps.google.com/maps?file=api&v=2&sensor=true&key=<?= $key ?>" type="text/javascript"></script><script type="text/javascript">function initialize() {if (GBrowserIsCompatible()) {var map = new GMap2(document.getElementById("map_canvas"));<?phpif ( $zeile["Koord1"] && $zeile["Koord2"] ){?>map.setCenter(new GLatLng(<?= $zeile["Koord1"] ?>, <?= $zeile["Koord2"] ?>), 16);<?php}else{?>map.setCenter(new GLatLng(51.5746, 6.99236), 16);<?php}?>map.addControl(new GSmallMapControl());map.addControl(new GMapTypeControl());<?php if ( $zeile['Koord1'] ){ ?>var point1 = new GLatLng(<?= $zeile['Koord1']; ?>, <?= $zeile['Koord2']; ?>);<?php }else{ ?>var point1 = new GLatLng(51.5746, 6.99236);<?php } ?>var node1 = document.createElement("div");var beck1 = new GMarker(point1, {draggable: true});GEvent.addListener(beck1, "dragend", function(){beck1.openInfoWindowHtml("<div style=\"font-family: Verdana,Arial; font-size:12px; color: #000000;\"><b>Aktuelle Position (Breite / Länge)</b><br>"+beck1.getPoint().toString()+"</div>")});map.addOverlay(beck1);}}</script><?php } ?><script language="JavaScript"><!--function MM_swapImgRestore() { //v3.0var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_swapImage() { //v3.0var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function MM_findObj(n, d) { //v4.0var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);if(!x && document.getElementById) x=document.getElementById(n); return x;}//--></script><meta name="description" content="Redaktionssystem"><meta name="author" content="Webagentur Niewerth"><meta name="robots" content="noindex"></head><body bgcolor="#FFFFFF" leftmargin="20" topmargin="10" marginwidth="20" marginheight="10" onLoad="MM_preloadImages('../images/navigation/bt_neu_f2.gif','../images/navigation/bt_delete_f2.gif','../images/navigation/bt_bearbeiten_f2.gif');<?if ( $_GET["ID"] ){echo "initialize()";} ?>" <? if ( $_GET["ID"] ){echo 'onUnload="GUnload()"';} ?> text="#000096"><form method="post" action="<? echo $self ?>" name="formname" enctype="multipart/form-data"><table width="662" border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td width="585"><!-- Auswahl Löschen START --><?if ( $action == "delete" ){$query = "SELECT * FROM $tab ";$query = $query . "order by $sort";$result = mysql_query( $query ) or die( mysql_errno() . ": " .mysql_error() );if ( mysql_num_rows($result) == 0 ){?><p class="error">Es sind keine Daten eingetragen !</p><p></p><?}else{?><table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999"><tr bgcolor="#<? echo $webs["bgcolor_links"] ?>"><td colspan="2"><font color="#<? echo $webs["font_color_links"] ?>"><b>Firma: Löschen </b></font></td></tr><?while ( $zeile = mysql_fetch_array($result) ){?><tr><td width="96%"><a href="<? echo $self ?>?action=edit&ID=<? echo$zeile["ID"] ?>"><? echo $zeile["Name"] ?><? if ( $zeile["gesperrt"] == "ja" );{?><font color="#FF0000"><? } ?><? echo $zeile["gesperrt"] ?><? if ( $zeile["gesperrt"] == "ja" );{ ?></font><? } ?></a></td><td width="4%"><input type="checkbox" name="ID[]" value="<? echo $zeile["ID"] ?>"></td></tr><?}?><tr bgcolor="#<? echo $webs["bgcolor_links"] ?>"><td align="right" colspan="2"><input type="hidden" name="action" value='delete'><input type="submit" value="LÖSCHEN"><input type="reset" name="Button22" value="Zurücksetzen"></td></tr></table><?}?><?}?><!-- Auswahl Löschen ENDE --><!-- Auswahl SELECT_EDIT START --><?if ( $action == "select_edit" ){$query = "SELECT * FROM $tab ";$query = $query . "order by $sort";$result = mysql_query( $query ) or die( mysql_errno() . ": " .mysql_error() );$count = mysql_num_rows( $result );if ( mysql_num_rows($result) == 0 ){?><p class="error">Es sind keine Daten eingetragen !</p><p></p><?}else{?><table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999"><tr bgcolor="#<? echo $webs["bgcolor_links"] ?>"><td colspan="3"><font color="#<? echo $webs["font_color_links"] ?>"><b></b></font><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="77%"> <font color="#<? echo $webs["font_color_links"] ?>"><b>Firma: Bearbeiten </b></font> </td><td width="23%"><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo $count ?> Einträge</b></font></td></tr></table></td></tr><?while ( $zeile = mysql_fetch_array($result) ){?><tr><td><a href="<? echo $self ?>?action=edit&ID=<? echo $zeile["ID"] ?>"><? echo $zeile["Name"] ?>- gesperrt:<? if ( $zeile["gesperrt"] == "ja" ){ ?><font color="#FF0000"><? } ?><? echo $zeile["gesperrt"] ?><? if ( $zeile["gesperrt"] == "ja" ){ ?></font><? } ?></a> </td><td><?= $zeile["auswahl1"]; ?></td><td><a href="../news/news.php?action=select_edit&firma=<?= $zeile["ID"] ?>">zu den News dieser Firma</a></td></tr><?}?><tr bgcolor="#<? echo $webs["bgcolor_links"] ?>"><td colspan="3"><div align="right"> <input type="hidden" name="action" value='edit'></div></td></tr></table><?}?><?}?><!-- Auswahl SELECT_EDIT ENDE --><?if ( $action == "edit" ){?><script type="text/javascript" language="javascript">function display_fragen(elem){if(elem.value=="Gründer"){for (i=1; i <=20; i++){ind=i;if(ind < 10){ind="0"+ind;}document.getElementById('antwort'+ind).style.display="block";}}else{for (i=1; i <=20; i++){ind=i;if(ind < 10){ind="0"+ind;}document.getElementById('antwort'+ind).style.display="none";}}}</script><?if ( $ID ){$result = mysql_query( "SELECT * FROM $tab where ID = '$ID'" ) ordie( mysql_errno() . ": " . mysql_error() );$zeile = mysql_fetch_array( $result );$Father = $zeile["Father"];}$zeile["von"] = join( ".", array_reverse(preg_split("/-/", $zeile["von"])) );$zeile["bis"] = join( ".", array_reverse(preg_split("/-/", $zeile["bis"])) );$zeile["Abmeldedatum"] = join( ".", array_reverse(preg_split("/-/",$zeile["Abmeldedatum"])) );?><table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#FFFFFF" bordercolordark="#999999"><tr><td colspan="2" bgcolor="#<? echo $webs["bgcolor_links"] ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b>Firma:Löschen<? if ( $ID ){ ?>Bearbeiten<? }else{ ?>Neueintrag<? } ?></b></font> </td><td align="right"><font color="#<? echo $webs["font_color_links"] ?>"><b>Rang:<input type="text" name="Rang" value="<? echo $zeile["Rang"] ?>" size="3"></b></font> </td></tr></table></td></tr><?$Feld = "Branche";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){if ( $ID ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%" height="150"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Branche:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>" valign="middle" align="center"> <iFrame height=100% width=100% frameborder="NO" marginwidth="0" marginheight="0" src="Branche2Firma.php?Firma=<? echo$ID ?>"></iFrame></td></tr><?}}$Feld = "Name";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="middle" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Name:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><input type="text" name="Name" value="<? echo $zeile["Name"] ?>" class="input"></td></tr></table></td></tr><?}// SEBASTIAN$Feld = "optionen";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){if ( $ID ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" width="21%" valign="top" height="100"><font color="#<? echo$webs["font_color_links"] ?>"><b><?if ( $web_rechte[modul_name][tool_name][$Feld] ){echo $web_rechte[modul_name][tool_name][$Feld];}else{?>Optionen<?}?></b></font> </td><td colspan="2" bgcolor="#<? echo $webs["bgcolor_rechts"] ?>"><iFrame height=100% width=100% frameborder="NO" marginwidth="0" marginheight="0" src="../Online-Shop/options.php?ID=<? echo$ID ?>&modul=Branchenbuch"></iFrame></td></tr><?}}$Feld = "Rufname";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="middle" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Rufname:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><input type="text" name="Rufname" value="<? echo $zeile["Rufname"] ?>" class="input"></td></tr></table></td></tr><?}$Feld = "Adresse";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td valign="top" bgcolor="#<? echo $webs["bgcolor_links"] ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Adresse:"; ?></b></font></td></tr></table></td><td valign="top" bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="3"><tr><td colspan="2"><font color="#<? echo $webs["font_color_rechts"] ?>">Strasse/ Nr.</font></td></tr><tr><td><input type="text" name="Strasse" class="input" value="<? echo$zeile["Strasse"] ?>"></td><td><input type="text" name="Hausnummer" size="3" class="input_small" value="<? echo$zeile["Hausnummer"] ?>"></td></tr></table></td><td rowspan="2" valign="top" bgcolor="#<? echo $webs["bgcolor_links"] ?>" nowrap><font color="#<? echo $webs["font_color_links"] ?>"><b> Telefon/ Fax: </b></font></td><td><table border="0" cellspacing="0" cellpadding="3"><tr><td ><font color="#<? echo $webs["font_color_rechts"] ?>">Telefon:</font></td></tr><tr><td><input type="text" name="Telefon" class="input" value="<? echo$zeile["Telefon"] ?>"></td></tr></table></td></tr><tr><td><table border="0" cellspacing="0" cellpadding="3"><tr><td colspan="2"><font color="#<? echo $webs["font_color_rechts"] ?>">PLZ/ Ort:</font></td></tr><tr><td><input type="text" name="PLZ" size="5" class="input_small" value="<? echo$zeile["PLZ"] ?>"></td><td><input type="text" name="Ort" class="input" value="<? echo$zeile["Ort"] ?>"></td></tr></table></td><td><table border="0" cellspacing="0" cellpadding="3"><tr><td ><font color="#<? echo $webs["font_color_rechts"] ?>">Telefax:</font></td></tr><tr><td><input type="text" name="Telefax" class="input" value="<? echo$zeile["Telefax"] ?>"></td></tr></table></td></tr></table></td></tr><?}$Feld = "Bundesland";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="middle" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><?if ( $web_rechte[modul_name][tool_name][$Feld] ){echo $web_rechte[modul_name][tool_name][$Feld];}else{?>Bundesland:<?}?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><select name="Bundesland" size="1" id="Bundesland"><option <? if ( $zeile["Bundesland"] == "1" ){ ?>selected <? } ?>value="1">Baden-Württemberg</option><option <? if ( $zeile["Bundesland"] == "2" ){ ?>selected <? } ?>value="2">Bayern</option><option <? if ( $zeile["Bundesland"] == "3" ){ ?>selected <? } ?>value="3">Berlin</option><option <? if ( $zeile["Bundesland"] == "4" ){ ?>selected <? } ?>value="4">Brandenburg</option><option <? if ( $zeile["Bundesland"] == "5" ){ ?>selected <? } ?>value="5">Bremen</option><option <? if ( $zeile["Bundesland"] == "6" ){ ?>selected <? } ?>value="6">Hamburg</option><option <? if ( $zeile["Bundesland"] == "7" ){ ?>selected <? } ?>value="7">Hessen</option><option <? if ( $zeile["Bundesland"] == "8" ){ ?>selected <? } ?>value="8">Mecklenburg-Vorpommern</option><option <? if ( $zeile["Bundesland"] == "9" ){ ?>selected <? } ?>value="9">Niedersachsen</option><option <? if ( $zeile["Bundesland"] == "10" ){ ?>selected <? } ?>value="10">Nordrhein-Westfalen</option><option <? if ( $zeile["Bundesland"] == "11" ){ ?>selected <? } ?>value="11">Rheinland-Pfalz</option><option <? if ( $zeile["Bundesland"] == "12" ){ ?>selected <? } ?>value="12">Saarland</option><option <? if ( $zeile["Bundesland"] == "13" ){ ?>selected <? } ?>value="13">Sachsen</option><option <? if ( $zeile["Bundesland"] == "14" ){ ?>selected <? } ?>value="14">Sachsen-Anhalt</option><option <? if ( $zeile["Bundesland"] == "1" ){ ?>selected <? } ?>value="15">Schleswig-Holstein</option><option <? if ( $zeile["Bundesland"] == "1" ){ ?>selected <? } ?>value="16">Thüingen</option></select> </td></tr></table></td></tr></table></td></tr><?}$Feld = "google_maps";if ( isset($user_rechte[modul_name][tool_name][$Feld]) && $_GET["ID"] ){$result = mysql_query( "SELECT * FROM $tab where ID = '$ID'" ) ordie( mysql_errno() . ": " . mysql_error() );$zeile = mysql_fetch_array( $result );?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><font color="#<? echo $webs["font_color_links"] ?>"><b>GoogleMap-Koordinaten</b></font></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><font color="#<? echo$webs["font_color_rechts"] ?>">"dragen" Sie bitte den Marker an die gewünschte Position und tragen Sie die angegeben Koordinaten unten ein.</font><p><div id="map_canvas" style="width: 600px; height: 300px"></div></p><p><input type="text" name="Koord1" value="<? echo $zeile["Koord1"] ?>" size="25">, <input type="text" name="Koord2" value="<? echo $zeile["Koord2"] ?>" size="25"></p></td></tr><?}$Feld = "Internet";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Internet:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_rechts"] ?>">E-Mail:</font></td><td align="right"><a href="mailto:<?= ereg_replace( "mailto:","", $zeile["email"] ); ?>"><img src="../images/Online-Shop/brief.gif" width="17" height="10" border="0"></a></td><td><font color="#<? echo $webs["font_color_rechts"] ?>">Homepage(bitte mit http://):</font></td></tr><tr><td colspan="2"><input type="text" name="email" class="input" value="<? echo$zeile["email"] ?>"></td><td><input type="text" name="homepage" class="input" value="<? echo$zeile["homepage"] ?>"></td></tr></table></td></tr><?}$Feld = "Passwort";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="middle" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b>Passwort:</b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><input type="text" name="Passwort" value="" class="input"></td></tr></table></td></tr><?}$Feld = "AP_Daten";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td valign="top" bgcolor="#<? echo $webs["bgcolor_links"] ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Ansprechpartner:"; ?></b></font></td></tr></table></td><td valign="top" bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_rechts"] ?>">Anrede/ Titel / Vorname / Name</font></td></tr><tr><td><select name="AP_Anrede"><option <? if ( $zeile["AP_Anrede"] == "" ){ ?>selected<? } ?>></option><option <? if ( $zeile["AP_Anrede"] == "Herr" ){ ?>selected<? } ?>>Herr</option><option <? if ( $zeile["AP_Anrede"] == "Frau" ){ ?>selected<? } ?>>Frau</option></select><input type="text" name="AP_Titel" size="5" class="input_small" value="<?= $zeile["AP_Titel"]; ?>"><input type="text" name="AP_Vorname" class="input" value="<?= $zeile["AP_Vorname"]; ?>"><input type="text" name="AP_Nachname" class="input" value="<?= $zeile["AP_Nachname"]; ?>"></td></tr></table><table border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_rechts"] ?>">E-MailAdresse:</font></td></tr><tr><td><input type="text" name="AP_eMail" class="input" value="<?= $zeile["AP_eMail"] ?>"></td></tr></table></td></tr><?}for ( $i = 1; $i < 3; $i++ ){$Feld = "bild" . $i;if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><?$name = explode( ";", $web_rechte[modul_name][tool_name][$Feld] );echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ? $name[0] :"Logo:"; ?></b></font></td></tr></table></td><td bgcolor="#<?= $webs["bgcolor_rechts"] ?>"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="55%" nowrap><font color="#<? echo $webs["font_color_rechts"] ?>"><?$image_name = $Feld;$image_Path1 = "/images/Branchenbuch/$i/";$image_Path = $webs["verzeichnis"] . $image_Path1;?><input type="hidden" name="<? echo $image_name ?>_Pfad" value="<? echo$image_Path ?>"><?if ( $zeile[$image_name] != "" ){?><input type="radio" name="_<? echo $image_name ?>" value="0" checked><a href="http://www.<? echo $site . $image_Path1 . $zeile[$image_name] ?>" target="blank"><? echo $zeile[$image_name]; ?></a><?$size = filesize( $image_Path . $zeile[$image_name] ) >>10;$imgsize = GetImageSize( $image_Path . $zeile[$image_name] );echo " ( $size KB $imgsize[0]x$imgsize[1])<BR>";}?><input type="radio" name="_<? echo $image_name ?>" value="1" <? if ( $zeile[$image_name] =="" ){echo "checked";} ?>>kein Bild<br><input type="radio" name="_<? echo $image_name ?>" value="2"><input type="File" name="<? echo $image_name ?>" size="17" maxlength="255" onFocus="this.form._<? echo$image_name ?>[<? if ( $zeile[$image_name] != "" ){echo "2";}else{echo "1";} ?>].checked=true;"></font> </td><td width="45%" align="center"><? if ( $zeile[$image_name] != "" ){ ?><a href="http://www.<? echo $site . $image_Path1 . $zeile[$image_name] ?>" target="blank"><img height="60" src="http://www.<? echo$site . $image_Path1 . $zeile[$image_name] ?>" border="0"></a><? } ?></td></tr></table></td></tr><?}}$Feld = "logourl";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><?$name = explode( ";", $web_rechte[modul_name][tool_name][$Feld] );echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ? $name[0] :"Logo:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="55%" nowrap><font color="#<? echo $webs["font_color_rechts"] ?>"><?$image_name = "logourl";$image_Path1 = "/images/Branchenbuch/Logos/1/";$image_Path = $webs["verzeichnis"] . $image_Path1;?><input type="hidden" name="<? echo $image_name ?>_Pfad" value="<? echo$image_Path ?>"><?if ( $zeile[$image_name] != "" ){?><input type="radio" name="_<? echo $image_name ?>" value="0" checked><a href="http://www.<? echo $site . $image_Path1 . $zeile[$image_name] ?>" target="blank"><? echo $zeile[$image_name]; ?></a><?$size = filesize( $image_Path . $zeile[$image_name] ) >> 10;$imgsize = GetImageSize( $image_Path . $zeile[$image_name] );echo " ( $size KB $imgsize[0]x$imgsize[1])<BR>";}?><input type="radio" name="_<? echo $image_name ?>" value="1" <? if ( $zeile[$image_name] =="" ){echo "checked";} ?>>kein Bild<br><input type="radio" name="_<? echo $image_name ?>" value="2"><input type="File" name="<? echo $image_name ?>" size="17" maxlength="255" onFocus="this.form._<? echo$image_name ?>[<? if ( $zeile[$image_name] != "" ){echo "2";}else{echo "1";} ?>].checked=true;"></font> </td><td width="45%" align="center"><? if ( $zeile[$image_name] != "" ){ ?><a href="http://www.<? echo $site . $image_Path1 . $zeile[$image_name] ?>" target="blank"><img height="60" src="http://www.<? echo$site . $image_Path1 . $zeile[$image_name] ?>" border="0"></a><? } ?></td></tr></table></td></tr><?}$Feld = "logourl2";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><?$name = explode( ";", $web_rechte[modul_name][tool_name][$Feld] );echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ? $name[0] :"Logo:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="55%" nowrap><font color="#<? echo $webs["font_color_rechts"] ?>"><?$image_name = "logourl2";$image_Path2 = "/images/Branchenbuch/Logos/2/";$image_Path = $webs["verzeichnis"] . $image_Path2;?><input type="hidden" name="<? echo $image_name ?>_Pfad" value="<? echo$image_Path ?>"><?if ( $zeile[$image_name] != "" ){?><input type="radio" name="_<? echo $image_name ?>" value="0" checked><a href="http://www.<? echo $site . $image_Path1 . $zeile[$image_name] ?>" target="blank"><? echo $zeile[$image_name]; ?></a><?$size = filesize( $image_Path . $zeile[$image_name] ) >> 10;$imgsize = GetImageSize( $image_Path . $zeile[$image_name] );echo " ( $size KB $imgsize[0]x$imgsize[1])<BR>";}?><input type="radio" name="_<? echo $image_name ?>" value="1" <? if ( $zeile[$image_name] =="" ){echo "checked";} ?>>kein Bild<br><input type="radio" name="_<? echo $image_name ?>" value="2"><input type="File" name="<? echo $image_name ?>" size="17" maxlength="255" onFocus="this.form._<? echo$image_name ?>[<? if ( $zeile[$image_name] != "" ){echo "2";}else{echo "1";} ?>].checked=true;"></font> </td><td width="45%" align="center"><? if ( $zeile[$image_name] != "" ){ ?><a href="http://www.<? echo $site . $image_Path1 . $zeile[$image_name] ?>" target="blank"><img height="60" src="http://www.<? echo$site . $image_Path1 . $zeile[$image_name] ?>" border="0"></a><? } ?></td></tr></table></td></tr><?}$Feld = "Daten";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td> </td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_rechts"] ?>">Firmengründung:</font></td><td><font color="#<? echo $webs["font_color_rechts"] ?>">Beschäftigte:</font></td></tr><tr><td><input type="text" name="Gruendung" class="input" value="<? echo$zeile["Gruendung"] ?>" onFocus="if (this.value=='') {this.value=now('19:00:00')};this.select();"></td><td><input type="text" name="Beschaeftigte" class="input" value="<? echo$zeile["Beschaeftigte"] ?>"></td></tr></table></td></tr><?}$Feld = "Kontakt";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Kontakt:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><textarea name="Kontakt" wrap="OFF"><? echo $zeile["Kontakt"] ?></textarea></td></tr></table></td></tr><?}$Feld = "Tätigkeitsbereich";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] :"Tätigkeitsbereich:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><textarea name="Beschreibung" wrap="OFF"><? echo $zeile["Beschreibung"] ?></textarea></td></tr></table></td></tr><?}$Feld = "Oeffnungszeiten";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Referenzen:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><textarea name="Oeffnungszeiten" wrap="PHYSICAL"><? echo$zeile["Oeffnungszeiten"] ?></textarea></td></tr></table></td></tr><?}$Feld = "premium";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "Premiumeintrag:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td> von:<input type="text" size="8" class="input_small" name="premium_von" value="<?= implode( ".",array_reverse(explode("-", $zeile[premium_von])) ); ?>">bis:<input type="text" size="8" class="input_small" name="premium_bis" value="<?= implode( ".",array_reverse(explode("-", $zeile[premium_bis])) ); ?>"></td></tr></table></td></tr><?}for ( $i = 0; $i < 10; $i++ ){$Feld = "auswahl" . $i;if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){$elems = explode( ";", $web_rechte[modul_name][tool_name][$Feld] );$auswahlName = array_shift( $elems );$g_fragen = false;if ( in_array("Gründer", $elems) ){$g_fragen = true;}?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><?= $auswahlName; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><select name="<?= $Feld; ?>" <?if ( $g_fragen ){echo "onChange='display_fragen(this)';";}?>><?foreach ( $elems as $elem ){?><option <? if ( $zeile[$Feld] == $elem ){ ?>selected<? } ?> value="<?= $elem; ?>"><?= $elem; ?></option><?}?></select></td></tr></table></td></tr><?}}if ( $g_fragen ){for ( $ind = 1; $ind <= 20; $ind++ ){$ind_str = $ind;if ( $ind < 10 ){$ind_str = "0" . $ind;}?><tr id="antwort<?= $ind_str; ?>" style="display:<?= $zeile["auswahl1"] =="Gründer" ? "block" : "none" ?>;"><td bgcolor="#<?= $webs["bgcolor_links"]; ?>"><font color="#<? echo$webs["font_color_links"] ?>">Antwort <?= $ind_str; ?>:</font></td><td bgcolor="#<?= $webs["bgcolor_rechts"]; ?>"><textarea name="antwort<?= $ind_str; ?>"><?= $zeile["antwort$ind_str"]; ?></textarea></td></tr><?}}$Feld = "sperre";if ( isset($user_rechte[modul_name][tool_name][$Feld]) ){?><tr><td bgcolor="#<? echo $webs["bgcolor_links"] ?>" valign="top" width="13%"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><font color="#<? echo $webs["font_color_links"] ?>"><b><? echo isset( $web_rechte[modul_name][tool_name][$Feld] ) ?$web_rechte[modul_name][tool_name][$Feld] : "gesperrt:"; ?></b></font></td></tr></table></td><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td><select name="gesperrt"><option <? if ( $zeile["gesperrt"] == "ja" ){ ?>selected<? } ?>>ja</option><option <? if ( $zeile["gesperrt"] == "nein" ){ ?>selected<? } ?>>nein</option></select></td></tr></table></td></tr><?}if ( $ID ){?><tr><td width="20%" bgcolor="#<? echo $webs["bgcolor_links"] ?>"> <font color="#<? echo$webs["font_color_links"] ?>"><b> erstelltam:</b></font></td><? $erstellt_am = datetime2human( $zeile["erstellt_am"] ); ?><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"> am:<? echo $erstellt_am["Datum"] ?>um:<? echo $erstellt_am["Zeit"]?>von:<? echo $zeile["erstellt_von"]?></td></tr><tr><td width="20%" bgcolor="#<? echo $webs["bgcolor_links"] ?>"><font color="#<? echo$webs["font_color_links"] ?>"><b> letzteÄnderung:</b></font></td><? $letzte_Aenderung_am = datetime2human( $zeile["letzte_Aenderung_am"] ); ?><td bgcolor="<?= $webs["bgcolor_rechts"]; ?>"> am:<? echo $letzte_Aenderung_am["Datum"] ?>um:<? echo $letzte_Aenderung_am["Zeit"]?>von:<? echo $zeile["letzte_Aenderung_von"]?></td></tr><?}?><tr bgcolor="#<? echo $webs["bgcolor_links"] ?>"><td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="3"><tr><td align="right"><input type="hidden" name="ID" value="<? echo $ID ?>"><input type="hidden" name="action" value="update"><input type="submit" name="speichern" value="OK"><input type="reset" name="Button" value="Zurücksetzen"><?if ( $g_fragen && $zeile["gesperrt"] == "ja" && $zeile["auswahl1"]=="Gründer"){?><input type="submit" name="freischalten" value="Profil freischalten"><?}?></td></tr></table></td></tr></table><?}?></td><td width="77" align="right"><table width="67" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#FFFFFF" bordercolordark="#999999"><tr><td><a href="<? echo $self ?>?action=edit" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('new','','../images/navigation/bt_neu_f2.gif',1)"><img name="new" border="0" src="../images/navigation/bt_neu.gif" width="67" height="40" alt="Neueintrag"></a></td></tr><tr><td><a href="<? echo $self ?>?action=select_edit" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('edit','','../images/navigation/bt_bearbeiten_f2.gif',1)"><img name="edit" border="0" src="../images/navigation/bt_bearbeiten.gif" width="67" height="40" alt="Eintrag bearbeiten"></a></td></tr><tr><td><a href="<? echo $self ?>?action=delete" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('delete','','../images/navigation/bt_delete_f2.gif',1)"><img name="delete" border="0" src="../images/navigation/bt_delete.gif" width="67" height="40" alt="Eintrag löschen"></a></td></tr></table></td></tr></table></form></body>