" <?php if (!empty($_POST['categories']) && $key == $_POST['categories']) { echo 'selected'; } ?> ><?php echo $value; ?> </option> <?php } ?> </select> </div> <h1>Details</h1> <div> <?php include SITEDIR . '/modules/common/formelements.php'; ?> </div> <?php include SITEDIR . '/modules/common/images.php'; ?> </div> <input type="hidden" name="MM_Insert" id="MM_Insert" value="form1" /> <?php ft_nonce_create_form_input($nonce_key . $_SESSION['_nonce'], $_SESSION['user']['id']); ?> </form> <?php include SITEDIR . '/modules/common/formsubmission.php';
} } ?> <h3>Form Examples</h3> <form action="" method="post" > <input type='submit' name='button_one' value="Button One" /> <input type='hidden' name='form_submitted' value='1' /> <?php ft_nonce_create_form_input('button-one'); ?> </form> <br /> <form action="" method="post" > <input type='submit' name='button_two' value="Button Two" /> <input type='hidden' name='form_submitted' value='1' /> <?php ft_nonce_create_form_input('button-two'); ?> </form> <h3>Link Examples</h3> <a href="index.php?<?php echo ft_nonce_create_query_string('link-one'); ?> ">Link One</a><br /> <a href="index.php?<?php echo ft_nonce_create_query_string('link-two'); ?> ">Link Two</a><br /> </body> </html>