' . $address[0]['title'] . '' . "\n";
$a .= '' . "\n";
$a .= '' . "\n";
$a .= '' . $address[0]['n_given'] . ' ' . $address[0]['n_family'] . ' | ' . "\n";
$a .= '
' . "\n";
$a .= '' . "\n";
$a .= '' . $address[0]['org_name'] . ' | ' . "\n";
$a .= '
' . "\n";
$a .= '' . "\n";
$a .= '' . $address[0]['org_unit'] . ' | ' . "\n";
$a .= '
' . "\n";
$a .= '' . "\n";
if ($business)
{
$street = $address[0]['adr_one_street'];
$city = $address[0]['adr_one_locality'];
$zip = $address[0]['adr_one_postalcode'];
$state = $address[0]['adr_one_region'];
$newcountry = $address[0]['address_one_countryname'];
}
else
{
$street = $address[0]['adr_two_street'];
$city = $address[0]['adr_two_locality'];
$zip = $address[0]['adr_two_postalcode'];
$state = $address[0]['adr_two_region'];
$newcountry = $address[0]['address_two_countryname'];
}
$a .= '' . $street . ' | ' . "\n";
$a .= '
' . "\n";
$a .= '' . "\n";
if ($newcountry)
{
$country = $newcountry;
}
if ($country == 'DE')
{
$a .= '' . $city . ' | ' . "\n";
$a .= '
' . "\n";
$a .= '' . "\n";
$a .= '' . $zip . ' | ' . "\n";
}
if ($country == 'US')
{
$a .= '' . $city . ', ' . $state . '&bbsp;' . $zip . ' | ' . "\n";
}
$a .= '
' . "\n";
$a .= '' . "\n";
$a .= '' . lang($country) . ' | ' . "\n";
$a .= '
' . "\n";
$a .= '
' . "\n";
return $a;
}
}
?>