Bootswatch, Summernote, and Captcheck mods for Mods for HESK (mods-for-hesk.com). In use at support.netsyms.com.
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.

show_search_form.inc.php 34KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. <?php
  2. /**
  3. *
  4. * This file is part of HESK - PHP Help Desk Software.
  5. *
  6. * (c) Copyright Klemen Stirn. All rights reserved.
  7. * https://www.hesk.com
  8. *
  9. * For the full copyright and license agreement information visit
  10. * https://www.hesk.com/eula.php
  11. *
  12. */
  13. /* Check if this is a valid include */
  14. if (!defined('IN_SCRIPT')) {
  15. die('Invalid attempt');
  16. }
  17. if (!isset($status)) {
  18. $status = array();
  19. $allStatuses = mfh_getAllStatuses();
  20. //-- We don't want to check statuses that are considered "closed"
  21. foreach ($allStatuses as $row) {
  22. if ($row['IsClosed'] == 1) {
  23. continue;
  24. }
  25. $status[$row['ID']] = mfh_getDisplayTextForStatusId($row['ID']);
  26. }
  27. }
  28. if (!isset($priority)) {
  29. $priority = array(
  30. 0 => 'CRITICAL',
  31. 1 => 'HIGH',
  32. 2 => 'MEDIUM',
  33. 3 => 'LOW',
  34. );
  35. }
  36. if (!isset($what)) {
  37. $what = 'trackid';
  38. }
  39. if (!isset($owner_input)) {
  40. $owner_input = 0;
  41. }
  42. if (!isset($date_input)) {
  43. $date_input = '';
  44. }
  45. /* Can view tickets that are unassigned or assigned to others? */
  46. $can_view_ass_others = hesk_checkPermission('can_view_ass_others', 0);
  47. $can_view_unassigned = hesk_checkPermission('can_view_unassigned', 0);
  48. /* Category options */
  49. $category_options = '';
  50. if (isset($hesk_settings['categories']) && count($hesk_settings['categories'])) {
  51. foreach ($hesk_settings['categories'] as $row['id'] => $row['name']) {
  52. $row['name'] = (strlen($row['name']) > 30) ? substr($row['name'], 0, 30) . '...' : $row['name'];
  53. $selected = ($row['id'] == $category) ? 'selected="selected"' : '';
  54. $category_options .= '<option value="' . $row['id'] . '" ' . $selected . '>' . $row['name'] . '</option>';
  55. }
  56. } else {
  57. $res2 = hesk_dbQuery('SELECT `id`, `name` FROM `' . hesk_dbEscape($hesk_settings['db_pfix']) . 'categories` WHERE ' . hesk_myCategories('id') . ' ORDER BY `cat_order` ASC');
  58. while ($row = hesk_dbFetchAssoc($res2)) {
  59. $row['name'] = (strlen($row['name']) > 30) ? substr($row['name'], 0, 30) . '...' : $row['name'];
  60. $selected = ($row['id'] == $category) ? 'selected="selected"' : '';
  61. $category_options .= '<option value="' . $row['id'] . '" ' . $selected . '>' . $row['name'] . '</option>';
  62. }
  63. }
  64. /* List of staff */
  65. if ($can_view_ass_others && !isset($admins)) {
  66. $admins = array();
  67. $res2 = hesk_dbQuery("SELECT `id`,`name` FROM `" . hesk_dbEscape($hesk_settings['db_pfix']) . "users` ORDER BY `name` ASC");
  68. while ($row = hesk_dbFetchAssoc($res2)) {
  69. $admins[$row['id']] = $row['name'];
  70. }
  71. }
  72. $more = empty($_GET['more']) ? 0 : 1;
  73. $more2 = empty($_GET['more2']) ? 0 : 1;
  74. #echo "SQL: $sql";
  75. ?>
  76. <!-- ** START SHOW TICKET FORM ** -->
  77. <div class="panel panel-default">
  78. <div class="panel-heading">
  79. <h4><?php echo $hesklang['show_tickets']; ?></h4>
  80. </div>
  81. <div class="panel-body">
  82. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  83. <tr>
  84. <td valign="top">
  85. <form name="showt" action="show_tickets.php" method="get">
  86. <table class="table" style="border-top: 0 !important" border="0" cellpadding="3" cellspacing="0"
  87. width="100%">
  88. <tr>
  89. <td style="border-top: 0px" width="20%" class="alignTop">
  90. <b><?php echo $hesklang['status']; ?></b>: &nbsp; </td>
  91. <td style="border-top: 0px" width="80%">
  92. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  93. <tr>
  94. <?php
  95. $rowCounter = 1;
  96. $statuses = mfh_getAllStatuses();
  97. foreach ($statuses as $row) {
  98. if ($rowCounter > 3) {
  99. echo '</tr><tr>';
  100. $rowCounter = 1;
  101. }
  102. echo '<td width=';
  103. if ($rowCounter != 3) {
  104. echo '"33%"';
  105. } else {
  106. echo '"34%"';
  107. }
  108. echo '<label><input type="checkbox" name="s' . $row['ID'] . '" value="1"';
  109. if (isset($status[$row['ID']])) {
  110. echo 'checked="checked"';
  111. }
  112. echo '/> <span style="font-weight: bold;color: ' . $row['TextColor'] . ';">' . mfh_getDisplayTextForStatusId($row['ID']) . '</span></label></td>';
  113. $rowCounter++;
  114. }
  115. ?>
  116. </tr>
  117. </table>
  118. </td>
  119. </tr>
  120. </table>
  121. <div id="topSubmit" style="display:<?php echo $more ? 'none' : 'block'; ?>">
  122. <div class="btn-group">
  123. <input class="btn btn-default" type="submit"
  124. value="<?php echo $hesklang['show_tickets']; ?>"/>
  125. <a class="btn btn-default" href="javascript:void(0)"
  126. onclick="Javascript:hesk_toggleLayerDisplay('divShow');Javascript:hesk_toggleLayerDisplay('topSubmit');document.showt.more.value='1';"><?php echo $hesklang['mopt']; ?></a>
  127. </div>
  128. </div>
  129. <div id="divShow" style="display:<?php echo $more ? 'block' : 'none'; ?>">
  130. <table class="table table-striped" border="0" cellpadding="3" cellspacing="0" width="100%">
  131. <tr>
  132. <td width="20%" class="borderTop alignTop">
  133. <b><?php echo $hesklang['priority']; ?></b>: &nbsp; </td>
  134. <td width="80%" class="borderTop alignTop">
  135. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  136. <tr>
  137. <td width="33%"><label><input type="checkbox" name="p0"
  138. value="1" <?php if (isset($priority[0])) {
  139. echo 'checked="checked"';
  140. } ?> /> <span
  141. class="critical"><?php echo $hesklang['critical']; ?></span></label>
  142. </td>
  143. <td width="33%"><label><input type="checkbox" name="p2"
  144. value="1" <?php if (isset($priority[2])) {
  145. echo 'checked="checked"';
  146. } ?> /> <span
  147. class="medium"><?php echo $hesklang['medium']; ?></span></label>
  148. </td>
  149. <td width="34%">&nbsp;</td>
  150. </tr>
  151. <tr>
  152. <td width="33%"><label><input type="checkbox" name="p1"
  153. value="1" <?php if (isset($priority[1])) {
  154. echo 'checked="checked"';
  155. } ?> /> <span
  156. class="important"><?php echo $hesklang['high']; ?></span></label>
  157. </td>
  158. <td width="33%"><label><input type="checkbox" name="p3"
  159. value="1" <?php if (isset($priority[3])) {
  160. echo 'checked="checked"';
  161. } ?> /> <span
  162. class="normal"><?php echo $hesklang['low']; ?></span></label>
  163. </td>
  164. <td width="34%">&nbsp;</td>
  165. </tr>
  166. </table>
  167. </td>
  168. </tr>
  169. <tr>
  170. <td class="borderTop alignTop"><b><?php echo $hesklang['show']; ?></b>: &nbsp; </td>
  171. <td class="borderTop">
  172. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  173. <tr>
  174. <td width="33%" class="alignTop">
  175. <label><input type="checkbox" name="s_my"
  176. value="1" <?php if ($s_my[1]) echo 'checked="checked"'; ?> /> <?php echo $hesklang['s_my']; ?>
  177. </label>
  178. <?php
  179. if ($can_view_unassigned) {
  180. ?>
  181. <br/>
  182. <label><input type="checkbox" name="s_un"
  183. value="1" <?php if ($s_un[1]) echo 'checked="checked"'; ?> /> <?php echo $hesklang['s_un']; ?>
  184. </label>
  185. <?php
  186. }
  187. ?>
  188. </td>
  189. <td width="33%" class="alignTop">
  190. <?php
  191. if ($can_view_ass_others) {
  192. ?>
  193. <label><input type="checkbox" name="s_ot"
  194. value="1" <?php if ($s_ot[1]) echo 'checked="checked"'; ?> /> <?php echo $hesklang['s_ot']; ?>
  195. </label>
  196. <br/>
  197. <?php
  198. }
  199. ?>
  200. <label><input type="checkbox" name="archive"
  201. value="1" <?php if ($archive[1]) echo 'checked="checked"'; ?> /> <?php echo $hesklang['disp_only_archived']; ?>
  202. </label></td>
  203. <td width="34%">&nbsp;</td>
  204. </tr>
  205. </table>
  206. </td>
  207. </tr>
  208. <tr>
  209. <td class="borderTop alignTop"><b><?php echo $hesklang['sort_by']; ?></b>: &nbsp;
  210. </td>
  211. <td class="borderTop">
  212. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  213. <?php
  214. array_unshift($hesk_settings['ticket_list'], 'priority');
  215. $hesk_settings['possible_ticket_list']['priority'] = $hesklang['priority'];
  216. $column = 1;
  217. foreach ($hesk_settings['ticket_list'] as $key) {
  218. if ($column == 1) {
  219. echo '<tr><td width="34%">';
  220. } else {
  221. echo '<td width="33%">';
  222. }
  223. echo '<label><input type="radio" name="sort" value="' . $key . '" ' . ($sort == $key ? 'checked="checked"' : '') . ' /> ' . $hesk_settings['possible_ticket_list'][$key] . '</label></td>';
  224. if ($column == 3) {
  225. echo '</tr>';
  226. $column = 1;
  227. } else {
  228. $column++;
  229. }
  230. }
  231. // End table if needed
  232. if ($column == 3) {
  233. echo '<td width="33%">&nbsp;</td></tr>';
  234. } elseif ($column == 2) {
  235. echo '<td width="33%">&nbsp;</td><td width="33%">&nbsp;</td></tr>';
  236. }
  237. ?>
  238. </table>
  239. </td>
  240. </tr>
  241. <tr>
  242. <td class="alignTop"><b><?php echo $hesklang['gb']; ?></b>: &nbsp; </td>
  243. <td>
  244. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  245. <tr>
  246. <td width="33%"><label><input type="radio" name="g"
  247. value="" <?php if (!$group) {
  248. echo 'checked="checked"';
  249. } ?> /> <?php echo $hesklang['dg']; ?></label></td>
  250. <td width="33%"><?php
  251. if ($can_view_unassigned || $can_view_ass_others) {
  252. ?>
  253. <label><input type="radio" name="g"
  254. value="owner" <?php if ($group == 'owner') {
  255. echo 'checked="checked"';
  256. } ?> /> <?php echo $hesklang['owner']; ?></label>
  257. <?php
  258. } else {
  259. echo '&nbsp;';
  260. }
  261. ?>
  262. </td>
  263. <td width="34%">&nbsp;</td>
  264. </tr>
  265. <tr>
  266. <td width="33%"><label><input type="radio" name="g"
  267. value="category" <?php if ($group == 'category') {
  268. echo 'checked="checked"';
  269. } ?> /> <?php echo $hesklang['category']; ?></label></td>
  270. <td width="33%"><label><input type="radio" name="g"
  271. value="priority" <?php if ($group == 'priority') {
  272. echo 'checked="checked"';
  273. } ?> /> <?php echo $hesklang['priority']; ?></label></td>
  274. <td width="34%">&nbsp;</td>
  275. </tr>
  276. </table>
  277. </td>
  278. </tr>
  279. <tr>
  280. <td class="alignMiddle"><b><?php echo $hesklang['category']; ?></b>: &nbsp; </td>
  281. <td class="alignMiddle">
  282. <div class="col-md-4" style="padding-left: 0px"><select class="form-control"
  283. name="category">
  284. <option value="0"><?php echo $hesklang['any_cat']; ?></option>
  285. <?php echo $category_options; ?>
  286. </select></div>
  287. </td>
  288. </tr>
  289. <tr>
  290. <td><b><?php echo $hesklang['display']; ?></b>: &nbsp; </td>
  291. <td>
  292. <div class="col-md-2" style="padding-left: 0px; padding-right:0px"><input
  293. type="text" class="form-control" name="limit"
  294. value="<?php echo $maxresults; ?>" size="4"/></div>
  295. <div class="col-md-3"
  296. style="line-height: 40px"><?php echo $hesklang['tickets_page']; ?></div>
  297. </td>
  298. </tr>
  299. <tr>
  300. <td class="alignMiddle"><b><?php echo $hesklang['order']; ?></b>: &nbsp; </td>
  301. <td class="alignMiddle">
  302. <label><input type="radio" name="asc" value="1" <?php if ($asc) {
  303. echo 'checked="checked"';
  304. } ?> /> <?php echo $hesklang['ascending']; ?></label>
  305. |
  306. <label><input type="radio" name="asc" value="0" <?php if (!$asc) {
  307. echo 'checked="checked"';
  308. } ?> /> <?php echo $hesklang['descending']; ?></label></td>
  309. </tr>
  310. <tr>
  311. <td class="alignTop"><b><?php echo $hesklang['opt']; ?></b>: &nbsp; </td>
  312. <td>
  313. <label><input type="checkbox" name="cot" value="1" <?php if ($cot) {
  314. echo 'checked="checked"';
  315. } ?> /> <?php echo $hesklang['cot']; ?></label><br/>
  316. <label><input type="checkbox" name="def"
  317. value="1"/> <?php echo $hesklang['def']; ?></label> (<a
  318. href="admin_main.php?reset=1&amp;token=<?php echo hesk_token_echo(0); ?>"><?php echo $hesklang['redv']; ?></a>)
  319. </td>
  320. </table>
  321. <div class="btn-group">
  322. <input class="btn btn-default" type="submit"
  323. value="<?php echo $hesklang['show_tickets']; ?>"/>
  324. <a class="btn btn-default" href="javascript:void(0)"
  325. onclick="Javascript:hesk_toggleLayerDisplay('divShow');Javascript:hesk_toggleLayerDisplay('topSubmit');document.showt.more.value='0';"><?php echo $hesklang['lopt']; ?></a>
  326. </div>
  327. <input type="hidden" name="more" value="<?php echo $more ? 1 : 0; ?>"/>
  328. </div>
  329. </form>
  330. </td>
  331. </tr>
  332. </table>
  333. </div>
  334. </div>
  335. <!-- ** END SHOW TICKET FORM ** -->
  336. <div class="blankSpace"></div>
  337. <!-- ** START SEARCH TICKETS FORM ** -->
  338. <div class="panel panel-default">
  339. <div class="panel-heading">
  340. <h4><?php echo $hesklang['find_ticket_by']; ?></h4>
  341. </div>
  342. <div class="panel-body">
  343. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  344. <tr>
  345. <td valign="top">
  346. <form data-toggle="validator" class="form-inline" action="find_tickets.php" method="get" name="findby" id="findby">
  347. <table class="table" style="width: auto" border="0" cellpadding="3" cellspacing="0">
  348. <tr style="border: none">
  349. <td class="text-left" style="border: none">
  350. <b style="color: #000"><?php echo $hesklang['s_for']; ?></b><br/>
  351. <div class="form-group">
  352. <input class="form-control" type="text" name="q" size="30" <?php if (isset($q)) {
  353. echo 'value="' . $q . '"';
  354. } ?>>
  355. </div>
  356. </td>
  357. <td class="text-left" style="border: none">
  358. <b style="color: #000"><?php echo $hesklang['s_in']; ?></b><br/>
  359. <select class="form-control" name="what">
  360. <option style="background: #ffffff"
  361. value="trackid" <?php if ($what == 'trackid') {
  362. echo 'selected="selected"';
  363. } ?> ><?php echo $hesklang['trackID']; ?></option>
  364. <?php
  365. if ($hesk_settings['sequential']) {
  366. ?>
  367. <option style="background: #ffffff"
  368. value="seqid" <?php if ($what == 'seqid') {
  369. echo 'selected="selected"';
  370. } ?> ><?php echo $hesklang['seqid']; ?></option>
  371. <?php
  372. }
  373. ?>
  374. <option style="background: #ffffff" value="name" <?php if ($what == 'name') {
  375. echo 'selected="selected"';
  376. } ?> ><?php echo $hesklang['name']; ?></option>
  377. <option style="background: #ffffff" value="email" <?php if ($what == 'email') {
  378. echo 'selected="selected"';
  379. } ?> ><?php echo $hesklang['email']; ?></option>
  380. <option style="background: #ffffff"
  381. value="subject" <?php if ($what == 'subject') {
  382. echo 'selected="selected"';
  383. } ?> ><?php echo $hesklang['subject']; ?></option>
  384. <option style="background: #ffffff"
  385. value="message" <?php if ($what == 'message') {
  386. echo 'selected="selected"';
  387. } ?> ><?php echo $hesklang['message']; ?></option>
  388. <?php
  389. foreach ($hesk_settings['custom_fields'] as $k => $v) {
  390. $selected = ($what == $k) ? 'selected="selected"' : '';
  391. if ($v['use']) {
  392. if ($modsForHesk_settings['custom_field_setting']) {
  393. $v['name'] = $hesklang[$v['name']];
  394. }
  395. $v['name'] = (strlen($v['name']) > 30) ? substr($v['name'], 0, 30) . '...' : $v['name'];
  396. echo '<option style="background: #ffffff" value="' . $k . '" ' . $selected . '>' . $v['name'] . '</option>';
  397. }
  398. }
  399. ?>
  400. <option style="background: #ffffff" value="notes" <?php if ($what == 'notes') {
  401. echo 'selected="selected"';
  402. } ?> ><?php echo $hesklang['notes']; ?></option>
  403. </select>
  404. </td>
  405. </tr>
  406. </table>
  407. <div id="topSubmit2" style="display:<?php echo $more2 ? 'none' : 'block'; ?>">
  408. <div class="btn-group">
  409. <input class="btn btn-default" type="submit"
  410. value="<?php echo $hesklang['find_ticket']; ?>"/>
  411. <a class="btn btn-default" href="javascript:void(0)"
  412. onclick="Javascript:hesk_toggleLayerDisplay('divShow2');Javascript:hesk_toggleLayerDisplay('topSubmit2');document.findby.more2.value='1';"><?php echo $hesklang['mopt']; ?></a>
  413. </div>
  414. </div>
  415. <div id="divShow2" style="display:<?php echo $more2 ? 'block' : 'none'; ?>">
  416. &nbsp;<br/>
  417. <table class="table table-striped" border="0" cellpadding="3" cellspacing="0" width="100%">
  418. <tr>
  419. <td class="alignMiddle" width="20%"><b><?php echo $hesklang['category']; ?></b>:
  420. &nbsp; </td>
  421. <td class="alignMiddle" width="80%">
  422. <select class="form-control" name="category">
  423. <option value="0"><?php echo $hesklang['any_cat']; ?></option>
  424. <?php echo $category_options; ?>
  425. </select>
  426. </td>
  427. </tr>
  428. <?php
  429. if ($can_view_ass_others) {
  430. ?>
  431. <tr>
  432. <td class="alignMiddle"><b><?php echo $hesklang['owner']; ?></b>: &nbsp; </td>
  433. <td class="alignMiddle">
  434. <select class="form-control" name="owner">
  435. <option value="0"><?php echo $hesklang['anyown']; ?></option>
  436. <?php
  437. foreach ($admins as $staff_id => $staff_name) {
  438. echo '<option value="' . $staff_id . '" ' . ($owner_input == $staff_id ? 'selected="selected"' : '') . '>' . $staff_name . '</option>';
  439. }
  440. ?>
  441. </select>
  442. </td>
  443. </tr>
  444. <?php
  445. }
  446. ?>
  447. <tr>
  448. <td class="alignMiddle"><b><?php echo $hesklang['date']; ?></b>: &nbsp; </td>
  449. <td class="alignMiddle">
  450. <div class="col-md-3" style="padding-left: 0px"><input class="form-control datepicker"
  451. type="text" name="dt"
  452. id="dt"
  453. size="10" <?php if ($date_input) {
  454. echo 'value="' . $date_input . '"';
  455. } ?> /></div>
  456. </td>
  457. </tr>
  458. <tr>
  459. <td class="alignTop"><b><?php echo $hesklang['s_incl']; ?></b>: &nbsp; </td>
  460. <td>
  461. <label><input type="checkbox" name="s_my"
  462. value="1" <?php if ($s_my[2]) echo 'checked="checked"'; ?> /> <?php echo $hesklang['s_my']; ?>
  463. </label>
  464. <?php
  465. if ($can_view_ass_others) {
  466. ?>
  467. <br/>
  468. <label><input type="checkbox" name="s_ot"
  469. value="1" <?php if ($s_ot[2]) echo 'checked="checked"'; ?> /> <?php echo $hesklang['s_ot']; ?>
  470. </label>
  471. <?php
  472. }
  473. if ($can_view_unassigned) {
  474. ?>
  475. <br/>
  476. <label><input type="checkbox" name="s_un"
  477. value="1" <?php if ($s_un[2]) echo 'checked="checked"'; ?> /> <?php echo $hesklang['s_un']; ?>
  478. </label>
  479. <?php
  480. }
  481. ?>
  482. <br/>
  483. <label><input type="checkbox" name="archive"
  484. value="1" <?php if ($archive[2]) echo 'checked="checked"'; ?> /> <?php echo $hesklang['disp_only_archived']; ?>
  485. </label>
  486. </td>
  487. </tr>
  488. <tr>
  489. <td><b><?php echo $hesklang['display']; ?></b>: &nbsp; </td>
  490. <td>
  491. <div class="col-md-2 text-right" style="padding-left: 0px; padding-right: 0px;">
  492. <input class="form-control" type="text" name="limit"
  493. value="<?php echo $maxresults; ?>" size="4"/></div>
  494. <div class="col-md-10"
  495. style="line-height: 40px"><?php echo $hesklang['results_page']; ?></div>
  496. </td>
  497. </tr>
  498. </table>
  499. <div class="btn-group">
  500. <input class="btn btn-default" type="submit"
  501. value="<?php echo $hesklang['find_ticket']; ?>"/>
  502. <a class="btn btn-default" href="javascript:void(0)"
  503. onclick="Javascript:hesk_toggleLayerDisplay('divShow2');Javascript:hesk_toggleLayerDisplay('topSubmit2');document.findby.more2.value='0';"><?php echo $hesklang['lopt']; ?></a>
  504. </div>
  505. <input type="hidden" name="more2" value="<?php echo $more2 ? 1 : 0; ?>"/>
  506. </div>
  507. </form>
  508. </td>
  509. </tr>
  510. </table>
  511. </div>
  512. </div>
  513. <!-- ** END SEARCH TICKETS FORM ** -->