Profil
EOT;
if($a->profile['name']) {
$o .= <<< EOT
Nom complet:
{$a->profile['name']}
EOT;
}
if($a->profile['gender']) {
$o .= <<< EOT
Genre:
{$a->profile['gender']}
EOT;
}
if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) {
$o .= <<< EOT
Date de naissance/anniversaire:
EOT;
// If no year, add an arbitrary one so just we can parse the month and day.
$o .= '
'
. ((intval($a->profile['dob']))
? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'],'j F Y'))
: day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6),'j F')))
. "
\r\n
";
$o .= '';
}
if($age = age($a->profile['dob'],$a->profile['timezone'],'')) {
$o .= <<< EOT
EOT;
}
if($a->profile['marital']) {
$o .= <<< EOT
♥ Statut:
{$a->profile['marital']}
EOT;
if($a->profile['with'])
$o .= "
({$a->profile['with']})
";
$o .= <<< EOT
EOT;
}
if($a->profile['sexual']) {
$o .= <<< EOT
Attirances sexuelles:
{$a->profile['sexual']}
EOT;
}
if($a->profile['homepage']) {
$homepage = linkify($a->profile['homepage']);
$o .= <<< EOT
EOT;
}
if($a->profile['politic']) {
$o .= <<< EOT
Opinions politiques:
{$a->profile['politic']}
EOT;
}
if($a->profile['religion']) {
$o .= <<< EOT
Religion:
{$a->profile['religion']}
EOT;
}
if($txt = prepare_text($a->profile['about'])) {
$o .= <<< EOT
EOT;
}
if($txt = prepare_text($a->profile['interest'])) {
$o .= <<< EOT
Marottes/Centres d'intérêt:
$txt
EOT;
}
if($txt = prepare_text($a->profile['contact'])) {
$o .= <<< EOT
EOT;
}
if($txt = prepare_text($a->profile['music'])) {
$o .= <<< EOT
EOT;
}
if($txt = prepare_text($a->profile['book'])) {
$o .= <<< EOT
Livres, littérature:
$txt
EOT;
}
if($txt = prepare_text($a->profile['tv'])) {
$o .= <<< EOT
EOT;
}
if($txt = prepare_text($a->profile['film'])) {
$o .= <<< EOT
Cinéma/Danse/Culture/Divertissement:
$txt
EOT;
}
if($txt = prepare_text($a->profile['romance'])) {
$o .= <<< EOT
EOT;
}
if($txt = prepare_text($a->profile['work'])) {
$o .= <<< EOT
Travail/Activité professionnelle:
$txt
EOT;
}
if($txt = prepare_text($a->profile['education'])) {
$o .= <<< EOT
EOT;
}