3 <table width="100%" cellspacing="0" cellpadding="0" border="0">
4 <tr bgcolor="{$second_menu_bg_color}" valign="middle">
9 <table cellspacing="0" cellpadding="4">
11 {if isset($isMod) and $isMod eq "TRUE"}<td valign="middle" nowrap><a href="{$ingame_webpath}?page=show_ticket_log&id={$ticket_tId}">Show Ticket Log</a></td>{/if}
12 <td valign="middle" nowrap><a href="{$ingame_webpath}?page=createticket&user_id={$ticket_author}">Send Other Ticket</a></td>
13 {if $hasInfo}<td valign="middle" nowrap><a href="{$ingame_webpath}?page=show_ticket_info&id={$ticket_tId}">Show Additional Info</a></td>{/if}
22 <td height="3" bgcolor="#000000"></td>
28 <table width="100%" bgcolor="{$title_bg_color}" cellspacing="2">
29 <tr><td height="7"></td><td></td></tr>
32 <td width="100%" height="12" valign="middle"><h1>[{$t_title}-#{$ticket_tId}] {$ticket_title}</h1></td>
35 <td height="5"></td><td></td>
40 <table width="100%" cellspacing="0" cellpadding="0" border="0">
41 <tr bgcolor="#000000" valign="middle">
44 <tr><td height="8"></td></tr>
48 <tr><td height="2"></td></tr>
49 <tr><td height="1" bgcolor="#000000"></td></tr>
50 <tr><td height="10"></td></tr>
53 <table width="100%" height="100%" cellpadding="10">
55 <table width="100%" bgcolor="{$main_tbl_color}" border="2">
57 <table cellpadding="10" width="100%">
59 <table cellpadding="5" width="100%">
61 <table cellpadding="1" bgcolor="{$normal_tbl_color}" border="2" width="100%">
63 <table cellpadding="3" width="100%">
65 <td><font color="{$info_color}">Submitted: </font>{$ticket_timestamp}</td>
66 <td><font color="{$info_color}">Last Updated: </font>{$ticket_lastupdate}</td>
67 <td><font color="{$info_color}">Status: </font>{if $ticket_status neq 3}<font color="green">Open</font>{/if} {if $ticket_status eq 3} <font color="red">{$ticket_statustext}</font>{else}{$ticket_statustext} {/if}</td>
70 <td><font color="{$info_color}">Category: </font>{$ticket_category}</td>
71 <td><font color="{$info_color}">Priority </font>{$ticket_prioritytext}</td>
72 <td><font color="{$info_color}">Support Group: </font>
73 <span class="label label-info">
74 {if $ticket_forwardedGroupName eq "0"}
77 <a href="{$ingame_webpath}?page=show_sgroup&id={$ticket_forwardedGroupId}"><font color="white">{$ticket_forwardedGroupName}</font></a>
83 <td><font color="{$info_color}">Assigned To: </font>{if $ticket_assignedTo neq ""} <a href="{$ingame_webpath}?page=show_user&id={$ticket_assignedTo}">{$ticket_assignedToText}</a>{else} {$not_assigned} {/if}</td>
92 <table cellpadding="1" bgcolor="{$normal_tbl_color}" border="2" width="100%">
93 {foreach from=$ticket_replies item=reply}
95 <td {if $reply.permission gt '1'} {if $reply.hidden eq 0} bgcolor="{$team_reply_tbl_color}"{else if $reply.hidden eq 1} bgcolor="{$hidden_reply_tbl_color}"{/if}{/if}>
96 <table cellpadding="3">
99 <font color="{$info_color}"> {$reply.timestamp}</font>
100 {if $reply.permission eq '1'}
101 <span class="label label-success"><strong><i class="icon-user icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$reply.authorExtern}"><font color="white"> {$reply.author}</font>{else} {$reply.author} {/if}</a></strong></span>
102 {else if $reply.permission gt '1'}
103 <span class="label label-warning"><strong><i class="icon-star icon-white"></i>{if isset($isMod) and $isMod eq "TRUE"} <a href="index.php?page=show_user&id={$reply.authorExtern}"><font color="{$team_color}"> {$reply.author}</font>{else} {$reply.author} {/if}</a></strong></span>
106 <p><pre>{$reply.replyContent}</pre></p>
113 {if $ticket_status eq 3}
115 <td bgcolor="{$closed_tbl_color}">
116 <table cellpadding="4">
118 <p><pre><h4>[Ticket is closed]</h4></pre></p>
128 <form id="reply" class="form-vertical" method="post" action="{$ingame_webpath}">
129 <table cellpadding="4">
130 <tr><td height="5"></td></tr>
133 <p><h4>{$t_reply}:</h4></p>
136 {if $ticket_status neq 3}
138 <td><textarea cols="50" id="Content" name="Content"><br><br><br></textarea></td>
140 {if isset($isMod) and $isMod eq "TRUE"}
142 <td><input type="checkbox" name="hidden">Hide reply for user.</td>
148 {if isset($isMod) and $isMod eq "TRUE"}
153 <select name="ChangeStatus">
154 {foreach from=$statusList key=k item=v}
155 <option value="{$k}">{$v}</option>
161 <select name="ChangePriority">
162 {foreach from=$ticket_priorities key=k item=v}
163 <option value="{$k}" {if $k eq $ticket_priority}selected="selected"{/if}>{$v}</option>
174 <input type="hidden" name="function" value="reply_on_ticket">
175 <input type="hidden" name="ticket_id" value="{$ticket_id}">
176 <input type="submit" value="{$t_send}"/>
186 {if isset($isMod) and $isMod eq "TRUE"}
188 <table cellpadding="1" bgcolor="{$normal_tbl_color}" border="2" width="100%">
190 <table cellpadding="3" width="100%">
195 {if $ticket_assignedTo eq 0}
196 <form id="assign_ticket" method="post" action="{$ingame_webpath}?page=show_ticket&id={$ticket_tId}">
197 <input type="hidden" name="ticket_id" value="{$ticket_tId}">
198 <input type="hidden" name="action" value="assignTicket">
199 <input type="submit" value="Assign Ticket"/>
201 {else if $ticket_assignedTo eq $user_id}
202 <form id="assign_ticket" method="post" action="{$ingame_webpath}?page=show_ticket&id={$ticket_tId}">
203 <input type="hidden" name="ticket_id" value="{$ticket_tId}">
204 <input type="hidden" name="action" value="unAssignTicket">
205 <input type="submit"value="Remove Assign"/>
209 {if isset($ACTION_RESULT) and $ACTION_RESULT eq "SUCCESS_ASSIGNED"}
211 <font color="green">{$success_assigned}</font>
213 {else if isset($ACTION_RESULT) and $ACTION_RESULT eq "SUCCESS_UNASSIGNED"}
215 <font color="green">{$success_unassigned}</font>
217 {else if isset($ACTION_RESULT) and $ACTION_RESULT eq "TICKET_NOT_EXISTING"}
219 <font color="red">{$ticket_not_existing}</font>
221 {else if isset($ACTION_RESULT) and $ACTION_RESULT eq "ALREADY_ASSIGNED"}
223 <font color="red">{$ticket_already_assigned}</font>
225 {else if isset($ACTION_RESULT) and $ACTION_RESULT eq "NOT_ASSIGNED"}
227 <font color="red">{$ticket_not_assigned}</font>
236 <form id="forward" method="post" action="{$ingame_webpath}?page=show_ticket&id={$ticket_tId}" >
237 <select name="group">
239 {foreach from=$sGroups key=k item=v}
240 <option value="{$k}">{$v}</option>
244 <input type="hidden" name="ticket_id" value="{$ticket_tId}">
245 <input type="hidden" name="action" value="forward">
246 <input type="submit"value="Forward"/>
249 {if isset($ACTION_RESULT) and $ACTION_RESULT eq "INVALID_SGROUP"}
251 <font color="red">{$invalid_sgroup}</font>
253 {else if isset($ACTION_RESULT) and $ACTION_RESULT eq "TICKET_NOT_EXISTING"}
255 <font color="red">{$ticket_not_existing}</font>
257 {else if isset($ACTION_RESULT) and $ACTION_RESULT eq "SUCCESS_FORWARDED"}
259 <font color="green">{$success_forwarded}</font>