<div id="navig">
  <div id="logo">
    <a href="home.php?f=<?php echo $_SESSION['id']; ?>" class="odkaz">
      <img src="obrazky/smokef.png" alt="Logo" title="Go to homepage" width="190px" height="43px"/>
    </a>
  </div>
  <div id="navigacia">
    <?php if (empty($_GET['f'])) {} else {vypis_nazov_fora($_GET['f']);} ?>
  </div>
</div>