con=$conn; if(!isset($_REQUEST["itemid"])) $itemid=$products->get_fir_active_seq(); else $itemid=$_REQUEST["itemid"]; if(!isset($_REQUEST["arr1"])) { $arr1="0"; $arr1.=",".$itemid; } else { $arr1=$_REQUEST["arr1"]; $pos = strpos($arr1, ",".$itemid); if($pos === false) $arr1.=",".$itemid; } $products->int_product_id=$itemid; $products->get_product(); $img_left = $products->str_prod_leftimage; $img_center = $products->str_prod_centerimage; $img_right = $products->str_prod_rightimage; if(!isset($_REQUEST["eventid"])) $eventid=0; else { $eventid=$_REQUEST["eventid"]; $products->int_prodinfo_id=$eventid; $products->get_product_info(); $img_left = $products->str_prodinfo_leftimage; $img_center = $products->str_prodinfo_centerimage; $img_right = $products->str_prodinfo_rightimage; } if(!isset($_REQUEST["printtype"])) $str_style="../mainstreet.css"; else $str_style="../msprint.css"; $str_url = "index.php?itemid=".$itemid; $str_url .= "&arr1=".$arr1; $str_url .= "&eventid=".$eventid; $str_url .= "&printtype=1"; ?> 57 Main Street imports a world class selection of wine and liquor from Argentina Italy France Spain South Africa Brazil Ireland Russia to the US markets - <? echo $products->str_prod_title;?>
int_prod_catindex==1) { $str_product_info = "
"; $str_product_info .= "

".$products->str_prod_title."

"; $str_product_info .= ""; //$str_product_info .= "

Overview

"; $str_product_info .= "

".$products->str_prod_descript."

"; $str_product_info .= "
"; } else { $str_product_info = "
"; $str_product_info .= "

".$products->str_prod_title."

"; $str_product_info .= ""; //$str_product_info .= "

Overview

"; $str_product_info .= "

".$products->str_prod_descript."

"; $products->load_products(); $int_total_prod = count($products->array_prod); if($int_total_prod==1) { if($products->array_prod[0][0]==0) { $str_array_1 = "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_product_info.=$str_array_1; } else { $str_array_1 = "
"; for($int_ct=0;$int_ct<=0;$int_ct=$int_ct+2) { $str_array_1.= "

".$products->array_prod[0][1].":

"; $products->int_prodinfo_producttype = $products->array_prod[0][0]; if($products->get_product_info_type()==true) { $str_array_1.="

"; while(!$products->rs_product_info_type->EOF) { if($products->int_prod_indproduct==1) { $str_array_1.= "rs_product_info_type->fields["Id"]."\">"; $str_array_1.= $products->rs_product_info_type->fields["prodname"]; $str_array_1.= "
"; } else { $str_array_1.= $products->rs_product_info_type->fields["prodname"]; $str_array_1.= "
"; } $products->rs_product_info_type->MoveNext(); } $str_array_1.="

"; } } if((!is_null($products->str_prod_website1) && $products->str_prod_website1<>"") || (!is_null($products->str_prod_website2) && $products->str_prod_website2<>"")) { $str_array_1 .= "
"; $str_array_1 .= "

Website:

"; $str_array_1 .= "

"; if(!is_null($products->str_prod_website1)) $str_array_1 .= "str_prod_website1."\" target=\"_blank\">".$products->str_prod_website1."
"; if(!is_null($products->str_prod_website2)) $str_array_1 .= "str_prod_website2."\" target=\"_blank\">".$products->str_prod_website2.""; $str_array_1 .= "

"; $str_array_1 .= "
"; } $str_array_1 .= "
"; $str_array_1 .= "

 
 

"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= "
"; $str_array_1 .= ""; $str_array_1 .= "
"; $str_product_info.=$str_array_1; } } else { if($int_total_prod%2==0) { $int_even = $int_total_prod-2; $int_odd = $int_total_prod-1; } else { $int_even = $int_total_prod-1; $int_odd = $int_total_prod-2; } $str_array_1 = "
"; $str_array_2 = "
"; for($int_ct=0;$int_ct<=$int_even;$int_ct=$int_ct+2) { $str_array_1.= "

".$products->array_prod[$int_ct][1].":

"; $products->int_prodinfo_producttype = $products->array_prod[$int_ct][0]; if($products->get_product_info_type()==true) { $str_array_1.="

"; while(!$products->rs_product_info_type->EOF) { if($products->int_prod_indproduct==1) { $str_array_1.= "rs_product_info_type->fields["Id"]."\">"; $str_array_1.= $products->rs_product_info_type->fields["prodname"]; $str_array_1.= "
"; } else { $str_array_1.= $products->rs_product_info_type->fields["prodname"]; $str_array_1.= "
"; } $products->rs_product_info_type->MoveNext(); } $str_array_1.="

"; } } for($int_ct=1;$int_ct<=$int_odd;$int_ct=$int_ct+2) { $str_array_2.="

".$products->array_prod[$int_ct][1].":

"; $products->int_prodinfo_producttype = $products->array_prod[$int_ct][0]; if($products->get_product_info_type()==true) { $str_array_2.="

"; while(!$products->rs_product_info_type->EOF) { if($products->int_prod_indproduct==1) { $str_array_2.= "rs_product_info_type->fields["Id"]."\">"; $str_array_2.= $products->rs_product_info_type->fields["prodname"]; $str_array_2.= "
"; } else { $str_array_2.= $products->rs_product_info_type->fields["prodname"]; $str_array_2.= "
"; } $products->rs_product_info_type->MoveNext(); } $str_array_2.="

"; } } if((!is_null($products->str_prod_website1) && $products->str_prod_website1<>"") || (!is_null($products->str_prod_website2) && $products->str_prod_website2<>"")) { $str_array_1 .= "
"; $str_array_1 .= "

Website:

"; $str_array_1 .= "

"; if(!is_null($products->str_prod_website1)) $str_array_1 .= "str_prod_website1."\" target=\"_blank\">".$products->str_prod_website1."
"; if(!is_null($products->str_prod_website2)) $str_array_1 .= "str_prod_website2."\" target=\"_blank\">".$products->str_prod_website2.""; $str_array_1 .= "

"; $str_array_1 .= "
"; } $str_array_1 .= "
"; $str_array_2 .= "
"; $str_product_info .= $str_array_1; $str_product_info .= $str_array_2; $str_product_info .= ""; $str_product_info .= "
"; $str_product_info .= ""; $str_product_info .= ""; $str_product_info .= "
"; } } echo $str_product_info; } else { ?>

str_prod_title;?>

<? echo $products->str_prodinfo_prodname;?>

str_prodinfo_accolades) && strcasecmp($products->str_prodinfo_accolades,"")<>0) { ?>Accolades:
str_prodinfo_accolades; } ?>

