<?php
$partner = user_load( arg(2) );
$screener_data = _deliver_screener_get_form_data($partner->uid);
$allcountries = _country_get_predefined_list();
$allcountries = array_flip($allcountries);

echo $screener_data['city'] .', '. $screener_data['state'] .', '. array_search( $screener_data['country'], $allcountries );


$website = $screener_data['website'];
$websitetrim = trim(strtolower($website));
if ( substr($websitetrim, 0, 4 )  <> 'http' )  $websitetrim = 'http://'.$websitetrim;

echo '<div class="website"><a href="'. $websitetrim .'" target="_blank">'. $websitetrim .'</a></div>'; 
?>
