Add to My Catalog"; }else{ $mycat_link="My Catalog"; } $qoks=array(); $item="LTLED-ECO-FBS-6-20-*"; $items[]="LTLED-ECO-FBS-6-20-*"; $itemnames[]="High CRI Frosted 6 inch Dimmable Downlight - 20 Watts"; $items[]="LTLED-ECO-FBS-6-26-*"; $itemnames[]="High CRI Frosted 6 inch Dimmable Downlight - 26 Watts"; $items[]="LTLED-ECO-FBS-6-32-*"; $itemnames[]="High CRI Frosted 6 inch Dimmable Downlight - 32 Watts"; $items[]="LTLED-ECO-FBS-8-20-*"; $itemnames[]="High CRI Frosted 8 inch Dimmable Downlight - 20 Watts"; $items[]="LTLED-ECO-FBS-8-26-*"; $itemnames[]="High CRI Frosted 8 inch Dimmable Downlight - 26 Watts"; $items[]="LTLED-ECO-FBS-8-32-*"; $itemnames[]="High CRI Frosted 8 inch Dimmable Downlight - 32 Watts"; $items[]="LTLED-ECO-FBS-9-20-*"; $itemnames[]="High CRI Frosted 9 inch Dimmable Downlight - 20 Watts"; $items[]="LTLED-ECO-FBS-9-26-*"; $itemnames[]="High CRI Frosted 9 inch Dimmable Downlight - 26 Watts"; $items[]="LTLED-ECO-FBS-9-32-*"; $itemnames[]="High CRI Frosted 9 inch Dimmable Downlight - 32 Watts"; $countem=count($items); if($countem > 8){//go to price list $addemup=array(); $price_list="on"; foreach($items as $value ){ $result = $dbcnx->query("SELECT item,list FROM price WHERE item = '$value'"); if (!$result) { $buttonmessage="Quote Request"; //echo("ERROR:".mysql_error()."
"); }else{ $ro=mysql_fetch_array($result); $addemup[]=$ro[1]; }//got result }//4each $alladd=array_sum($addemup); if($alladd > 0){ $buttonmessage="Quote List"; $buttonprint="See Quote List"; }else{ $buttonmessage="Quote List"; $buttonprint="See Quote List"; }//list prices add up to not more than zero }else{ $price_list="off"; //////////////////////////edit labels for price table if presented on this page $labels[]="20 Watt"; $labels[]="26 Watt"; $labels[]="32 Watt"; $itcount=count($items); $labcount=count($labels); $dibby=$itcount/$labcount; //$codes[]="*CW = Cool White"; //$codes[]="*PW = Pure White"; //$codes[]="*WW = Warm White"; //$codes[]="*B = Blue"; //$codes[]="*G = Green"; //$codes[]="*R = Red"; //$codes[]="*Y = Yellow"; }//pricelist is off $codes=array(); ///////////////////////////////////////////////////// if($price_list=="off"){ foreach($items as $value){ $result = $dbcnx->query("SELECT list,retail,special,dealer,unit,cs FROM price WHERE item = '$value'"); if (!$result) { //echo("ERROR:".mysql_error()."
"); $mess[]="Eco-\$mart Price: Quoted*"; $pay[] = "no"; }else{ $row = $result->fetch_row(); $list = $row['list']; $retail = $row['retail']; $special = $row['special']; $dealer = $row['dealer']; $unit = $row['unit']; $units[]=$unit; $cs = $row['cs']*1; if($unit == "CS" and $cs > 0){ $unit = "CS*".$cs; $caseit = "on"; }else{ $caseit = "off"; } if($special>0 or $dealer>0){ $qoks[]=$value; } if($status == 'wholesale'){$charge=$special; $bergen = 'Special';} elseif($status == 'dealer'){$charge=$dealer; $bergen = 'Wholesale';} else{$charge=$retail; $bergen = "";} if($retail == "0.00" and $list == "0.00" or $retail="" or $list==""){ $mess[]="Eco-\$mart Price: Quoted"; $pay[] = "no"; }else{ if($retail != "0.00" and $list == "0.00"){ $pay[] = "yes"; if($bergen != ""){ $mess[]="Regular Price: \$".$retail."" . "
Eco-\$mart ".$bergen." Price: \$".$charge.""; }else{ $mess[]="Eco-\$mart Price: \$".$charge." ".$unit.""; }//no special pricing }//retail is not 0 and list is else{//all present $pay[] = "yes"; if($bergen != ""){ $mess[]="List Price: \$".$list."". "
Regular Price: \$".$retail."" . "
Eco-\$mart ".$bergen." Price: \$".$charge." ".$unit.""; }else{//list but no special pricing $mess[]="List Price: \$".$list."". "
Eco-\$mart Price: \$".$charge." ".$unit.""; } }//allpresent }//retail and list are 0.00 if($caseit == "on"){ $cso[] = $cs.":".$charge; $casecharge = $charge * $cs; $price[] = sprintf("%01.2f", $casecharge); }else{ $price[] = $charge; $cso[] = ""; }//no cases }//got result }//4eachitem }//pricelist is off ?>
www.eco-smart.com

LED Replacement Lamps
BACK

" . ""); $i=0; while($i<$countem){ echo("" . ""); $i=$i+1; }//while counting items echo("" . "" . "" . "" . "" . "" . "" . "" . "" . ""); }//print is not yes else{ echo(""); }//print is yes }//price list is on else{ foreach($labels as $value){ echo(""); }//4each echo(""); $i=0; $countem=count($items); while($i<$countem){ if($print!="yes"){ if($pay[$i]=="yes"){ echo(""); }else{ echo(""); }//pay is no }else{ echo(""); }//print is yes $i=$i+1; }//while counting items ?> "); }//codes is not empty }//no price list ?>
" . "$buttonprint$value
" . " $items[$i]
$mess[$i]
" . "
" . "" . "" . "" . "" . "" . "QTY: " . " " . "
" . " $items[$i]
$mess[$i]"); if($print!="yes"){ echo("

