Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: SEO

Parašė Nesąmonė.· 2010 Gru. 24 21:12:26
#14

Viską suvedu, bet blogai rodo, o va maincore.php, peržvelk, ar taip įdėjau tą:


// Strip Input Function, prevents <span style="border-bottom: 1px dotted black;">HTML</span> in unwanted places
function stripinput($text) {
	if (!is_array($text)) {
		if (QUOTES_GPC) $text = stripslashes($text);
		$search = array("&", "\"", "'", "\\", '\"', "\'", "<", ">", "&nbsp;");
		$replace = array("&amp;", "&quot;", "&#39;", "&#92;", "&quot;", "&#39;", "&lt;", "&gt;", " ");
		$text = str_replace($search, $replace, $text);
	} else {
		while (list($key, $value) = each($text)) {
			$text[$key] = stripinput($value);
		}
	}
	return $text;
}
 
require_once INCLUDES."seoname.php";