ticket_create.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <div align='center'>
  2. <table width='100%' border='0' cellpadding='0' cellspacing='2'>
  3. <tr class='border'>
  4. <td align="left">
  5. <br>
  6. <form method='post' name='ifrm' action=''>
  7. <div align='center'>
  8. <table width='100%' border='0' cellpadding='6' cellspacing='0'>
  9. <tr>
  10. <td colspan='2'>
  11. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  12. <tr>
  13. <td align='left' width="50%">
  14. <strong>Create a new Ticket</strong><br>
  15. </td> <td width='50%' align='right'>
  16. <input type='submit' name='submit' class='btn' value='Save'>
  17. <input type='button' class='btn' name='' alt='back' onclick="window.location='v_xmpp.php'" value='Back'>
  18. </td>
  19. </tr>
  20. </table>
  21. <br />
  22. </td>
  23. </tr>
  24. <tr>
  25. <td width="30%" class='vncellreq' valign='top' align='left' nowrap='nowrap'>
  26. Subject:
  27. </td>
  28. <td width="70%" class='vtable' align='left'>
  29. <input class='formfld' type='text' name='subject' maxlength='255' value="<?php echo $profile['subject']; ?>">
  30. <br />
  31. 1 line Description of problem
  32. </td>
  33. </tr>
  34. <tr>
  35. <td width="30%" class='vncellreq' valign='top' align='left' nowrap='nowrap'>
  36. Department:
  37. </td>
  38. <td width="70%" class='vtable' align='left'>
  39. <select name="queue_id">
  40. <?php foreach($queues as $queue) {
  41. echo "<option value='" . $queue['queue_id'] . "'>". $queue['queue_name'] . "</option>\n";
  42. } ?>
  43. </select>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td class='vncellreq' valign='top' align='left' nowrap='nowrap'>
  48. Detailed Description:
  49. </td>
  50. <td class='vtable' align='left'>
  51. <textarea rows='15' cols='80' class='formfld' type='text' name='problem_description'><?php echo $profile['problem_description'];?></textarea>
  52. <br />
  53. Enter the a Detailed Description of the problem here.<br/>
  54. Please include any addition contact information as may be required for us to work this ticket.
  55. </td>
  56. </tr>
  57. <tr>
  58. <td colspan='2' align='right'>
  59. <input type='hidden' name='profile_id' value='<?php echo $profile['xmpp_profile_uuid']; ?>'>
  60. <input type='submit' name='submit' class='btn' value='Save'>
  61. </td>
  62. </tr></table></form> </td> </tr></table></div>