Example #1
0
    ?>

    <form method="POST">
        <input type="hidden" name="secure_input" value="<?php 
    echo $_SESSION['secure_token_last'];
    ?>
" />
        <table>
            <tr>
                <td>Forum name</td>
                <td><input type="text" name="name" size="40"></td>
            </tr>
            <tr>
                <td>Category</td>
                <td><select name="category"><?php 
    echo getForumCategory();
    ?>
</select></td>
            </tr>
            <tr>
                <td>Group</td>
                <td><select name="group"><?php 
    echo getGroups();
    ?>
</select></td>
            </tr>
            <tr>
                <td valign="top">Description</td>
                <td><textarea name="description" rows="5" cols="31"></textarea></td>
            </tr>
            <tr>
Example #2
0
        <input type="hidden" name="secure_input" value="<?php 
    echo $_SESSION['secure_token_last'];
    ?>
" />
        <table>
            <tr>
                <td>Forum name</td>
                <td><input type="text" name="name" value="<?php 
    echo $db->name;
    ?>
" size="40"></td>
            </tr>
            <tr>
                <td>Category</td>
                <td><select name="category"><?php 
    echo getForumCategory($db->category);
    ?>
</select></td>
            </tr>
            <tr>
                <td>Group</td>
                <td><select name="group"><?php 
    echo getGroups($db->group);
    ?>
</select></td>
            </tr>
            <tr>
                <td valign="top">Description</td>
                <td><textarea name="description" rows="5" cols="31"><?php 
    echo $db->description;
    ?>