<div id="{TABLEID}">
<input type="hidden" value="{TOTALRECORDS}" name="totalrecs_c" id="totalrecs_c"> 
<input type="hidden" name="page_c" id="page_c" value="{CURRENTPAGE}" />
<input type="hidden" name="islastpage_c" id="islastpage_c" value="{ISLASTPAGE}" />
<input type="hidden" name="orderby_c" id="orderby_c" value="{ORDERBY_C}" />
<input type="hidden" name="osort_c" id="osort_c" value="{OSORT_C}" />
<input type="hidden" name="limit_c" id="limit_c" value="{LIMIT_C}" />
<input type="hidden" name="displayedrecs_c" id="displayedrecs_c" value="{DISPLAYEDRECS_C}" />

<table width="100%" cellpadding="0" border="0" cellspacing="0" >
    <tr>
        <td class="snapshot-header-left"></td>
        <td class="snapshot-header"><font class=snapshot-header-text>[l]Closed Tickets[/l]{SHOWING_RECORDS}</font></td>
    </tr>
</table>

<table width="100%" class="sort-table" id="{TABLEID}_table" cellpadding="0" cellspacing="0" border="0">
    <thead>
        <tr>
            <!-- BEGIN DYNAMIC BLOCK: checkBoxHeader -->
            <td width="1%">&nbsp;</td>
            <!-- END DYNAMIC BLOCK: checkBoxHeader -->
            <!-- <td align="center" width="70" onclick="tableNav('1', 'troubletickets', '', 'id', '{NUMBER_ORDERSORT}', '', '', 'support', 'TableTickets', '{LINKSID}')" >[l]Number[/l]<img {NUMBER_CLASS} src="images/blank.png" /></td> -->
            <td onclick="tableNav('1', 'troubletickets', '', 'id', '{ID_ORDERSORT}', '', '', 'support', 'TableTickets', '{LINKSID}')" >[l]Subject[/l]<img {ID_CLASS} src="{RELATIVE_PATH}images/blank.png" /></td>
            <td width="100" onclick="tableNav('1', 'troubletickets', '', 'userid', '{USERID_ORDERSORT}', '', '', 'support', 'TableTickets', '{LINKSID}')" >[l]Opened By[/l]<img {USERID_CLASS} src="{RELATIVE_PATH}images/blank.png" /></td>            
            <td width="100" onclick="tableNav('1', 'troubletickets', '', 'assignedtoid', '{ASSIGNEE_ORDERSORT}', '', '', 'support', 'TableTickets', '{LINKSID}')" >[l]Assigned To[/l]<img {ASSIGNEE_CLASS} src="{RELATIVE_PATH}images/blank.png" /></td>
            <td width="100" onclick="tableNav('1', 'troubletickets', '', 'messagetypename', '{MESSAGETYPE_ORDERSORT}', '', '', 'support', 'TableTickets', '{LINKSID}')" >[l]Ticket Type[/l]<img {MESSAGETYPE_CLASS} src="{RELATIVE_PATH}images/blank.png" /></td>
            <td width="90" onclick="tableNav('1', 'troubletickets', '', 'timeelapsed', '{TIMEELAPSED_ORDERSORT}', '', '', 'support', 'TableTickets', '{LINKSID}')" >[l]Time Elapsed[/l]<img {TIMEELAPSED_CLASS} src="{RELATIVE_PATH}images/blank.png" /></td>
            <td width="70" onclick="tableNav('1', 'troubletickets', '', 'priority', '{PRIORITY_ORDERSORT}', '', '', 'support', 'TableTickets', '{LINKSID}')" >[l]Priority[/l]<img {PRIORITY_CLASS} src="{RELATIVE_PATH}images/blank.png" /></td>
            <!-- BEGIN DYNAMIC BLOCK: ticketRateHeader -->
            <td width="1%" onclick="tableNav('1', 'troubletickets', '', 'rate', '{RATE_ORDERSORT}', '', '', 'support', 'TableTickets', '{LINKSID}')" >[l]Rate[/l]<img {RATE_CLASS} src="{RELATIVE_PATH}images/blank.png" /></td>
            <!-- END DYNAMIC BLOCK: ticketRateHeader -->
        </tr>
    </thead>
    <tbody>
<!-- BEGIN DYNAMIC BLOCK: ticketrow -->
        <tr id="row_{TABLEID}_{TICKETID}" class="{ROWCLASS}" style="{ROWSTYLE}">
            <!-- BEGIN DYNAMIC BLOCK: checkBoxColumn -->
            <td width="1%">
                <input type="checkbox" name="cb_{TABLEID}_{TICKETID}" id="cb_{TABLEID}_{TICKETID}" value="{TABLEID}_{TICKETID}" style="position:relative; top:1px" onclick="ToggleButtons(this.form)" />
            </td>
            <!-- END DYNAMIC BLOCK: checkBoxColumn -->
            <!-- <td align="center" width="70">&nbsp;&nbsp;{TICKET_NUMBER}</td>  -->
            <td><div style="{TICKET_GROUPCOLORSTYLE}">#{POPUP_TICKETLINK}</div></td>
            <td align='left' nowrap='nowrap' width="100"><div style="{TICKET_GROUPCOLORSTYLE}">{TICKETOWNER}</div></td>
            <td align="left" nowrap="true" width="100" >{TICKET_ASSIGNEE}</td>
            <td align="left" nowrap="true" width="100" >{TICKET_MESSAGETYPE}</td>
            <td align="left" nowrap="true" width="90" >{TICKET_TIMEELAPSED}</td>
            <td align="center" class="{TICKET_PRIORITY_CLASS}" width="70" >{TICKET_PRIORITY}</td>
            <!-- BEGIN DYNAMIC BLOCK: ticketRateColumn -->
            <td align="center" nowrap="true" width="100" >{TICKET_RATE}</td>
            <!-- END DYNAMIC BLOCK: ticketRateColumn -->
        </tr>
<!-- END DYNAMIC BLOCK: ticketrow -->
    </tbody>
</table>
</div>

