last_name; // in array $last_name eintragen $array_stamm->id[$i] = $row->member_id; $array_stamm->name[$i] = $row->last_name; } //echo "


hier"; $len = count($array_stamm->id); // anzahl stammväter //die();?>
Stammvater:name[$i]." ";?> id[$i] == $baum) { echo "checked=checked"; } ?> />
 (Kinder nur bei männlichen Nachfahren) 
Anzahl Generationen:    3 />    4 />    alle />
= 5; alle) //****************************** Baum mit allen Namen (root) ******************* //****************************** Anzahl = 5 ************************************ if ($anz_gen >= 5) { ?> father_id == $member_id)) { $root_fam[] = $pers; // Familienmitglied } } if (count($root_fam >= 0)) { ?>

member_id; if ($pers->gender == 1){$gen = "m";$img ="male.jpg";} else{$gen="f";$img ="female.jpg";} $birth = DateTime::createFromFormat('Y-m-d', $pers->day_of_birth); $death = DateTime::createFromFormat('Y-m-d', $pers->day_of_death); if ($pers->member_img != "") { $img = $pers->member_img;} $alter = alter($pers); if ($death->format('Y') >= 2) { $alter = alter($pers); $period = "* ".$birth->format('Y')."    † ".$death->format('Y').""; } else { $period = "* ".$birth->format('Y')."  " ; } #$period = $period."     (".alter($pers)." Jahre)"; $period = $period."    (".$alter ." Jahre)"; // ************************* 4 Generationen anzeigen *************************** if ($anz_gen == 4 ) {?>
member_id." "; echo ""." " .$pers->first_name." ".$pers->last_name."";?>
Bild " style='text-align:left; width:100px;'>birth_name != "") { echo "geb. ".$pers->birth_name."
"; } else { echo " 
";} if ($anz_gen == 4) { echo $period;} ?>
"> * ".date_german($pers->day_of_birth)." in ".$pers->place_of_birth."
"; if ($pers->day_of_death != "0000-00-00") { echo "".date_german($pers->day_of_death)." in ".$pers->place_of_death."
"; }?>
"; echo ""." " .$pers->first_name." ".$pers->last_name."
"; if ($pers->birth_name != "") { echo "

geb. ".$pers->birth_name."

";} else {echo "

-

"; } echo "

* ".$pers->day_of_birth." in ".$pers->place_of_birth."
"; if ($pers->day_of_death != 0) { echo "".$pers->day_of_death." in ".$pers->place_of_death."

"; } else { echo " - "; }?>
"; echo "no data";?>

first_name." ".$person->last_name;?>      -     Partner: first_name." ".$part->last_name." | "; ?>

Anzahl Generationen  3 />    4 />    alle />

Kinder: first_name." ".$child->last_name." | "; ?>

Geschwister: first_name." ".$sibling->last_name." | "; ?>


Hinweise zu dieser Webseite

$boxheight = 70; // in css fambox $boxwidth = 255; // Weite der Box $gap = 30; // Abstand zwischen Boxen $distance_h = 80; // Abstands-Höhe der Box $distance_w = $boxwidth + $gap; // Weite zur nächsten Box $len_hor = $gap/2; // Länge horizentale Verbindung $top_0 = 170; // 1. Box von oben $left_0 = 55; // 1. Box von Links $left = $left_0; // Variable für linke Position $left = $left + $distance_w; // neue Position für Box links $left1 = $left - $len_hor; // neue Position für Verbingung zur Box rechtss $left10 = $left1 - $len_hor; // neue Position für Verbingung zur Box links $left2 = $left1 + $distance_w; $left20 = $left2 - $len_hor; $left3 = $left2 + $distance_w; $left30 = $left3 - $len_hor; $t1 = $top_0 + 2*$distance_h; $t11 = $top_0 + 4*$distance_h; $t2 = $top_0 + $distance_h; $t21 = $top_0 + $distance_h; // aktuelle Höhe $t3 = $top_0 + $distance_h/2; //************************** 4 Generationen anzeigen ****************************-->?>
// senkrechte Linien: man to woman
gender == 1) {$g = "m";} else {$g = "f";} $p++; fill($person,$g,$p); $top = $top_0 + 125;?>
?> if ($anz_gen <= 3) { ?>
"; $td_div = "
"; echo $tr_gpar; // wird in fill gestzt $g = "m"; $p++; fill($gffather,$g,$p); echo $td_div; echo $tr_gpar; $g = "f"; $p++; fill($gmfather,$g,$p); echo $td_div; ?>
"; $g = "m"; $p++; echo $trpar; fill($father,$g,$p); echo $td_div; ?>
"; echo $trper; if ($person->gender == 1) {$g = "m";} else {$g = "f";} $p++; fill($person,$g,$p); echo $td_div; ?>