$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 = "Hurricane Resistant Modular Homes and Buildings";
$back = "catbuild20.php";
$here = "catbuild20_1.php";
$page_name="catbuild20_1";
$page=$page_name;
$mycathere=$page.".php";
$prodname="Hurricane Resistant Modular Homes and Buildings - Residential";
if($mycat!=""){
$mycat_link="Add to My Catalog ";
}else{
$mycat_link="My Catalog ";
}
$dbcnx = new mysqli('localhost', 'ecoszzqh_produser', 'cata1og', 'ecoszzqh_products');
$unit="SYS";
?>
if($print == "yes"){
echo("" .
"" .
"" .
"©2011 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
?>