$mycat=$_COOKIE['ecosmartmycat'];
$print = $_GET['print'];
$ctd=$_GET['ctd'];
if($print == "yes"){
if($ctd==""){
$goprint = "onLoad='javascript:printWindow()'";
}//if not coming from mycatalog
$status="";
$repped="";
$pgbg="white";
}else{
$goprint = "";
$pgbg="#BDDEA0";
}
$subcat = "LED Replacement Lamps";
$back = "catled2010.php";
$page_name="catled2010_control";
$here=$page_name.".php";
$mycathere="catled/".$page_name.".php";
$prodname="LED Strip Light Controllers";
$item="LED-Controllers";
$dbcnx = new mysqli('localhost', 'ecoszzqh_produser', 'cata1og', 'ecoszzqh_products');
if($mycat!=""){
$mycat_link="Add to My Catalog ";
}else{
$mycat_link="My Catalog ";
}
?>
if($print == "yes"){
echo("
" .
"" .
"" .
"©2010 Eco-\$mart, Inc. " .
" (888) 329-2705" .
" info@eco-smart.com" .
" www.eco-smart.com" .
"
");
}else{
echo("
");
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("" .
"" .
"
");
}//print is no
?>