<? global $lang;?>
<? if ( !$this -> g_user ):?>
  <a href="/rejestracja" id="sign-up">
    <?= $lang['zarejestruj-sie'];?>
  </a>
  <a href="/logowanie" id="sign-in">
    <?= $lang['zaloguj-sie'];?>
  </a>
<? else:?>
  <a href="/globelusUser/logout/" id="logout">
    <?= $lang['wyloguj-sie'];?>
  </a>
  <a href="<?= $this -> g_user['type'] ? '/panel-pracodawcy/profil' : '/panel-kandydata/profil';?>" id="user-panel">
    <?= $this -> g_user['type'] ? $lang['panel-pracodawcy'] : $lang['panel-kandydata'];?>
  </a>
  <? if ( $this -> g_user['type'] and is_array( $this -> g_user['categories'] ) and count( $this -> g_user['categories'] ) ):?>
    <div id="mini-menu">
      <a href="/baza-cv"><i class="fa fa-file-text"></i>Baza kandydatów</a>
    </div>
  <? endif;?>
<? endif;?>
