<%@include file="lib.jsp"%>
<%
response.setDateHeader("Expires", -1);
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-cache");
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Expires" content="-1"> 
<meta http-equiv="Pragma" content="no-cache"> 
<meta http-equiv="Cache-Control" content="no-cache">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/lib/xdpick/jquery.datetimepicker.css"/>
<link rel="stylesheet" type="text/css" href="/lib/magnific/magnific-popup.css"/>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="/lib/jquery.powertip.min.css"/>
<link rel="stylesheet" type="text/css" href="/lib/mm-styles.css?v=4347">
<link rel="stylesheet" type="text/css" href="/lib/nxlib.css?v=4653">
<script type="text/javascript" src="/lib/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="/lib/xdpick/jquery.datetimepicker.js"></script>
<script type="text/javascript" src="/lib/magnific/jquery.magnific-popup.js"></script>
<script type="text/javascript" src="/lib/jquery.powertip.min.js"></script>
<script type="text/javascript" src="/lib/nxlib.js?v=4346x"></script>
<title><%= getNxName()%> v<%= getNxVersion()%></title>
</head>

<body>

<div id="cssmenu">
	<ul>
		<li class="<%= getActiveMenu("dashboard")%>"><a href="dashboard.jsp"><i class="fa fa-fw fa-home"></i> DASHBOARD</a></li>
		<li class="<%= getActiveMenu("system")%>"><a href="system,setup.jsp"><i class="fa fa-fw fa-gear"></i> SYSTEM</a>
			<ul>
				<li><a href="system,setup.jsp">Setup</a></li>
				<li><a href="system,admin.jsp">Admin</a></li>
				<li><a href="system,alert.jsp">Alert</a></li>
				<li><a href="system,allowed_ip.jsp">Allowed IP</a></li>
				<li><a href="system,backup.jsp">Backup</a></li>
				<li><a href="system,block_page.jsp">Block Page</a></li>
				<li><a href="system,cluster.jsp">Clustering</a></li>
			</ul>
		</li>
		<li class="<%= getActiveMenu("dns")%>"><a href="dns,setup.jsp"><i class="fa fa-fw fa-cloud-download"></i> DNS</a>
			<ul>
				<li><a href="dns,setup.jsp">Setup</a></li>
				<li><a href="dns,access_control.jsp">Access Control</a></li>
				<li><a href="dns,server_protection.jsp">Server Protection</a></li>
				<li><a href="dns,redirection.jsp">Redirection</a></li>
			</ul>
		</li>
		<li class="<%= getActiveMenu("operator")%>"><a href="operator,operator.jsp"><i class="fa fa-fw fa-child"></i> OPERATOR</a>
			<ul>
				<li><a href="operator,operator.jsp">Operator</a></li>
				<li><a href="operator,license_policy.jsp">License Policy</a></li>
				<li><a href="operator,default_policy.jsp">Policy Template</a></li>
				<li><a href="operator,signup_request.jsp">Signup Request</a></li>
			</ul>
		</li>
		<li class="<%= getActiveMenu("category")%>"><a href="category,system.jsp"><i class="fa fa-fw fa-bars"></i> CATEGORY</a>
			<ul>
				<li><a href="category,system.jsp">System</a></li>
				<li><a href="category,custom.jsp">Custom</a></li>
				<li><a href="category,domain_test.jsp">Domain Test</a></li>
			</ul>
		</li>
		<li class="<%= getActiveMenu("classifier")%>"><a href="classifier,setup.jsp"><i class="fa fa-fw fa-bug"></i> CLASSIFIER</a>
			<ul>
				<li><a href="classifier,setup.jsp">Setup</a></li>
				<li><a href="classifier,ruleset.jsp">Ruleset</a></li>
				<li><a href="classifier,classified.jsp">Classified</a></li>
				<li><a href="classifier,excluded.jsp">Excluded</a></li>
				<li><a href="classifier,blocklist.jsp">Blocklist</a></li>
				<li><a href="classifier,jahaslist.jsp">Jahaslist</a></li>
				<li><a href="classifier,test_run.jsp">Test Run</a></li>
			</ul>
		</li>
		<li class="<%= getActiveMenu("whitelist")%>"><a href="whitelist,domain.jsp"><i class="fa fa-fw fa-check-circle-o"></i> WHITELIST</a>
			<ul>
				<li><a href="whitelist,domain.jsp">Domain</a></li>
				<li><a href="whitelist,keyword.jsp">Keyword</a></li>
				<li><a href="whitelist,common_bypass.jsp">Common Bypass</a></li>
			</ul>
		</li>
		<li class="<%= getActiveMenu("logging")%>"><a href="logging,request.jsp"><i class="fa fa-fw fa-database"></i> LOGGING</a>
			<ul>
				<li><a href="logging,request.jsp">DNS Request</a></li>
				<li><a href="logging,signal.jsp">Agent Signal</a></li>
			</ul>
		</li>
		<li class="<%= getActiveMenu("report")%>"><a href="report,daily.jsp"><i class="fa fa-fw fa-bar-chart-o"></i> REPORT</a>
			<ul>
				<li><a href="report,daily.jsp">Daily</a></li>
				<li><a href="report,weekly.jsp">Weekly</a></li>
				<li><a href="report,usage.jsp">Usage</a></li>
				<li><a href="report,operator_stats.jsp">Operator Stats</a></li>
			</ul>
		</li>
		<li><a target="_blank" href="<%= getNxTutorial()%>"><i class="fa fa-fw fa-hand-paper-o"></i> HELP</a>
			<ul>
				<li><a target="_blank" href="<%= getNxTutorial()%>">Tutorial</a></li>
				<li><a target="_blank" href="<%= getNxForum()%>">Support Forum</a></li>
				<li><a href="">Version <%= getNxVersion()%></a></li>
			</ul>
		</li>
		<li><a href="admin.jsp?actionFlag=logout"><i class="fa fa-fw fa-power-off"></i> LOGOUT</a>
			<ul>
				<li><a href="">Logged in as <%= getAdminName()%></a></li>
			</ul>
		</li>
	</ul>
</div>

<div style="margin-left: 10px; margin-right: 10px;">
