Beispiel #1
0
            <table class="table table-striped">
                <thead>
                  <tr>
                    <th>ID</th>
                    <th><?php 
    echo $lang['CATEGORY'];
    ?>
</th>
                    <th></th><th></th>
                  </tr>
                </thead>
                <tbody id="llistatcat">
                    <?php 
    include_once '../classes/categories.php';
    $categoria = new categories();
    $categoria->llistar();
    ?>
                    <tr>
                        <td></td>
                        <td><input type="text" class="form-control" name="categoria" id="categoria" placeholder="<?php 
    echo $lang['NEW_CATEGORY'];
    ?>
"></td>
                        <td><button type="button" class="btn btn-success btn-xs" onclick="insertcat();"><span class="glyphicon glyphicon-plus"></span> <?php 
    echo $lang['INSERT'];
    ?>
</button></td>
                        <td></td>
                    </tr>
                </tbody>
            </table>