<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] : [l]Showing Records from[/l] {FIRSTRECORD} [l]to[/l] {LASTRECORD} [l]of[/l] {TOTALRECORDS}</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', '{TABLEID}', '', 'id', '{NUMBER_ORDERSORT}', '', '', {FUSE}, {ACTION_TABLE}, '{LINKSID}')" >[l]Number[/l]<img {NUMBER_CLASS} src="images/blank.png" /></td>
            <td onclick="tableNav('1', '{TABLEID}', '', 'subject', '{SUBJECT_ORDERSORT}', '', '', {FUSE}, {ACTION_TABLE}, '{LINKSID}')" >[l]Subject[/l]<img {SUBJECT_CLASS} src="images/blank.png" /></td>
            <td width="100" onclick="tableNav('1', '{TABLEID}', '', 'assignedtoid', '{ASSIGNEE_ORDERSORT}', '', '', {FUSE}, {ACTION_TABLE}, '{LINKSID}')" >[l]Assigned To[/l]<img {ASSIGNEE_CLASS} src="images/blank.png" /></td>
            <td width="90" onclick="tableNav('1', '{TABLEID}', '', 'timeelapsed', '{TIMEELAPSED_ORDERSORT}', '', '', {FUSE}, {ACTION_TABLE}, '{LINKSID}')" >[l]Time Elapsed[/l]<img {TIMEELAPSED_CLASS} src="images/blank.png" /></td>
            <td width="100">[l]Status[/l]</td>
            <td width="70" onclick="tableNav('1', '{TABLEID}', '', 'priority', '{PRIORITY_ORDERSORT}', '', '', {FUSE}, {ACTION_TABLE}, '{LINKSID}')" >[l]Priority[/l]<img {PRIORITY_CLASS} src="images/blank.png" /></td>
        </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>{TICKET_SUBJECT}</td>
            <td align="left" nowrap="true" width="100" >{TICKET_ASSIGNEE}</td>
            <td align="left" nowrap="true" width="90" >{TICKET_TIMEELAPSED}</td>
            <td align="left" nowrap="true" width="100" >{TICKET_STATUS}</td>
            <td align="center" class="{TICKET_PRIORITY_CLASS}" width="70" >{TICKET_PRIORITY}</td>
        </tr>
<!-- END DYNAMIC BLOCK: ticketrow -->
    </tbody>
</table>
</div>

