Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 26 | Revision 39 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
        <head>
                <title>{$title} - {$title2}</title>
                <link href="./images/favicon.ico" rel="shortcut icon" type="image/x-icon">
                <link rel="stylesheet" href="./styles/Standard.css" type="text/css">
                <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                {literal}
                        <script type="text/javascript" src="png.js"></script>
                        <script language="Javascript" type="text/javascript">
                        function check_games_form()
                        {
                                var g_name;
                                var g_m1;
                                var g_m2;
                                var g_g1;
                                var g_g2;
                                var g_location;
                                var g_day;
                                var g_month;
                                var g_hour;
                                var g_type;
                                g_name=document.games.g_name.value;
                                g_m1=document.games.g_m1.value;
                                g_m2=document.games.g_m2.value;
                                g_g1=document.games.g_g1.value;
                                g_g2=document.games.g_g2.value;
                                g_location=document.games.g_location.value;
                                g_day=document.games.Day.value;
                                g_month=document.games.Month.value;
                                g_hour=document.games.Hour.value;
                                g_typ=document.games.g_typ.value;
                                if (g_name=="")
                                {
                                        window.alert("Bitte dem Spiel einen Namen geben!");
                                        document.games.g_name.focus();
                                        return false;
                                }
                                if (g_m1==-1 || g_m2==-1)
                                {
                                        window.alert("Bitte eine Mannschaft auswählen!");
                                        return false;
                                }
                                if (g_location==-1)
                                {
                                        window.alert("Bitte einen Austragungsort auswählen!");
                                        return false;
                                }
                                if (g_typ==-1)
                                {
                                        window.alert("Bitte einen Spieltyp auswählen!");
                                        return false;
                                }
                        }
                </script>{/literal}
        </head>
        <body>
                angemeldet als: {$u_name|default:"<i>[nicht angemeldet]</i>"}
                <br>
                Version: {$version}
                <div align="right">Datum: {$smarty.now|date_format:"%d.%m.%Y"}</div>
                <div align="right">Zeit: {$smarty.now|date_format:"%H:%M"} Uhr</div>
                <h1>{if !$h1}{$title}{else}{$h1}{/if} - <img src="{$logo}" width="64">{$title2}</h1>
                <table>
        <tr>
                <th colspan="5">Aktionen</th>
        </tr>
        <tr align="center">
                <td>
                        <form action="index.php" method="post">
                                <input type="submit" class="liteoption" name="change" value="Liste der Spiele">
                        </form>
                </td>
                <td>
                        <form action="liste_teams.php" method="post">
                                <input type="submit" class="liteoption" name="change" value="Liste der Mannschaften">
                        </form>
                </td>
                <td>
                        <form action="liste_orte.php" method="post">
                                <input type="submit" class="liteoption" name="change" value="Liste der Austragungsorte">
                        </form>
                </td>
                <td>
                        <form action="liste_groups.php" method="post">
                                <input type="submit" class="liteoption" name="change" value="Liste der Gruppen">
                        </form>
                </td>
                <td>
                        <form action="liste_types.php" method="post">
                                <input type="submit" class="liteoption" name="change" value="Liste der Spieltypen">
                        </form>
                </td>
        </tr>
        <tr align="center">
                <td>
                        <form action="table.php" method="post">
                                <input type="submit" class="liteoption" name="table" value="Vorrundentablle">
                        </form>
                </td>
                <td>
                        {if $u_name!=""}
                        <form action="logout.php" method="post">
                                <input type="submit" class="liteoption" name="logout" value="Ausloggen">
                        </form>
                        {else}
                        <form action="login.php" method="post">
                                <input type="submit" class="liteoption" name="login" value="Einloggen">
                        </form>
                        {/if}
                </td>
                <td>
                        {if $u_name!=""}
                        <form action="edit_user.php" method="post">
                                <input type="submit" class="liteoption" name="profile" value="Profil">
                        </form>
                        {/if}
                </td>
                <td>
                        {if $u_name==""}
                        <form action="register.php" method="post">
                                <input type="submit" class="liteoption" name="register" value="Registrieren" disabled=disabled>
                        </form>
                        {else}
                                {if $u_type==1}
                                        <form action="table_gen.php" method="post">
                                                <input type="submit" name="gen" value="Gruppentabellen berechnen" class="liteoption">
                                        </form>
                                {/if}
                        {/if}
                </td>
                <td>
                        {if $u_name==""}
                        <form action="lost.php" method="post">
                                <input type="submit" class="liteoption" name="lost" value="Paßwort vergessen" disabled=disabled>
                        </form>
                        {/if}
                </td>
        </tr>
</table>
<br>