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'])) ? datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y') : datetime_convert('UTC',date_default_timezone_get(),'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']}
({$a->profile['with']})
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 = bbcode($a->profile['about'])) { $o .= <<< EOT
About:

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

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

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

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

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

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

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

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

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

$txt
EOT; }