Example #1
0
        </ul>
        </nav>

        <div id="todo">
            <table id="openToDos">
                <thead>
                <tr>
                    <td>Aufgabe</td>
                    <td>Was ist zu tun?</td>
                    <td>Fälligkeit</td>
                </tr>
                </thead>
                <tbody>

                <?php 
    getToDoTable($dbmysql, $_SESSION['eventid']);
    ?>
                </tbody>
            </table>
        </div>
        <div id="todoForm">
            <form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
" id="createToDo" name="createToDo" method="post">
                <div class="leftcol">
                    <input type="text" id="todo" name="f_todo" size="35" maxlength="50"  required placeholder="">
                    <label for="startdatum">Was ist zu tun</label>
                </div>
                <div class="rightcol">
                    <input type="text" id="todo" name="f_faelligkeit" size="10" maxlength="10" required pattern="^(31|30|0[1-9]|[12][0-9]|[1-9])\.(0[1-9]|1[012]|[1-9])\.((18|19|20)\d{2})$">
Example #2
0
    echo $_SERVER['PHP_SELF'];
    ?>
">
            <table id="openToDos">
                <thead>
                    <tr>
                        <td>Aufgabe</td>
                        <td>Was ist zu tun?</td>
                        <td>Fälligkeit</td>
                        <td>Übernehmen</td>
                    </tr>
                </thead>
                <tbody>

                    <?php 
    getToDoTable($dbmysql, $_SESSION['fullEvent']);
    ?>
                </tbody>
            </table>
        <input type='submit' name='helping' value='Eintragen'>
        </form>
    </div>
    <?php 
}
?>
    </main>



<?php 
include "templates/footer.html";