discourse-legacysite-perl/site/triclubs/include_store.php

24 lines
1.2 KiB
PHP
Raw Normal View History

2024-06-17 12:42:14 +00:00
<div class="list-block grid">
<div class="col-1-1 clearfix">
<h3 class="float-left"><a href="<? echo "individual.php?triclub_id=$row[triclub_id]"; ?>"><? echo $row[triclub_name]; ?></a></h3>
</div>
<? if ($rating_text) { ?>
<p>(Avg. rating <? echo($row[score]); ?> based on <? echo(int_to_words($row[respondents])); if($row[respondents] == 1) { echo(" respondent"); } else { echo(" respondents"); } ?>)</p>
<? } ?>
<div class="col-1-2">
<?
echo ("$row[triclub_address]");
if ($row[triclub_address_two]) { echo ("<br />$row[triclub_address_two]"); }
echo("<br />$row[triclub_city], $row[triclub_state] $row[triclub_zip]");
?>
<br />Phone: <? echo $row[triclub_phone] ?>
<br />Fax: <? echo $row[triclub_fax] ?>
</div>
<div class="col-1-2">
Email: <? echo "<a href='mailto:$row[triclub_email]'>$row[triclub_email]</a>"; ?><br/>
Website: <? echo "<a href='$row[triclub_website]' target='_blank'>$row[triclub_website]</a>"; ?><br/>
<? if ($row[triclub_cart] == 1) { echo ("**eCommerce Shopping Cart**<br />"); } ?>
<a href="<? echo "individual.php?triclub_id=$row[triclub_id]"; ?>">More info &gt;</a>
</div>
</div>