<?php Parse error: syntax error, unexpected '{' in /home/tomek/public_html/test/index.php on line 3 ?>
I nie wiem gdzie popełniłem bład. Proszę o poprawienie.

<?php try { /** * Wczyttywanie klas */ require_once('class/user.class.php'); require_once('class/site.class.php'); require_once('class/character.class.php'); /** * Definiowanie klas */ $user = new User(); $character = new Character(); $site = new Site(); { require_once('class/news.class.php'); $news = new News; $arrNews = $news -> newsReturn(); $tpl -> assign('News', $arrNews); } { { $logRes = $site -> login($_POST['login'], $_POST['password']); $tpl -> assign('Login', $logRes); } } { include('class/register.class.php'); $register = new Register; if ($register -> checkRegister() != 0) { { $registerRes = $register -> adduser($_POST['login'], $_POST['password'], $_POST['password2'], $_POST['mail']); $tpl -> assign('Register', $registerRes); } else { $tpl -> assign('Register', 10); } } else { $registerRes = -1; $tpl -> assign('Register', $registerRes); } } { require_once('class/news.class.php'); $news = new News; $new = $news -> newsById($_GET['id']); $arrComm = $news -> commentsReturn($_GET['id']); $tpl -> assign('Comments', $arrComm); $tpl -> assign('News', $new); { $commRes = $news -> addComment($_POST['text'], $_GET['id']); $tpl -> assign('CommRes', $commRes); } } else { $tpl -> assign('Login', -2); } /** * Przekazywanie zmiennych do parsera OPT i wyswietlanie strony */ { $_GET['page'] = ''; } require_once('includes/footer.php'); $tpl -> assign('Page', $_GET['page']); $tpl -> parse('index.tpl'); } catch(optException $exception) { optErrorHandler($exception); } ?>