Fifth pass at adding key files
This commit is contained in:
23
site/fitters/include_store.php
Normal file
23
site/fitters/include_store.php
Normal file
@ -0,0 +1,23 @@
|
||||
<div class="list-block grid">
|
||||
<div class="col-1-1 clearfix">
|
||||
<h3 class="float-left"><a href="<? echo "individual.php?fitter_id=$row[fitter_id]"; ?>"><? echo $row[fitter_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[fitter_address]");
|
||||
if ($row[fitter_address_two]) { echo ("<br />$row[fitter_address_two]"); }
|
||||
echo("<br />$row[fitter_city], $row[fitter_state] $row[fitter_zip]");
|
||||
?>
|
||||
<br />Phone: <? echo $row[fitter_phone] ?>
|
||||
<br />Fax: <? echo $row[fitter_fax] ?>
|
||||
</div>
|
||||
<div class="col-1-2">
|
||||
Email: <? echo "<a href='mailto:$row[fitter_email]'>$row[fitter_email]</a>"; ?><br/>
|
||||
Website: <? echo "<a href='$row[fitter_website]' target='_blank'>$row[fitter_website]</a>"; ?><br/>
|
||||
<? if ($row[fitter_cart] == 1) { echo ("**eCommerce Shopping Cart**<br />"); } ?>
|
||||
<a href="<? echo "individual.php?fitter_id=$row[fitter_id]"; ?>">More info ></a>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user