Forum of Congenital Heart Defects & acquired heart disease
.:: Shoortcuts ::.♥ Sitemap♥ Presentation Heart and Coeur♥CHD Definition♥ Congenital Heart defect♥ Lives Stories♥ Définitions - Explications♥CHD Celebrity♥ In memory..♥News♥ Newsletter♥ Album member Heart and Coeur♥Guestbook Heart and Coeur♥ Useful tools♥ Virtual Postcards♥ Hospital in the world♥ CCML - Marie Lannelongue♥ Hospital useful♥ Actions♥ Books♥ Travel with your heart♥ World Search Engine in Cardiology♥ Videos Heart and Coeur♥ CHD quizz and Games♥ Glossaire (en anglais)♥ Donate♥ CHD Forums
//fonctions
// "Magic Quotes"
ini_set ("set_magic_quotes_runtime", 0);
// Ajout d'anti-slashes selon "Magic Quotes"
function AuAddSlashes($chaine) {
return (get_magic_quotes_gpc() == 1 ? $chaine : AddSlashes($chaine));
}
// Retire les anti-slashes selon "Magic Quotes"
function AuStripSlashes($chaine) {
return (get_magic_quotes_gpc() == 1 ? StripSlashes($chaine) : $chaine);
}
// Convertisseur texte en HTML compatible
function conv($chaine, $nobr = 0) {
$chaine = htmlentities($chaine);
if ($nobr != 1) {
$chaine = nl2br($chaine);
}
$chaine = str_replace("<", "<", $chaine);
$chaine = str_replace(">", ">", $chaine);
$chaine = str_replace(""", "\"", $chaine);
$chaine = str_replace("[<]", "<", $chaine);
$chaine = str_replace("[>]", ">", $chaine);
return $chaine;
}
// Creation de l'index
function creerIndex($requete, $maximum) {
global $deb, $total, $max, $commence;
if ($deb <= 0 || !is_numeric($deb) || !isset ($deb)) {
$deb = 0;
}
$max = $maximum;
$q = mysql_query($requete);
$r = mysql_fetch_array($q);
$total = $r["num"];
$commence = $deb * $max;
}
// Navigateur de pages
function navBarre($plus) {
global $total, $deb, $max, $PHP_SELF;
if ($total > $max) {
echo "
Heart and Coeur is an organization that provides reliable information, support services, assistance to families of children with congenital heart defects and acquired heart disease, adults with congenital heart defects, and the professionals who work with them.
A congenital heart defect (CHD) is a defect in the structure of the heart and great vessels which is present at birth. Many types of heart defects exist, most of which either obstruct blood flow in the heart or vessels near it, or cause blood to flow through the heart in an abnormal pattern.