' . t('Profile') . ''; if($a->profile['name']) { $lbl_fullname = t('Full Name:'); $fullname = $a->profile['name']; $o .= <<< EOT
$lbl_fullname
$fullname
EOT; } if($a->profile['gender']) { $lbl_gender = t('Gender:'); $gender = $a->profile['gender']; $o .= <<< EOT
$lbl_gender
$gender
EOT; } if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) { $lbl_birthday = t('Birthday:'); $o .= <<< EOT
$lbl_birthday
EOT; // If no year, add an arbitrary one so just we can parse the month and day. $year_bd_format = t('j F, Y'); $short_bd_format = t('j F'); $o .= '
' . ((intval($a->profile['dob'])) ? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'] . ' 00:00 +00:00',$year_bd_format)) : day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6) . ' 00:00 +00:00',$short_bd_format))) . "
\r\n
"; $o .= '
'; } if($age = age($a->profile['dob'],$a->profile['timezone'],'')) { $lbl_age = t('Age:'); $o .= <<< EOT
$lbl_age
$age
EOT; } if($a->profile['marital']) { $lbl_marital = t(' Status:'); $marital = $a->profile['marital']; $o .= <<< EOT
$lbl_marital
$marital
EOT; if($a->profile['with']) { $with = $a->profile['with']; $o .= "
($with)
"; } $o .= <<< EOT
EOT; } if($a->profile['sexual']) { $lbl_sexual = t('Sexual Preference:'); $sexual = $a->profile['sexual']; $o .= <<< EOT
$lbl_sexual
$sexual
EOT; } if($a->profile['homepage']) { $lbl_homepage = t('Homepage:'); $homepage = linkify($a->profile['homepage']); $o .= <<< EOT
$lbl_homepage
$homepage
EOT; } if($a->profile['politic']) { $lbl_politic = t('Political Views:'); $politic = $a->profile['politic']; $o .= <<< EOT
$lbl_politic
$politic
EOT; } if($a->profile['religion']) { $lbl_religion = t('Religion:'); $religion = $a->profile['religion']; $o .= <<< EOT
$lbl_religion
$religion
EOT; } if($txt = prepare_text($a->profile['about'])) { $lbl_about = t('About:'); $o .= <<< EOT
$lbl_about

$txt
EOT; } if($txt = prepare_text($a->profile['interest'])) { $lbl_interests = t('Hobbies/Interests:'); $o .= <<< EOT
$lbl_interests

$txt
EOT; } if($txt = prepare_text($a->profile['contact'])) { $lbl_contact = t('Contact information and Social Networks:'); $o .= <<< EOT
$lbl_contact

$txt
EOT; } if($txt = prepare_text($a->profile['music'])) { $lbl_music = t('Musical interests:'); $o .= <<< EOT
$lbl_music

$txt
EOT; } if($txt = prepare_text($a->profile['book'])) { $lbl_book = t('Books, literature:'); $o .= <<< EOT
$lbl_book

$txt
EOT; } if($txt = prepare_text($a->profile['tv'])) { $lbl_tv = t('Television:'); $o .= <<< EOT
$lbl_tv

$txt
EOT; } if($txt = prepare_text($a->profile['film'])) { $lbl_film = t('Film/dance/culture/entertainment:'); $o .= <<< EOT
$lbl_film

$txt
EOT; } if($txt = prepare_text($a->profile['romance'])) { $lbl_romance = t('Love/Romance:'); $o .= <<< EOT
$lbl_romance

$txt
EOT; } if($txt = prepare_text($a->profile['work'])) { $lbl_work = t('Work/employment:'); $o .= <<< EOT
$lbl_work

$txt
EOT; } if($txt = prepare_text($a->profile['education'])) { $lbl_education = t('School/education:'); $o .= <<< EOT
$lbl_education

$txt
EOT; } return $o; }