getNumber("id")) || ($classified->getNumber("id") <= 0)) { $classifiedMsg = ucwords(CLASSIFIED_FEATURE_NAME)." not found!"; } elseif ($classified->getString("status") != "A") { $classifiedMsg = ucwords(CLASSIFIED_FEATURE_NAME)." not available!"; } elseif ($level->getDetail($classified->getNumber("level")) != "y") { $classifiedMsg = ucwords(CLASSIFIED_FEATURE_NAME)." not available!"; } else { report_newRecord("classified", $id, CLASSIFIED_REPORT_DETAIL_VIEW); } } else { header("Location: ".CLASSIFIED_DEFAULT_URL."/"); exit; } if (($classified->getNumber("id")) && ($classified->getNumber("id") > 0)) { $claCategs = $classified->getCategories(); if ($claCategs) { foreach ($claCategs as $claCateg) { $category_id[] = $claCateg->getNumber("id"); $category_name[] = $claCateg->getString("title"); } } } $_POST["category_id"] = $category_id; $extrastyle = array(DEFAULT_URL."/layout/classified_detail.css", DEFAULT_URL."/layout/classified_color.css"); $banner_section = "classified"; $headertag_title = $classified->getString("title"); $headertag_description = $classified->getString("summarydesc"); $headertag_keywords = str_replace(" || ", ", ", $classified->getString("keywords")); include(EDIRECTORY_ROOT."/layout/header.php"); //------------------ ***-------------- $mostra_google=true; if ($classified) $xxdd=$classified->getString("title").','.$classified->getString("detaildesc").','.$classified->getString("keywords").','. $classified->getString("fulltext_search"); $arr_w=array(); $arr_w=preg_split("/\s|,|;|\.|\?|:|\'|\"/",$xxdd); //print_r($arr_w); //exit; $badwords=explode(',',BADWORDS); if ($badwords) foreach($badwords as $bword) { $oopp=false; $maiswords=explode('+',$bword); if ($maiswords) foreach($maiswords as $mword) { //echo('
:::>'.$mword); if (stripos($xxdd,$mword)===false) //if (!in_array($mword, $arr_w, true)) { $oopp=true; } } //echo('::'.$oopp); if (!$oopp) { $mostra_google=false; break; } } //------------------***-------------- ?>


getNumber("level").".php"); } else { echo "

".$classifiedMsg."

"; } ?>