die kleine handliche web-basierte Notiz/Adress-Datenbank fuer php/mysql
This commit is contained in:
parent
0bffe48b4b
commit
c84e8b144f
26 changed files with 1363 additions and 0 deletions
93
notiz-datenbank/zeige_mensch.php
Normal file
93
notiz-datenbank/zeige_mensch.php
Normal file
|
@ -0,0 +1,93 @@
|
|||
<?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öschen">
|
||||
<BR>
|
||||
</DIV>
|
||||
</FORM>
|
||||
|
||||
</DIV>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
Loading…
Add table
Add a link
Reference in a new issue