con=$conn; $resources = new resources; $resources->con=$conn; $products = new product; $products->con=$conn; if(!isset($_REQUEST["itemid"])) $itemid=$resources->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; } 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 .= "&printtype=1"; $resources->int_resources_id=$itemid; $resources->get_resources(); ?> 57 Main Street Wine Company - <? echo $resources->str_res_title;?>
str_res_title,"resources")==0) { $str_text.="

".$resources->str_res_title."

"; $str_text.="\"\""; $str_text.="

Search by Brand

"; $str_text.="

Partners in trade can now use this Resources section to view, download, and print product information and high resolution POS. We will be continuously uploading POS, so check back regularly to browse through our available materials.

"; $str_text.="

Please select a brand below to view all of the individual product POS information.

"; if($products->get_brands()) while(!$products->rs_product->EOF) { $str_text.="rs_product->fields["Id"]."\">"; $str_text.=$products->rs_product->fields["title"].""; $str_text.="
"; $products->rs_product->MoveNext(); } $str_text.="

"; } else { if($resources->int_res_resourcetype==0) { $str_text.="

".$resources->str_res_title."

"; $str_text.="\"\""; $str_text.="

".$resources->str_res_descript."

"; } else { switch($resources->int_res_resourcetype) { case 1: //distributor $str_text.="

".$resources->str_res_title."

"; $str_text.="\"\""; $str_text.="

To locate our distributor in your state,
please call: 866-598-WINE or
email us at: info@57mainstreet.com.

"; /*$str_text.="

Use the pulldown menu below to locate a distributor of our products in your state.

"; $str_text.="
"; $str_text.="

"; $str_text.=""; $str_text.="

"; $str_text.="

"; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.="

"; $str_text.="
"; $str_text.="
"; $str_text.="
"; $str_text.="
";*/ break; case 2: $str_text.="

Join Our Mailing List

"; $str_text.="\"\""; $str_text.="

Mailing List Sign Up Form

"; $str_text.="

".$resources->str_res_descript."

"; $str_text.=""; $str_text.="
"; $str_text.="

"; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.=""; $str_text.="

* Required fields

* First Name:
* Last Name:
* Company:
* Address:
* City:
* State:"; $str_text.="
* Zip Code:
* Phone Number:
* Email Address:
 

"; $str_text.=""; $str_text.=""; $str_text.="
"; $str_text.="
"; $str_text.="
"; $str_text.="
"; break; } } } echo $str_text; ?>