 |
 |
 |
| |
 |
 |
if($cursor['large']=="") $cursor['large']="http://www.smartpathgolf.com/images/largenoimage.jpg";?>
 |
  |
|
 |
|
 |
| |
=$cursor['name'];?>
$=$cursor['price'];?> |
|
|
|
|
|
|
|
|
|
| |
if($cursor['image_extra']!=""){?>
}?>
Average Customer Rating
$totalrate=0;
$gmember=0;
$fea=mysql_query("select * from product_review where active='1' and featured='Y' and product_id='".$cursor['id']."'");
while($feasql=mysql_fetch_array($fea))
{
$totalrate=$totalrate+$feasql['rating'];
$gmember++;
}
if($gmember>0)
{
$avgrate=($totalrate/$gmember);
$ckavg=explode(".",$avgrate);
}
for($im=1;$im<=5;$im++)
{
$ima="";
if($im<=$ckavg[0])
{
$ima="star.jpg";
}else if($im>$ckavg[0])
{
if(count($ckavg)==2&&$ckav!=1){
$ima="star".$ckavg[1].".jpg";
$ckav=1;
}else
{
$ima="star0.jpg";
}
}
if($ima!="") echo ' ';
}
?>
Email A Friend
|
|
|
|
 |
|
 |
|
 |
|
|
|
|
|
 |
 |
 |
=stripslashes(str_replace("\n"," ",$cursor['description']));?>
 |
|
|
 |
|
 |
|
|
|
|
 |
 |
|
$truepro1=0;
if(count($_SESSION['order'])>0)
{
foreach($_SESSION['order'] as $key => $item) : if (eregi("quantity",$key)) : list($sku,$extra,$ext) = explode("_",$key);
$skus=str_replace("_quantity",'',$key);
$truepro1++;
endif; endforeach;
}
?>
| |
if($truepro1<=0){?>Your Shopping Cart is empty.
Go To Checkout}else if($truepro1>0){
?>Your Shopping Cart has =$truepro1?> item(s).
Go To Checkout
}?> |
|
|
|
|
include("wesuggest.php");?>
| |
| |
|
 |
|
 |
|