<div style="padding-bottom:10px;"></div>
<form id='reportdropdown' action="index.php" method='get'>
    <table border='0' cellpadding='2' cellspacing='0'>
        <tr>
            <td align="center" style="padding-left:5px;">
                [l]Show[/l]:
            </td>
            <td align="center" style="padding-right:20px;">
                <input type="hidden" name="fuse" value="home" />
                <input type="hidden" name="view" value="ViewEvents" />
                <select name="eventtype" id="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>
                    <option value="ticketfeedback" {eventtypeTicketFeedbackSelected} >[l]Ticket feedback[/l]</option>
                    <option value="note" {eventtypeNoteSelected} >[l]Client/Group Note[/l]</option>
                    <option value="emails" {eventtypeEmailSelected} >[l]E-Mail events[/l]</option>
                    <option value="errors" {eventtypeError} >[l]Process Errors[/l]</option>
                </select>
            </td>
            <td align="center" style="padding-left:20px;">
                [l]Start Date[/l]:
            </td>
            <td align="center" style="padding-right:20px;">
                <input class='datefield' type='text' size='12'  name="startdate" id="startdate" value='{startDateValue}' />
            </td>
            <td align="center" style="padding-left:20px;">
                [l]End Date[/l]:
            </td>
            <td align="center" style="padding-right:20px;">
                <input class='datefield' type='text' size='12'  name="enddate" id="enddate" value='{endDateValue}' />
            </td>
            <td align="center" style="padding-left:20px; padding-right:20px;">
                <span id='ExtSearchBtn'></span>
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">
    startDateValue = '{startDateValue}';
    endDateValue = '{endDateValue}';
    selectedUserId = '{selectedUserId}';
</script>
<br/>
<span class="grid-meta" id="eventlistlabel"></span>
<div class="blue-box" style="clear:both;padding:4px !important;">
    <table class="automation">
        <tbody>
            <tr>
                <td>[l]Event List[/l]</td>
            </tr>
        </tbody>
    </table>
</div>
<div id="event-grid"></div>