Unsupported scripts and control panel web app for a hosting company
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

editcategory.php 770B

123456789101112131415161718192021
  1. <div class="block">
  2. <h2>Edit Category</h2>
  3. <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
  4. <table class="innerblock righthead">
  5. <tr><th>Name</th><td><input type="text" name="name" value="<?php echo $data['icat_name']; ?>" size="50" /></td></tr>
  6. <tr><th>Auto-Assignee</th><td>
  7. <select name="assignee">
  8. <option value="0">(None)</option>
  9. <?php
  10. foreach($admins as $id => $username) {
  11. echo '<option value="'.$id.'"'.(($data['icat_assign'] == $id) ? ' selected="true"' : '').'>'.$username.'</option>'."\r\n";
  12. }
  13. ?>
  14. </select>
  15. </td></tr>
  16. <tr><th>Actions</th><td>
  17. <input type="submit" name="submit" value="Submit" />&nbsp;<input type="reset" value="Reset" />
  18. </td></tr>
  19. </table>
  20. </form>
  21. </div>