<div id='detailticketsmobile'>
<!-- HEADERS -->
<table width="100%" class="mobile-table" cellpadding="0" cellspacing="0" border="1">
  <tr>
	<td class="mobile-header" colspan="7">{TICKET_HEADER}</td>
  </tr>
<!-- DETAILS -->
    <tr>
        <td class="mobile-Label""  align=right>[l]Subject[/l]:</td>
        <td class="mobile-Field" >{TICKET_SUBJECT}</td>
    </tr>
    <tr>
        <td class="mobile-Label" >[l]Package[/l]:</td>
        <td class="mobile-Field" id="tdDomain" >{TICKET_DOMAIN}</td>
    </tr>
    <tr>
        <td class="mobile-Label" >[l]Created[/l]:</td>
        <td class="mobile-Field" >{TICKET_DATESUBMITTED}</td>
    </tr>
    <tr>
        <td class="mobile-Label" >[l]Total Elapsed[/l]:</td>
        <td class="mobile-Field" >{TICKET_TIMEELAPSED}</td>
    </tr>  
    <tr>
        <td class="mobile-Label" >[l]Status[/l]:</td>
        <td class="mobile-Field" >{TICKET_STATUS}</td>
     <tr>
        <td class="mobile-Label" >[l]Ticket Type[/l]: </td>
        <td id="tdType" class="mobile-Field" >{TICKET_TYPE}</td>
     </tr>
     <tr>
        <td class="mobile-Label" >[l]Priority[/l]:</td>
        <td {TICKET_PRIORITYCLASS} id="tdPriority" align="left">&nbsp;{TICKET_PRIORITY}</td>
        <input type="hidden" id="originalPriority" value="{TICKET_PRIORITY}" />
        <input type="hidden" id="originalType" value="{TICKET_TYPE}" />
    </tr>
    <tr>
        <td class="mobile-Label">[l]Opened by[/l]:</td>
        <td class="mobile-Field">{TICKET_OWNER}</td>
        <input type="hidden" id="ticket_owner_id" value="{TICKET_OWNER_ID}" />
    </tr>
    <tr>
    <td class="mobile-Label">[l]Assigned To[/l]:</td>
    <td class="mobile-Field"><div id='assignedtoname'>{TICKET_ASSIGNEE}</div></td>
    </tr> 
  <tr>
    <td class="mobile-Label">[l]Attachment[/l]:</td>
    <td class="mobile-Field">
    <!-- BEGIN DYNAMIC BLOCK: ticket_attachment -->
    {ATTACHMENT_URL}<br />
    <!-- END DYNAMIC BLOCK: ticket_attachment -->
    </td>
  </tr>
</table>
</div>
<!-- END DETAILS -->
<br />


<!-- LOGS -->
<div id="div_log_{LOG_ID}">
<img src=../images/sub_dot.gif> <font class=largeheader>[l]Log for Ticket[/l]: {TICKET_ID}</font>
<table class="mobile-table" cellpadding="0" cellspacing="0" border="0">
<!-- BEGIN DYNAMIC BLOCK: ticketlog -->
<tr class=inner>
    <td class="mobile-Label">
      <font class='{LOG_LABELCOLOR}'>&nbsp;{LOG_OWNER}</font>
      <!-- BEGIN DYNAMIC BLOCK: viaEmail -->
      <div style="text-align:right" class="{LOG_LABELCOLOR}">([l]via E-mail[/l])</div>
      <!-- END DYNAMIC BLOCK: viaEmail -->
    </td>
    <td ><span class="{LOG_ACTIONSTYLE}">{LOG_ACTIONTEXT}</span>[l]Submitted[/l]:{LOG_SUBMITTIME}</td>
</tr>
  <tr class="mobile-Field">
    <td class=LeftPadding valign=top align=left>{LOG_TIMEBETWEENPOSTS}</td>
    <td class=LeftPadding>{LOG_MESSAGE}</td>
</tr>
<!-- END DYNAMIC BLOCK: ticketlog -->
</table>
<br />

<!-- BEGIN DYNAMIC BLOCK: ticketreply -->
<form id="SupportForm" action=index.php?fuse={SUPPORT_FUSE}&action={ADDLOG_ACTION}{IS_PUBLIC} method=post enctype="multipart/form-data">
    <input type="hidden" name="troubleticketid" value="{TICKET_ID}" />
    <input type="hidden" name="email" value="{GUEST_EMAIL}" />
    <input type="hidden" name="accesscode" value="{ACCESS_CODE}" />
    <input type="hidden" name="userid" value="{MYUSERID}" />
    <br />
    <table width="100%" border="0" cellpadding="2" cellspacing="1">
        <tr>
            <td class="mobile-Field">
                <textarea class="textbox" name="message" id="message" WRAP="virtual" rows="8" cols="35">{ADMINSIG}</TEXTAREA><br />
            </td>
        </tr>
        <!-- BEGIN DYNAMIC BLOCK: ticketreply_settings_admin -->
        <tr>
            <td width="100%" class="formFieldPaddLeft" valign="top">
                [l]Set ticket status to[/l]:<br>
                <select name="ticketstatus">
                    <option value="3" selected="true">[l]Waiting on customer[/l]</option>
                    <option value="1">[l]Open[/l]</option>
                    <!-- BEGIN DYNAMIC BLOCK: closeTicketOption -->
                    <option value="-1">[l]Closed[/l]</option>
                    <!-- END DYNAMIC BLOCK: closeTicketOption -->
                </select>
            </td>
        </tr>
        <tr>
            <td class="mobile-Field">
                <input type="checkbox" name="notify" value="1" checked="true" />
                [l]Notify User[/l]<br />
            </td>
        </tr>
        <!-- BEGIN DYNAMIC BLOCK: ticket_assigntome1 -->
        <tr>
            <td class="mobile-Field">
                <input type="checkbox" name="assigntome" value="1" checked="true" />
                [l]Assign Ticket to Me[/l]
            </td>
        </tr>
        <!-- END DYNAMIC BLOCK: ticket_assigntome1 -->
        <!-- END DYNAMIC BLOCK: ticketreply_settings_admin -->
        <!-- BEGIN DYNAMIC BLOCK: ticketreply_settings_customer -->
        <tr>
            <td>
                [l]Set ticket status to[/l]:<br />
                <select name="ticketstatus">
                    <option value="2" selected="true">[l]Waiting on tech[/l]</option>
                    <!-- BEGIN DYNAMIC BLOCK: closeTicketOptionCustomer -->
                    <option value="-1">[l]Closed[/l]</option>
                    <!-- END DYNAMIC BLOCK: closeTicketOptionCustomer -->
                </select><br /><br />
            </td>
        </tr>
        <!-- END DYNAMIC BLOCK: ticketreply_settings_customer -->
        <tr>
            <td>
                <div align="right">
                    <input type="submit" class="button_large" value="[l]Submit Entry[/l]" />
                </div>
            </td>
        </tr>
    </table>
</form>
<!-- END DYNAMIC BLOCK: ticketreply -->
</div>
<!-- END LOGS -->
