   <%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page import="org.ellectra.gui.utils.JSFUtils"%>
<%@page import="javax.faces.context.FacesContext"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>

<f:view>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    
    %>

<base href="<%=basePath%>">
<title>Admin Console</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="Search Audit">
<link rel="stylesheet" href="commission.css" type="text/css">
<link rel="stylesheet" href="ellectraweb.css" type="text/css">

</head>
<body>
<a name="top"></a>

<div align="center">

<table border="0" cellspacing="0" cellpadding="0" width="760"
	class="tbl1" summary="Container of page content">

	
	<!-- HEADER LINE -->
	<%@ include file="/header.jsp"%>
	</td>
</tr>
<tr>
	<td bgcolor="#ffffff" height="1"></td>
</tr>
<tr>
	<td bgcolor="#330099" height="1"></td>
</tr><!-- END OF HEADER -->

	<!-- MAIN CONTENT -->
	<tr>
		<td valign="top" align="left">
		<table border="0" cellspacing="0" cellpadding="0" width="760"
			height="450" bgcolor="#FFFFFF" id="content" summary="Content of page">
			<tr>
				<!-- MENU CELL -->
				<%@ include file="/navigation-menu.jsp"%>
				<!-- END OF MENU CELL -->

				<!-- VERTICAL SEPERATOR CELLS -->
				<td width="1" class="sep" height="100%"></td>
				<td width="15"></td>
<!-- CENTRAL CONTENT CELL -->
				<td width="565" valign="top">
				<br /> 

				

				

				<div class="text11n">
					<h:form>


				<div class="title14bb"><strong><h:outputText value="Search logged events" ></h:outputText></strong></div>
						<h:panelGrid border="1" columns="2" styleClass="gridstyle"
							style="width: 500px">
							
								<h:panelGrid border="0" columns="2" styleClass="gridstyle"
								style="width: 300px">
								<h:selectOneRadio styleClass="gridstyle" layout="pageDirection" >
										<f:selectItem itemLabel=" " itemValue="0"/>
										<f:selectItem itemLabel=" " itemValue="1"/>
										<f:selectItem itemLabel=" " itemValue="2"/>
										<f:selectItem itemLabel=" " itemValue="3"/>
									</h:selectOneRadio>
										<h:panelGrid border="0" columns="2" styleClass="gridstyle"
										style="width: 280px">
										<h:outputText value="all events" ></h:outputText>
<h:outputText value=" " ></h:outputText>
										<h:outputText value="by event type:" ></h:outputText>
										<h:inputText styleClass="textboxstyle" style="width: 100px"></h:inputText>
										<h:outputText value="by event date:" ></h:outputText>
										<h:inputText styleClass="textboxstyle" style="width: 100px"></h:inputText>
										<h:outputText value="by user:" ></h:outputText>
										<h:inputText styleClass="textboxstyle" style="width: 100px"></h:inputText>
								
										</h:panelGrid>
								</h:panelGrid>
								<h:panelGrid border="0" columns="1" styleClass="gridstyle"
							style="width: 200px">
							
							<h:panelGrid border="0" columns="2" styleClass="gridstyle"
								style="width: 100px">
									<h:outputText value="Sort By"></h:outputText>
									<h:selectOneMenu>
										<f:selectItem itemLabel="Event Type" itemValue="0"/>
											<f:selectItem itemLabel="User" itemValue="1"/>
											<f:selectItem itemLabel="Date" itemValue="2"/>
										</h:selectOneMenu>
									</h:panelGrid>
									
									<h:panelGrid border="0" columns="3" styleClass="gridstyle"
								style="width: 100px">
									<h:outputText value="events per page"></h:outputText>
									<h:selectOneMenu>
										<f:selectItem itemLabel="10" itemValue="0"/>
											<f:selectItem itemLabel="20" itemValue="1"/>
											<f:selectItem itemLabel="30" itemValue="2"/>
										</h:selectOneMenu>
										<h:commandButton id="okevess"
											value="ok" 
											styleClass="buttonstyle"
											
											/>	
									</h:panelGrid>
												
								</h:panelGrid>
							</h:panelGrid>
						
						
							
							
									
									
							
							<h:panelGrid border="0" columns="1"
								style="width: 470px">
							<h:panelGroup>
							<p align="right">
						<h:commandButton id="searchcommand"
											value="Search" 
											 styleClass="buttonstyle"
											 />
											 </p>
											 </h:panelGroup>
											 </h:panelGrid>
											 
							
							
							<div class="title14bb"><strong><h:outputText value="List of events recorded by the system" ></h:outputText></strong></div>
							<br><br/>
					<h:panelGrid border="1" columns="4" styleClass="gridstyle"
							style="width: 600px">
							<h:outputText value="#" style="font-weight: bold"></h:outputText>
							<h:outputText value="Event type" style="font-weight: bold"></h:outputText>
							<h:outputText value="User" style="font-weight: bold"></h:outputText>
							<h:outputText value="Date" style="font-weight: bold"></h:outputText>
							
							
							
							<h:outputText value="1" ></h:outputText>
							<h:outputText value="sssdd" ></h:outputText>
							<h:outputText value="ddsss" ></h:outputText>
							<h:outputText value="ssaas" ></h:outputText>
							
							
							</h:panelGrid>	
							
							<h:panelGrid border="0" columns="1"
							style="width: 600px">
							<h:panelGroup>
							<p align="right">
							<h:commandButton  value="First Page"	styleClass="buttonstyle"/>
								<h:commandButton  value="Previous Page"	styleClass="buttonstyle"/>
								<h:commandButton  value="Next Page"	styleClass="buttonstyle"/>
								<h:commandButton  value="Last Page"	styleClass="buttonstyle"/>
							</h:panelGroup>
							</h:panelGrid>
							
								
												</h:form>
				</div>
				</td>
				<!-- END OF CENTRAL CONTENT CELL -->


<!-- VERTICAL SEPERATOR CELL -->
				<td width="14"></td>
			</tr>
		</table>
		</td>
	</tr>

	<%@ include file="/footer.jsp"%>
</table>
</div>
</body>

</html>

</f:view>