From 41556be35cba41643d18f27c4c9ba264dde6a186 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 12 Apr 2022 11:47:01 +0200 Subject: Commit --- tree/index.php | 96 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) (limited to 'tree/index.php') diff --git a/tree/index.php b/tree/index.php index 837c6f1..76e1ca1 100644 --- a/tree/index.php +++ b/tree/index.php @@ -1,49 +1,49 @@ -" . $place["city"] . "
"); - } - - if (isset($place["dept"])) { - $info = true; - echo("" . $place["dept"] . "
"); - } - - if (isset($place["country"])) { - $info = true; - echo($place["country"] . "
"); - } - - if (!$info) { - echo("Non renseigné"); - } -} - -if (isset($_GET['_']) && trim($_GET['_']) !== "" && isset($data[$_GET['_']])) { - $id = $_GET['_']; - $person = $data[$_GET['_']]; -} else { - header("Location: /"); - die(); -} - -$_TITLE = "Arbre généalogique | " . $person["famname"] . " " . $person["surname"] . " (#" . $id . ")"; require_once $_SERVER['DOCUMENT_ROOT'] . "/private/header.php"; ?> -
-

- #" . $id . "" ?> - Voir les détails -

-
-
- - -
-
+" . $place["city"] . "
"); + } + + if (isset($place["dept"])) { + $info = true; + echo("" . $place["dept"] . "
"); + } + + if (isset($place["country"])) { + $info = true; + echo($place["country"] . "
"); + } + + if (!$info) { + echo("Non renseigné"); + } +} + +if (isset($_GET['_']) && trim($_GET['_']) !== "" && isset($data[$_GET['_']])) { + $id = $_GET['_']; + $person = $data[$_GET['_']]; +} else { + header("Location: /"); + die(); +} + +$_TITLE = "Arbre généalogique | " . $person["famname"] . " " . $person["surname"] . " (#" . $id . ")"; require_once $_SERVER['DOCUMENT_ROOT'] . "/private/header.php"; ?> +
+

+ #" . $id . "" ?> + Voir les détails +

+
+
+ + +
+
\ No newline at end of file -- cgit