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']) { $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']}
EOT; } if($a->profile['sexual']) { $o .= <<< EOT
Sexual Preference:
{$a->profile['sexual']}
EOT; } if($a->profile['homepage']) { $o .= <<< EOT
Homepage:
{$a->profile['homepage']}
EOT; } if($a->profile['politic']) { $o .= <<< EOT
Political Leaning:
{$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
Interests/Hobbies:

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

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

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

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

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

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

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

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

$txt
EOT; }