Profile EOT; if($a->profile['name']) { $o .= <<< EOT
Full Name:
{$a->profile['name']}
EOT; } if($a->profile['gender']) { $o .= <<< EOT
Gender:
{$a->profile['gender']}
EOT; } if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) { $o .= <<< EOT
Birthday:
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
Age:
$age
EOT; } if($a->profile['marital']) { $o .= <<< EOT
Status:
{$a->profile['marital']}
EOT; if($a->profile['with']) $o .= "
({$a->profile['with']})
"; $o .= <<< EOT
EOT; } if($a->profile['sexual']) { $o .= <<< EOT
Sexual Preference:
{$a->profile['sexual']}
EOT; } if($a->profile['homepage']) { $homepage = linkify($a->profile['homepage']); $o .= <<< EOT
Homepage:
$homepage
EOT; } if($a->profile['politic']) { $o .= <<< EOT
Political Views:
{$a->profile['politic']}
EOT; } if($a->profile['religion']) { $o .= <<< EOT
Religion:
{$a->profile['religion']}
EOT; } if($txt = prepare_body($a->profile['about'])) { $o .= <<< EOT
About:

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

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

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

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

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

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

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

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

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

$txt
EOT; }