Example #1
0
        <form action="rollDice.php" method="post">
        <table>
            <tr>
                <td>Number of Dices:</td>
                <td><input name="numberOfDices" placeholder="Default is 1"/></td>
            </tr>
            </table>
            <table>
            <tr>
            <td><label><input type="radio" name="dice" value="d4"/><img src="img/d4.png" alt="d4"/></label></td>
            <td><label><input type="radio" name="dice" value="d6"/><img src="img/d6.png" alt="d6"/></label></td>
            <td><label><input type="radio" name="dice" value="d8"/><img src="img/d8.png" alt="d8"/></label></td>
            </tr>
            <tr>
            <td/>
            <td><label><input type="radio" name="dice" value="d10"/><img src="img/d10.png" alt="d10"/></label></td>
            <td/>
            </tr>
            <tr>
            <td><label><input type="radio" name="dice" value="d12"/><img src="img/d12.png" alt="d12"/></label></td>
            <td><label><input type="radio" name="dice" value="d20"/><img src="img/d20.png" alt="d20"/></label></td>
            <td><label><input type="radio" name="dice" value="d100"/><img src="img/d100.png" alt="d100"/></label></td>
</tr>
        </table>
            <p><input type="submit" value="roll"/>
                <input type="reset" value="reset"/></p>
        </form>');
$template->closeContent();
$template->follow("follow.tpl");
$template->footer("footer.tpl");