Fifth pass at adding key files
This commit is contained in:
26
site/retailers/include_store.php
Normal file
26
site/retailers/include_store.php
Normal file
@ -0,0 +1,26 @@
|
||||
<div class="list-block grid">
|
||||
<div class="col-1-1 clearfix">
|
||||
<h3 class="float-left"><a href="<? echo "individual.php?retailer_id=$row[retailer_id]"; ?>"><? echo $row[retailer_name]; ?></a></h3>
|
||||
</div>
|
||||
<? if ($row[weighted_score] and $max_score) { ?>
|
||||
<p>
|
||||
(Slowtwitch.com score of <? echo(round($row['weighted_score']*5.00/$max_score, 2)); ?> 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[retailer_address]");
|
||||
if ($row[retailer_address_two]) { echo ("<br />$row[retailer_address_two]"); }
|
||||
echo("<br />$row[retailer_city], $row[retailer_state] $row[retailer_zip]");
|
||||
?>
|
||||
<br />Phone: <? echo $row[retailer_phone] ?>
|
||||
<br />Fax: <? echo $row[retailer_fax] ?>
|
||||
</div>
|
||||
<div class="col-1-2">
|
||||
Email: <? echo "<a href='mailto:$row[retailer_email]'>$row[retailer_email]</a>"; ?><br/>
|
||||
Website: <? echo "<a href='$row[retailer_website]' target='_blank'>$row[retailer_website]</a>"; ?><br/>
|
||||
<? if ($row[retailer_cart] == 1) { echo ("**eCommerce Shopping Cart**<br />"); } ?>
|
||||
<a href="<? echo "individual.php?retailer_id=$row[retailer_id]"; ?>">More info ></a>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user