<?php ?>
Po wykonaniu tego kodu nie widzę już niczego. Wiecie może czemu tak się dzieje??

<?php ?>
<?php class TplController { public function __construct() { return; } // Przetworzenie haed $addings_tags = self::addings_tags($head[1]); $buffer = self::correct_html($head[0]."<head>\n".$addings_tags.$head[1]); return $buffer; } private function addings_tags($head) { if(!stripos($head, '<base')) { $addings_tags = "<base href=\"".VGL_ADRESS."\" />"; } else { $addings_tags = ""; } if(!stripos($head, '<title>')) { $addings_tags .= "\n<title>".VGL_SITE_NAME."</title>"; } if(!stripos($head, '<meta http-equiv="Content-Language"')) { $addings_tags .= "\n<meta http-equiv=\"Content-Language\" content=\"".VGL_LANGUAGE."\" />"; } if(!stripos($head, '<meta http-equiv="Content-Type"')) { $addings_tags .= "\n<meta http-equiv=\"Content-Type\" content=\"".VGL_CODDING."\" />"; } if(!stripos($head, '<meta name="description"')) { $addings_tags .= "\n<meta name=\"description\" content=\"".VGL_SITE_DESC."\" />"; } if(!stripos($head, '<link rel="alternate" type="application/rss+xml"')) { switch(VGL_ST_MOD) { case '1': $rss = 'http://rss.'.VGL_DOMAIN.VGL_CMSDIR; break; case '2': $rss = VGL_ADRESS.'index.php/rss'; break; case '3': default: $rss = VGL_ADRESS.'index.php/rss'; break; } $addings_tags .= "\n<link rel=\"alternate\" type=\"application/rss+xml\" href=\"".$rss."\" />"; } if(!stripos($head, '<link rel="alternate" type="application/atom+xml"')) { switch(VGL_ST_MOD) { case '1': $atom = 'http://atom.'.VGL_DOMAIN.VGL_CMSDIR; break; case '2': $atom = VGL_ADRESS.'index.php/atom'; break; case '3': default: $atom = VGL_ADRESS.'index.php/atom'; break; } $addings_tags .= "\n<link rel=\"alternate\" type=\"application/atom+xml\" href=\"".$atom."\" />"; } if(!stripos($head, '<link rel="shortcut icon"')) { $addings_tags .= "\n<link rel=\"shortcut icon\" href=\"vgl_includes/extras/icon.ico\" />"; } return $addings_tags; } public function correct_html($html) { $html = preg_replace('#<font color="(.*?)">(.*?)</font>#si"', '<span style="color:1;">2</span>', $html); return $html; } } ?>