Location: PHPKode > projects > HuMo-gen > addresses.php
<?php
$kop="adressen";
include("header.php");
include("menu.php"); //Menu.

// *** Controle van gebruiker ***
if ($user["adressen"]!='j'){
	echo $language["lng_no_authority"];
	exit();
}

include ("include/language_date.php");
	
echo "<h1 align=center>".$language["address_addresses"]."</h1>";

echo '<div class="centreren">';
	$adres=mysql_query("SELECT * FROM ".veilig($_SESSION['tree_prefix'])."addresses
		WHERE address_gedcomnr LIKE '_%'",$db);
	while (@$adresDb=mysql_fetch_object($adres)){
		print "<a href=\"address.php?gedcomnummer=$adresDb->address_gedcomnr\">$adresDb->address_address</a> $adresDb->address_place<br>";
	}
	//mysql_close($db); //databaseverbinding sluiten.
echo '</div>';
include("footer.php");
?>
Return current item: HuMo-gen