discourse-legacysite-perl/site/racecalendar/include_breadcrumb.php

13 lines
522 B
PHP
Raw Normal View History

2024-06-17 12:42:14 +00:00
<div class="breadcrumb">
<a href="<? echo $main_site_url ?>">Home</a> &gt;
<a href="<? echo $main_site_url . "/Races/index.html" ?>">Races</a> &gt;
<? if ( $regionname or $statename or $row[name]) { ?>
<a href="<? echo $site_url ?>">Race Calendar</a>
<? } else { ?>
<span class="lasttitle">Race Calendar</span>
<? } ?>
<? if ( $regionname ) { echo "&gt; " . $regionname; } ?>
<? if ( $statename ) { echo "&gt; " . $statename . " State"; } ?>
<? if ($row[name]) { echo "&gt; " . $row[name]; } ?>
</div>