table_exists('dune_system_boards')) { $root=$db->fetch_array($db->simple_select('dune_system_boards','fid',"kind='system' AND organisation_id='root'")); $fid=(int)($root['fid'] ?? 0); if ($fid>0) $page=str_replace('
]*>)/i','$1',$page,1); } $style = ''; $script = <<<'JS' JS; $page = str_replace('', $style.'', $page); $page = str_replace('