<!-- BEGIN DYNAMIC BLOCK: calendar -->
<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=clients&view=Clients_ViewEventLog&startdate='+strStartDate+'&enddate='+strEndDate;
    }
</script>
<!-- END DYNAMIC BLOCK: calendar -->



<div style="width:{width}px">
    {eventLogTableTitle}
    <table width="100%" border="0" cellspacing="3">
        <tr>
            <th>[l]Date[/l]</th>
            <th>[l]User[/l]</th>
            <!-- BEGIN DYNAMIC BLOCK: modifiedUser -->
            <th>[l]Modified user[/l]</th>
            <!-- END DYNAMIC BLOCK: modifiedUser -->
            <th>[l]Action[/l]</th>
        </tr>
        <!-- BEGIN DYNAMIC BLOCK: logActionRow -->
        <tr class="{trClass}">
            <td width="1%" nowrap="true">{logDate}</td>
            <td>{logUser}</td>
            <!-- BEGIN DYNAMIC BLOCK: logModifiedUser -->
            <td>{logModifiedUser}</td>
            <!-- END DYNAMIC BLOCK: logModifiedUser -->
            <td>
                {logAction}
                <!-- BEGIN DYNAMIC BLOCK: clickForBody -->
                &nbsp;<a href="#" onclick="openWindow('index.php?fuse=clients&view=HistoryFullEmail&entryId={entryId}', 'email', 'scrollbars=yes,menubar=no,location=no,width=760,height=520,resizable=yes')">([l]view full message[/l])</a>
                <!-- END DYNAMIC BLOCK: clickForBody -->
                <!-- BEGIN DYNAMIC BLOCK: clickForProfileDetails -->
                &nbsp;<a href="#" onclick="openWindow('index.php?fuse=clients&view=HistoryOriginalProfile&entryId={entryId}', 'email', 'scrollbars=yes,menubar=no,location=no,width=760,height=520,resizable=yes')">([l]view original profile[/l])</a>
                <!-- END DYNAMIC BLOCK: clickForProfileDetails -->
                <!-- BEGIN DYNAMIC BLOCK: clickForStaffNote -->
                &nbsp;<a href="#" onclick="openWindow('index.php?fuse=clients&view=EventLogStaffNote&entryId={entryId}', 'email', 'scrollbars=yes,menubar=no,location=no,width=760,height=520,resizable=yes')">([l]view note[/l])</a>
                <!-- END DYNAMIC BLOCK: clickForStaffNote -->
                <!-- BEGIN DYNAMIC BLOCK: clickForPackageDetails -->
                &nbsp;<a href="#" onclick="openWindow('index.php?fuse=clients&view=HistoryOriginalPackage&entryId={entryId}', 'email', 'scrollbars=yes,menubar=no,location=no,width=760,height=520,resizable=yes')">([l]view original package[/l])</a>
                <!-- END DYNAMIC BLOCK: clickForPackageDetails -->
            </td>
        </tr>
        <!-- END DYNAMIC BLOCK: logActionRow -->
    </table>
</div>