" . "" . "Quote

"); }//print is not yes echo("
" . " $items[$i] 
$mess[$i]
"); $codcount=count($codes); $a=0; foreach($codes as $value){ $a=$a+1; if($codcount!=$a){ $sp=","; }else{ $sp=""; } echo("$value$sp "); }//4each echo("

Features:

  • High CRI, over 80
  • High brightness Cree/ Nichia /Epistar LEDs
  • Up to 85 Lumens per watt
  • 50 to 70% Energy Savings over conventional lighting
  • Frosted PMMA lens gives uniform, eye-comfortable light
  • The optical system is fitted tightly to the housing
  • Built-in thermal control for low working temperatures
  • High efficiency external LED driver
  • TRIAC dimmable to 8%, with most traditional dimmers
  • Spring torsions for easier installation
  • Patented die-casting mold design
  • 3~5 years limited warranty

Applications:    Hallway Lighting    Security Lighting    Hospitality    Residential lighting

Ceiling Light
Size Fixture Dimension Hole Dimension
6" 7.4"D x 5.8"H 6.1"
8" 8.1"D x 6"H 6.8"
9" 9.6"D x 6.4"H 8.3"
Specifications      PDF:   6 Inch   8 Inch   9 Inch      UL Listed  Rhos Compliant  CE Compliant
Beam Angle 70%
Power 20W 26W 32W
Lumens (*CW) 1710 LM 2200 LM 2500 LM
Colors Warm White, Natural White, *Cool White
CCT 2800-3200K or 3800-4200K, 4500-5300K, 5300-6500K
CRI >80
IES data files available upon request
" . "" . "" . "©2013 Eco-\$mart, Inc." . "    (888) 329-2705" . "    info@eco-smart.com" . "    www.eco-smart.com" . "
"); }else{ echo("" . "" . "
" . "

$mycat_link

" . "  << Return to $subcat" . "
" . "" . " ©2013 Eco-\$mart, Inc." . "   (888) 329-2705" . "   info@eco-smart.com" . "   www.eco-smart.com" . "" . " QUOTE " . "" . " PRINT " . "
"); echo("
" . "
" . "
" . "" . "
" . "" . "
"); $getcats = $dbcnx->query("SELECT cat_name,catpage FROM cats ORDER BY cat_name"); if(!$getcats){ $air[]="Could not get categories for menu. Error: "; }else{ while ($row = $getcats->fetch_row()) { echo("" . "
"); }//while fetching cats }//got cats echo("" . "
" . "" . "
 
"); if($repped==""){ $skip="on"; }else{ $show="on"; $dnum=date(Ymd)*4; $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1'); mysql_select_db('ecosmar_website', $dbcnx); $checkrep=mysql_query("SELECT ID FROM psw WHERE usrn='$repped'"); if(!$checkrep){ $air[]="Could not verify rep. Error: ".mysql_error(); $show="off"; }else{ $row=mysql_fetch_array($checkrep); $uID=$row[0]; if($uID==""){ $air[]="Representative does not match records."; $show="off"; }else{ echo("

" . " Eco-\$mart Representative $repped Logged In. 

"); mysql_select_db('ecosmar_inv', $dbcnx); $getquote = $dbcnx->query("SELECT ID,CID FROM quotes WHERE usrn='$repped'"); if(!$getquote){ $air[]="Could not get quotes for ".$repped.". Error: ".mysql_error(); $show="off"; }else{ $numquos=mysql_num_rows($getquote); if($numquos < 1){ $show="off"; $air[]="No Quotes Started."; }else{//there are quotes while($rowq=mysql_fetch_array($getquote)){ $QIDs[]=$rowq['ID']; $CIDs[]=$rowq['CID']; }//while getting and filling arrays mysql_select_db('ecosmar_contacts', $dbcnx); foreach($CIDs as $value){ $getcon=mysql_query("SELECT first_Name,Name,Company FROM con_main WHERE ID='$value'"); if(!$getcon){ $air[]="Could not get contact info for contact. Error: ".mysql_error(); $show="off"; }else{ $rowc=mysql_fetch_array($getcon); $first_Name=$rowc[0]; $Name=$rowc[1]; $Company=$rowc[2]; if($Company!=""){ $quocos[]=$Company; }else{ $quocos[]=$first_Name." ".$Name; } }//got contact }//4each quote/contact ID }//there are quotes }//got quote $i=0; $countem=count($items); while($i<$countem){ if(in_array($items[$i],$qoks)){ $ast[]=$items[$i]; $astname[]=$itemnames[$i]; }//in array with dealer prices $i=$i+1; }//while counting items if(empty($ast)){ $air[]="No Quotes. No qualifying prices."; $show="off"; } if($show=="on"){ echo("
" . "
" . "" . "
" . "Eco-\$mart Quotes" . "  Add Products:" . "
"); if(!empty($ast)){ $i=0; $countast=count($ast); while($i<$countast){ if(in_array($ast[$i],$qoks)){ echo("QTY: " . "  ITEM: $ast[$i] ¦ $astname[$i]
"); }//in array with dealer prices $i=$i+1; }//while counting assepted items }//accepted items echo("TO:   " . "" . "" . "" . "" . "
" . "
"); }//show is on }//repped matches usrn in psw }//chekd rep }//rep is present if(!empty($air)){ echo("
"); foreach($air as $value){ echo("
$value"); }//4each echo("
"); }//air is not empty if($ref_RID!=""){ echo("

RID: $ref_RID

"); } }//print is not yes ?>