Subversion-Projekte lars-tiefland.em_wm

Revision

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

{include file=header.tpl}
<br>
{$nav}
<br>
<table>
        <tr>
                <th>Aufgaben</th>
        </tr>
        <tr>
                <td>
                        <form action="edit_games.php" method="post">
                                <input type="submit" value="neues Spiel eingeben" class="liteoption">
                                <input type="hidden" name="mode" value="new">
                                <input type="hidden" name="id" value="0">
                        </form>
                </td>
        </tr>
</table>
<br>
<br>
<table>
        <tr>
                <th>Spielname</th>
                <th>Mannschaften</th>
                <th>Austragungsort</th>
                <th>Datum und Uhrzeit</th>
                <th>Ergebnis</th>
                <th>Aktionen</th>
        </tr>
        {section name=outer loop=$spiele}
        <tr>
                <td>{$spiele[outer].s_name}</td>
                <td>{$spiele[outer].s_teams}</td>
                <td>{$spiele[outer].s_location}</td>
                <td>{$spiele[outer].s_date} {$spiele[outer].s_time}</td>
                <td>{$spiele[outer].s_erg}</td>
                <td width="140">
                        {if $u_name}
                        <form action="edit_games.php" method="post">
                                <input type="hidden" name="mode" value="edit">
                                <input type="hidden" name="id" value="{$spiele[outer].link_id}">
                                <input type="submit" value="ändern" class="liteoption">
                        </form>
                        {if $u_type==1}
                        <form action="edit_games.php" method="post">
                                <input type="hidden" name="mode" value="ask">
                                <input type="hidden" name="id" value="{$spiele[outer].link_id}">
                                <input type="submit" value="löschen" class="liteoption">
                        </form>
                        {/if}
                        {/if}
                </td>
        </tr>
        {sectionelse}
        <tr>
                <td colspan="4"><div class="error">Keine Daten vorhanden!</div></td>
        </tr>
        {/section}
</table>
<br>
{$nav}
{include file=footer.tpl}