$checkRID = $_COOKIE['RID']; if($checkRID == ""){ $ref_RID = $_GET['RID']; if($ref_RID == ""){ $ref_RID = $_POST['RID']; } if($ref_RID != ""){ setcookie('RID',$ref_RID,time()+60*60*24*365*10); } }else{ $ref_RID = $checkRID; }//ifnocookievalue ?>
echo(" Item: $items[0] "); echo("Price: Quoted "); if($print!="yes"){ echo("" . "" . "Quote Request "); } ?> |
if($print!="yes"){
echo("
|
Solar Electric Power Assemblies have riveted aluminum frames and welded mounting brackets to provide durability and flexibility in harsh conditions. Liquid tight plug in connectors and wire harness make installation fast and easy. Unique welded one piece power bracket allows tilting the solar panel assembly for maximum sun exposure.
Riveted Aluminum Frames and Vented Panel Pans
Welded Rear Channel Mounting Brackets
Liquid Tight Connectors and Flex-Tube
High-Gauge Vented Aluminum Battery Storage Assembly
Full Wire Harness w/ Battery Cables and Quick Connect Terminals
Unique Welded One Piece Power Bracket
Meets 150 MPH Exposure “D” wind force requirements
Solar Modules
![]() ![]() ![]() ![]() for desired output |
Deep-Cycle Solar Photovoltaic Batteries
![]() ![]() ![]() ![]() ![]() |
" . "" . "©2010 Eco-\$mart, Inc." . " (888) 329-2705" . " info@eco-smart.com" . " www.eco-smart.com" . " |
" . " << Return to $subcat" . " | ||
" . "" . "©2010 Eco-\$mart, Inc." . " (888) 329-2705" . " info@eco-smart.com" . " www.eco-smart.com" . " | " . " QUOTE " . " | " . " PRINT " . " |
" .
"
Eco-\$mart Representative: $repped Logged In. "); $dnum=date(Ymd)*4; 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{ 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"; }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 foreach($items as $value){ if(in_array($value,$qoks)){ $ast[]=$value; }//in array with dealer prices }//4each items if(empty($ast)){ $air[]="No Quotes. No qualifying prices."; $show="off"; } if($show=="on"){ echo("");
foreach($air as $value){
echo(" ");
}//air is not empty
if($ref_RID!=""){
echo("$value"); }//4each echo(" RID: $ref_RID "); } }//print is not yes ?> |