<CENTER>
<B>Меню</B>
<TABLE BORDER=0 cellspacing=1 cellpadding=3 WIDTH="100%">
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <A HREF="texts.php" TARGET=_top><B>Работы (OBEC.PACTET)</B></A>
        </td>
    </tr>
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <A HREF="authors.php" TARGET=_top><B>Авторы</B></A>
        </td>
    </tr>
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <A HREF="threads.php" TARGET=_top><B>Комментарии (OBEC 3BOH)</B></A>
        </td>
    </tr>
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <A HREF="post.php" TARGET=_top><B>Послать работу</B></A>
        </td>
    </tr>
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <A HREF="prefs.php" TARGET=_top><B>Настройки</B></A>
        </td>
    </tr>

        <?php
            include "common.inc";
            $user = current_user();
            print "<tr><td BGCOLOR = \"#CCCCCC\">\n";
            if($user)
            {
                    print "<A HREF=\"logout.php\" TARGET=_top><B>Logout</B></A>\n"; 
            } else
            {
                    print "<A HREF=\"login.php\" TARGET=_top><B>Login</B></A>";
            }
            print "</td></tr>\n";
        ?>

    <tr>
        <td BGCOLOR = "#CCCCCC">
            <a href="http://sourceforge.net/bugs/?group_id=12322"><B>Книга жалоб</B></a>
        </td>
    </tr>
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <a href="http://sourceforge.net/forum/?group_id=12322"><B>Книга предложений</B></a>
        </td>
    </tr>
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <a href="rss.php"><img src="xml.gif">&nbsp;RSS</a>
        </td>
    </tr>
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <A HREF="about_obec.php" TARGET=_top><B>Об 'OBEC.PACTET'</B></A>
        </td>
    </tr>
    <tr>
        <td BGCOLOR = "#CCCCCC">
            <A HREF="about.php" TARGET=_top><B>О нас</B></A>
        </td>
    </tr>
    <tr><td><a href="http://www.crocodile.org/"><img src="http://www.crocodile.org/noir.png"></a></td></tr>
</TABLE>
</CENTER>
