/************* SEO *************/ // Standaard... $arrSEO["titel"] = $seo_title; $arrSEO["keywords"] = $kw; $arrSEO["description"] = $desc; $oldtitle = $arrSEO["titel"]; // Producten... if(!empty($_GET["id"])) { $product = addslashes($_GET["id"]); // Product $sql_Prod = "SELECT * FROM product WHERE actief = 1 AND verwijderd = 0 AND url = '$product'"; $item_Prod = conn::getRes($sql_Prod); if (!empty($item_Prod)) { if (!empty($item_Prod["product"])) { $arrSEO["titel"] = $oldtitle . " - " . $item_Prod["product"]; } if (!empty($item_Prod["description"])) { $arrSEO["description"] = utf8_encode($item_Prod["description"]); } if (!empty($item_catProd["keywords"])) { $arrSEO["keywords"] = $item_Prod["keywords"]; } } } // Afwerkingen... if(!empty($_GET["id"])) { $itemke = addslashes($_GET["id"]); $sql_Afw = "SELECT * FROM afwerking WHERE actief = 1 AND verwijderd = 0 AND url = '$itemke'"; $item_Afwerking = conn::getRes($sql_Afw); if (!empty($item_Afwerking)) { if (!empty($item_Afwerking["afwerking"])) { $arrSEO["titel"] = $oldtitle . " - " . $item_Afwerking["afwerking"]; } if (!empty($item_Prod["description"])) { $arrSEO["description"] = utf8_encode($item_Afwerking["description"]); } if (!empty($item_catProd["keywords"])) { $arrSEO["keywords"] = $item_Afwerking["keywords"]; } } } // SEO... $actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $sql_SEO = "SELECT * FROM SEO WHERE actief = 1 AND verwijderd = 0 AND url = '$actual_link'"; $item_seo = conn::getRes($sql_SEO); if(!empty($item_seo)) { if (!empty($item_seo["titel"])) { $arrSEO["titel"] = $oldtitle . " - " . $item_seo["titel"]; } if (!empty($item_seo["description"])) { $arrSEO["description"] = utf8_encode($item_seo["description"]); } if (!empty($item_seo["keywords"])) { $arrSEO["keywords"] = $item_seo["keywords"]; } } /************* SEO (end) *************/ ?>
= nl2br($arrProduct["info"]) ?>
if(!empty($arrProduct["aandachtskader"])) { echo "