<!-- BEGIN DYNAMIC BLOCK: calendar -->
<script type="text/javascript" src="newedge/javascript/jscalendar/NE_calendarConsolidated.php?version={VERSION}"></script>
<script type="text/javascript" src="newedge/javascript/jscalendar/lang/calendar-en.js?version={VERSION}"></script>
<br>
<form id='reportdropdown' method='GET'>
    <table border=0 cellpadding=2 cellspacing=0>
        <tr>
            <td align=center>
                [l]Start Date[/l]:&nbsp;&nbsp;
    
                <input class=body type=text size=12 MAXLENGTH=10 name="startdate" id="startdate" value='{startDateValue}'>
                &nbsp;&nbsp;<img id="calButton" src="images/dynCalendar.gif" style="cursor:pointer"/>
                <link rel="stylesheet" type="text/css" href="newedge/javascript/jscalendar/calendar-win2k-cold-1.css" />
                <script type="text/javascript">
                    Calendar.setup({
                        inputField      : 'startdate',
                        ifFormat        : '{dateFormat}',
                        showsTime       : false,
                        button          : 'calButton',
                        weekNumbers     : false,
                        step            : 1
                    });
                </script>
                
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[l]End Date[/l]:&nbsp;&nbsp;
                
                <input class=body type=text size=12 MAXLENGTH=10 name="enddate" id="enddate" value='{endDateValue}'>
                &nbsp;&nbsp;<img id="cal2Button" src="images/dynCalendar.gif" style="cursor:pointer"/>
                <link rel="stylesheet" type="text/css" href="newedge/javascript/jscalendar/calendar-win2k-cold-1.css" />
                <script type="text/javascript">
                    Calendar.setup({
                        inputField      : 'enddate',
                        ifFormat        : '{dateFormat}',
                        showsTime       : false,
                        button          : 'cal2Button',
                        weekNumbers     : false,
                        step            : 1
                    });
                </script>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type=button name=search class="button_medium" value='[lh]search[/lh]' onclick="ChangeTable($('startdate').value, $('enddate').value);">&nbsp;&nbsp;
            </td>
        </tr>
    </table>
</form>
<br>
<br>
<br>


<script type='text/javascript'>
    function ChangeTable(strStartDate, strEndDate){
        location.href='index.php?fuse=support&view=Support_ViewHistory&ticketID={ticketID}&startdate='+strStartDate+'&enddate='+strEndDate;
    }
</script>
<!-- END DYNAMIC BLOCK: calendar -->

<div style="width:600px">
    {historyTableTitle}
    <table width="100%" border="0">
        <tr>
            <th>[l]Date[/l]</th>
            <th>[l]User[/l]</th>
            <th>[l]Action[/l]</th>
        </tr>
        <!-- BEGIN DYNAMIC BLOCK: logActionRow -->
        <tr class="{trClass}">
            <td style="width:15em">{logDate}</td>
            <td>{logUser}</td>
            <td>{logAction}</td>
        </tr>
        <!-- END DYNAMIC BLOCK: logActionRow -->
    </table>
</div>
