include 'include/engine.inc.php'; if($page['tag']=='redir') { header("Location: ".$page['text']); exit; } ob_start(); $name = stripslashes($page['name']); $name_p = TT($page['name']); if(!empty($url['lang'])) { if(file_exists('page/inc.'.$url['page'].'.php')) require_once 'page/inc.'.$url['page'].'.php'; elseif(!empty($page['tag']) && file_exists('page/mod.'.$page['tag'].'.php')) require_once 'page/mod.'.$page['tag'].'.php'; else include 'page/text.php'; } $content = SierotyOut(ob_get_contents()); ob_clean(); $repFrom = Array('target="lightbox"',' border="01"',' summary="{EPT}"','
{','}
'); $repTo = Array('class="lightbox"',' class="tableFormat"',' {EPT}','{','}'); $content = preg_replace("/{([^}]+)}/e", "SearchAndReplaceModules('\\1')", str_replace($repFrom,$repTo,stripslashes($content))); $content = stripslashes($content); include_once 'include/title.inc.php'; $titleTab[] = PAGENAME; $title = implode(' - ', ( array_unique($titleTab) ) ); include 'page/page.php'; ?>