<?php
/*
    CREATIVE COMMONS - Attribution-No Derivative Works 3.0 Germany:
    - You may not alter, transform, or build upon this work.
    - Dieses Werk darf nicht bearbeitet oder in anderer Weise verändert werden.
*/
  echo '<ul id="Hauptmenue">
          <li>
            <a href="index.php?submenue=calendar"'; if ($Submenue=="calendar") {echo ' class="selected"';} echo '>
              <img src="images/kalender.gif" alt="'.$L_Button06.'" />
                '.$L_Button06.'
            </a>
          </li>';
  // CMS
  if ( $ShowCMS )
  {
    if (IsUserAdmin())
    {
      echo '<li>
            <a href="index.php?submenue=cms"'; if ($Submenue=="cms") {echo ' class="selected"';} echo '>
              <img src="images/cms.gif" alt="'.$L_Button43.'" />
                '.$L_Button43.'
            </a>
          </li>';
    }
  }
  // Guestbook
    echo '<li>
          <a href="index.php?submenue=guestbook"'; if ($Submenue=="guestbook") {echo ' class="selected"';} echo '>
            <img src="images/guestbook.gif" alt="'.$L_Button29.'" />
              '.$L_Button29.'
          </a>
        </li>';
  // News
    echo '<li>
          <a href="index.php?submenue=news"'; if ($Submenue=="news") {echo ' class="selected"';} echo '>
            <img src="images/news.gif" alt="'.$L_Button32.'" />
              '.$L_Button32.'
          </a>
        </li>';
  // FileSharing
  echo '<li>
          <a href="index.php?submenue=filesharing"'; if ($Submenue=="filesharing") {echo ' class="selected"';} echo '>
            <img src="images/filesharing.gif" alt="'.$L_Button08.'" />
              '.$L_Button08.'
          </a>
        </li>';
  // User
  echo '<li>
          <a href="index.php?submenue=user"'; if ($Submenue=="user") {echo ' class="selected"';} echo '>
            <img src="images/user.gif" alt="'.$L_Button07.'" />
              '.$L_Button07.'
          </a>
        </li>';
  // Email
  if ( getCurrentUserVar('UserRightEmail') )
  {
    echo '<li>
            <a href="index.php?submenue=mail"'; if ($Submenue=="mail") {echo ' class="selected"';} echo '>
              <img src="images/mail.gif" alt="'.$L_Button11.'" />
                '.$L_Button11.'
            </a>
        </li>';
  }
  // Admin
  if (IsUserAdmin())
    {
      echo '<li>
            <a href="index.php?submenue=admin"'; if ($Submenue=="admin") {echo ' class="selected"';} echo '>
              <img src="images/admin.gif" alt="'.$L_Button05.'" />
                '.$L_Button05.'
            </a>
          </li>';
    }
  // Hilfe
  echo '<li>
            <a href="index.php?submenue=help"'; if ($Submenue=="help") {echo ' class="selected"';} echo '>
              <img src="images/help.gif" alt="'.$L_Button33.'" />
                '.$L_Button33.'
            </a>
          </li>';          
  echo '</ul>';
?>