<div class="breadcrumb">
  <a href="<? echo $main_site_url ?>">Home</a> &gt;
  <a href="<? echo $main_site_url . "/local/" ?>">Local Listings</a> &gt;
  <? if ( $regionname or $statename or $row[retailer_name]) { ?>
  <a href="<? echo $site_url ?>">Triathlon & Multisport Retailers</a>
  <? } else { ?>
  <span class="lasttitle">Triathlon &amp; Multisport Retailers</span>
  <? } ?>
  <? if ( $regionname ) { echo "&gt; " . $regionname; } ?>
  <? if ( $statename ) { echo "&gt; " . $statename . " state"; } ?>
  <? if ($row[retailer_name]) { echo "&gt; " . $row[retailer_name]; } ?>
</div>
