-1) { $ar_separagets = explode('?', $perfilenurl); $perfilenurl = $ar_separagets[0]; } $perfilenurl = strtolower(str_replace($ararremplazar, $arreemplazos, $perfilenurl)); if (is_numeric($perfilenurl)) $idperfil = $perfilenurl; $result1 = mysql_query($q = 'SELECT noticia_titulo, noticia_texto, noticia_friendlyname, noticia_imagen1 FROM '.pftables.'noticias WHERE noticia_friendlyname = "'.$perfilenurl.'" LIMIT 1'); if ($row1 = mysql_fetch_array($result1)) { include 'inc.header.php'?>

Noticias - Galería de Arte - Hebe Depetris Ruiz

-1) { ?> Volver
#iU", $html, $result); // put all opened tags into an array $openedtags = $result[1]; preg_match_all("##iU", $html, $result); // put all closed tags into an array $closedtags = $result[1]; $len_opened = count($openedtags); // all tags are closed if (count($closedtags) == $len_opened ) { return $html; } $openedtags = array_reverse($openedtags); // close tags for ($i = 0; $i < $len_opened; $i++) { if (!in_array($openedtags[$i], $closedtags)) { $html .= ""; } else { unset($closedtags[array_search($openedtags[$i], $closedtags)]); } } $html = preg_replace( '/style=(["\'])[^\1]*?\1/i', '', $html, -1 ); return $html; } $row1['noticia_texto'] = preg_replace('#<(.+?)style=(:?"|\')?[^"\']+(:?"|\')?(.*?)>#si', '', $row1['noticia_texto']); $row1['noticia_texto'] = preg_replace('#<(.+?)class=(:?"|\')?[^"\']+(:?"|\')?(.*?)>#si', '', $row1['noticia_texto']); $row1['noticia_texto'] = preg_replace('#<(.+?)align=(:?"|\')?[^"\']+(:?"|\')?(.*?)>#si', '', $row1['noticia_texto']); //$row1['noticia_texto'] = strip_tags($row1['noticia_texto'], '