str_prodinfo_payoff) && strcasecmp($products->str_prodinfo_payoff,"")<>0) { ?>

str_prodinfo_payoff;?>

str_prodinfo_descript;?>

str_prodinfo_prodname;?>

Tasting Notes:

str_prodinfo_varietal) && strcasecmp($products->str_prodinfo_varietal,"")<>0) { ?>

Varietal: str_prodinfo_varietal;?>

str_prodinfo_vintage) && strcasecmp($products->str_prodinfo_vintage,"")<>0) { ?>

Vintage: str_prodinfo_vintage;?>

str_prodinfo_origin) && strcasecmp($products->str_prodinfo_origin,"")<>0) { ?>

Origin: str_prodinfo_origin;?>

str_prodinfo_viticulture) && strcasecmp($products->str_prodinfo_viticulture,"")<>0) { ?>

Viticulture & Vinification: str_prodinfo_viticulture;?>

str_prodinfo_proddescript) && strcasecmp($products->str_prodinfo_proddescript,"")<>0) { ?>

Product Description: str_prodinfo_proddescript;?>

str_prodinfo_serving) && strcasecmp($products->str_prodinfo_serving,"")<>0) { ?>

Serving Suggestion: str_prodinfo_serving;?>

str_prodinfo_winemaker) && strcasecmp($products->str_prodinfo_winemaker,"")<>0) { ?>

Winemaker: str_prodinfo_winemaker;?>

str_prodinfo_alchohol) && strcasecmp($products->str_prodinfo_alchohol,"")<>0) $int_alchohol = 1; if(!is_null($products->str_prodinfo_sugar) && strcasecmp($products->str_prodinfo_sugar,"")<>0) $int_sugar = 1; if(!is_null($products->str_prodinfo_p_h) && strcasecmp($products->str_prodinfo_p_h,"")<>0) $int_p_h = 1; if(!is_null($products->str_prodinfo_acidity) && strcasecmp($products->str_prodinfo_acidity,"")<>0) $int_acidity = 1; if(!is_null($products->str_prodinfo_free_so2) && strcasecmp($products->str_prodinfo_free_so2,"")<>0) $int_free_so2 = 1; if ($int_alchohol == 1 || $int_sugar == 1 || $int_p_h == 1 || $int_acidity == 1 || $int_free_so2 == 1 ) { ?>

Chemical Analysis:
Alcohol: str_prodinfo_alchohol;?> %/Vol.
Sugar: str_prodinfo_sugar;?> g/l
pH: str_prodinfo_p_h;?>
Acidity: str_prodinfo_acidity;?> g/l
Free SO2 : str_prodinfo_free_so2;?> mg/l

str_prodinfo_website1) && strcasecmp($products->str_prodinfo_website1,"")<>0) { ?>Website: str_prodinfo_website1;?>
str_prodinfo_website2) && strcasecmp($products->str_prodinfo_website2,"")<>0) { ?>Website: str_prodinfo_website2;?>

Imported exclusively by 57 Main Street Wine Company