codekasten/notiz-datenbank/zeige_mensch.php

94 lines
1.8 KiB
PHP
Raw Normal View History

<?PHP
include_once("init.php");
importGET("mensch_id");
importPOST("notiz_id","adresse_id","telefon_id","email_id");
if (!isset($mensch_id)) importPOST("mensch_id");
// erwartet wird eine $mensch_id
// $telefon_id, $adresse_id, $notiz_id, $email_id jeweils nur bei Bedarf
?>
<HTML>
<HEAD>
<TITLE>NDB - <?PHP print holeName($mensch_id); ?></TITLE>
</HEAD>
<BODY>
<?PHP
include("navi.php");
if (!isset($mensch_id) OR !existiertID($mensch_id))
die(abschlussMeldung('Die angegebene Person ist nicht in der Datenbank
vorhanden! [zm]'));
include("edit_mensch_formular.php");
?>
<HR>
<DIV ALIGN="CENTER">
<TABLE BORDER="0" WIDTH="100%">
<COLGROUP><COL WIDTH="50%"><COL WIDTH="50%"></COLGROUP>
<TR><TD>
<DIV ALIGN="CENTER">
<?PHP include("zeige_telefon.php"); ?>
<A NAME="telefon">
<?PHP include("edit_telefon_formular.php"); ?>
</A>
</DIV>
</TD>
<TD style="border-left-width:3px; border-left-style:double; border-left-color:grey">
<DIV ALIGN="CENTER">
<?PHP include("zeige_adressen.php"); ?>
<A NAME="adresse">
<?PHP include("edit_adresse_formular.php"); ?>
</A>
</DIV>
</TD></TR></TABLE>
<HR>
<TABLE BORDER="0" WIDTH="100%"><COLGROUP><COL WIDTH="40%"><COL WIDTH="60%"></COLGROUP>
<TR><TD>
<?PHP include("zeige_email.php"); ?>
<A NAME="email">
<?PHP include("edit_email_formular.php"); ?>
</A></TD>
<TD style="border-left-width:3px; border-left-style:double; border-left-color:grey">
<?PHP include("zeige_notizen.php"); ?>
<A NAME="notiz">
<?PHP include("edit_notiz_formular.php"); ?>
</A></TD></TR>
</TABLE>
<HR>
<FORM ACTION="entferne_mensch.php?<?PHP print SID; ?>" METHOD="POST">
<DIV ALIGN="CENTER">
<INPUT TYPE="HIDDEN" NAME="mensch_id" VALUE="<?PHP print $mensch_id; ?>">
<INPUT TYPE="SUBMIT" NAME="senden"
VALUE="alle Daten dieses Menschen l&ouml;schen">
<BR>
</DIV>
</FORM>
</DIV>
</BODY>
</HTML>