require("genealogie_lib_inc.php");
?>
$PAYS=$_REQUEST["PAYS"];
$result_info_pays = mysql_query( "select * from PAYS where ID_PAYS='$PAYS'");
$row_info_pays = mysql_fetch_array($result_info_pays);
$extension = strtolower($row_info_pays[EXTENSION]);
echo "$row_info_pays[LIBELLE]
";
$result = mysql_query( "select COUNT(*) as SOMME from INDIVIDUS where INDIVIDUS.ID_PAYS_NAISSANCE='$PAYS' and INDIVIDUS.ID_ZONE_NAISSANCE<>'999999'");
$row = mysql_fetch_array($result);
$nb_ind_pays = $row[SOMME];
$result = mysql_query( "select COUNT(*) as SOMME from INDIVIDUS");
$row = mysql_fetch_array($result);
$nb_ind_total = $row[SOMME];
$prc_ind = number_format(($nb_ind_pays*100)/$nb_ind_total,0);
echo "$nb_ind_pays ";
if($nb_ind_pays>1)
{
display_lng_text("CARTE_PERSONS_BIRTH");
}
else
{
display_lng_text("CARTE_PERSON_BIRTH");
}
echo " $prc_ind% ";
display_lng_text("CARTE_TOTAL_IND");
echo "";
display_lng_text("CARTE_ZONE_SELECT");
echo "
";
echo "";
echo "";
affiche_pied_page(true);
?>