\n\t\n\t$a1[CompanyName]
$a1[address], $a1[city], $a1[state], $a1[country]
"; if(!empty($a1[phone])) { $contacts[] = "Phone: $a1[phone]"; } if(!empty($a1[cellular])) { $contacts[] = "Cellular: $a1[cellular]"; } if(!empty($a1[pager])) { $contacts[] = "Pager: $a1[pager]"; } if(!empty($a1[website])) { $contacts[] = "
$a1[website]"; } if(!empty($contacts)) { $ShowContacts = implode(", ", $contacts); } $ShowInfo .= "$ShowContacts\n\n\n\n\t

$desc
"; if(!empty($a1[logo])) { $logo = ""; } $ShowInfo .= "\n\t$logo

For more information call
$a1[FirstName] $a1[LastName]
$a1[phone]

or click here to email.
"; $ShowInfo .= "
\n"; $ShowInfo .= "\n"; } else { $Image1 = "bg_info.gif"; } if($i == '2') { $Image2 = "bg_photos2.gif"; if(!empty($a1[ResumeImages])) { $MyImages = explode("|", $a1[ResumeImages]); $ShowInfo .= "\n\n\t
"; while(list(,$v) = each($MyImages)) { $ShowInfo .= "   \n\n\t"; } $ShowInfo .= "


"; if(!empty($f)) { $ShowInfo .= "

"; } else { $ShowInfo .= "

"; } } else { $ShowInfo .= "
"; } } else { $Image2 = "bg_photos.gif"; } $MyAddress = str_replace(" ", "+", $a1[address]); $MyAddress = str_replace(",", "", $MyAddress); $Image3 = ""; //$Image3 = ""; $ListingID = $a1[PostID]; require_once("templates/HeaderTemplate.php"); require_once("templates/AddReviewTemplate.php"); require_once("templates/FooterTemplate.php"); //update the stats $q1 = "update yellow_agents set visits = visits + '1' where AgentID = '$_GET[id]' "; mysql_query($q1) or die(mysql_error()); ?>