hasPermission("HACHEPORTAL_VIEW")) { header("Location: ./app.php?msg=no_permission"); die(); } $writeaccess = $user->hasPermission("HACHEPORTAL_EDIT"); if (empty($VARS['id']) || !$database->has('families', ['familyid' => $VARS['id']])) { header("Location: ./app.php?page=families&msg=family_doesnt_exist"); } $famid = $VARS['id']; $family = $database->get("families", [ 'familyid (id)', 'familyname (name)', 'phone', 'email', 'newsletter_method (newsletter)', 'address', 'city', 'state', 'zip', 'father_name (father)', 'mother_name (mother)', 'photo_permission (photo)' ], [ "familyid" => $famid ]); $children = $database->select("people", ["name", "birthday", "graduated"], ["familyid" => $famid]); ?>
get("Name"); ?> | get("Born"); ?> | get("Graduated"); ?> |
---|---|---|
get("Yes") : $Strings->get("No"); ?> |