<!-- BEGIN DYNAMIC BLOCK: calendar -->
<br>
<form id='reportdropdown' action="index.php" method='GET'>
    <input type="hidden" name="fuse" value="clients" />
    <input type="hidden" name="view" value="Clients_ViewEventLog" />
    <table border=0 cellpadding=2 cellspacing=0>
        <tr>
            <td align=center>
                [l]Show[/l]:&nbsp;&nbsp;
                <select name="eventtype">
                    <option value="all" {eventtypeAllSelected} >[l]All events[/l]</option>
                    <option value="profileandpackages" {eventtypeProfileandpackagesSelected} >[l]Profile and Packages events[/l]</option>
                    <option value="billing" {eventtypeBillingSelected} >[l]Billing events[/l]</option>
                    <option value="support" {eventtypeSupportSelected} >[l]Support Tickets events[/l]</option>
                </select>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[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="Submit" name=search class="button_medium" value='[lh]search[/lh]'>&nbsp;&nbsp;
            </td>
        </tr>
    </table>
</form>
<br>
<br>
<br>
<!-- 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]IP Address[/l]</th>
            <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>{logIpAddress}</td>
            <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>

