<!-- #include file="../../include.asp" -->
<!-- #include file="../../admin/kihon/fm_accesslog_main_in.asp" -->

<%
'<!--
'################################################
'	名称	:アクセスログ
'	作成日	:2008/6/17
'	作成者	:小野
'################################################
'-->
%>

<%
main()
Sub main()

	If Not(SessionCheck()) Then
		Exit Sub
	End If

	Dim Action
	Action = Request("Action")
	If Action = "" Then
		Action = "0"
	End If

	Dim TmpLoginID
	TmpLoginID = Request("TmpLoginID")

	Dim TmpShukei
	TmpShukei = Request("TmpShukei")

	Dim FromYmd
	FromYmd = Request("FromYmd")

	Dim ToYmd
	ToYmd = Request("ToYmd")

	Dim Query
	Dim Content

	Dim RouteType
	RouteType = Request("RouteType")

%>


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="-1">
<link href="../../binx/sj3web.css?<% = TimeUniq() %>" rel="stylesheet" type="text/css">
<title><% = AppTitle %></title>
<script language="JScript" src="../../include.js?<% = TimeUniq() %>"></script>
<script language="JScript" src="../../includesj.js?<% = TimeUniq() %>"></script>
<script language="JScript.Encode" src="../../include_enc.js?<% = TimeUniq() %>"></script>
<script language="JScript.Encode" src="../../includesj_enc.js?<% = TimeUniq() %>"></script>
<script type="text/javascript" src="../../javascript.js?<% = TimeUniq() %>"></script>
</head>
<SCRIPT LANGUAGE="JavaScript">
<!--
	HomeAlias = "<% = HomeAlias %>";
	HomeAliasSL = "<% = HomeAliasSL %>";
	ExitFlg = 1;
-->
</SCRIPT>


<body onkeydown="if(ExitFlg==2)ExitFlg=3;" onBeforeUnload="window.event.returnValue = ExitMsg(ExitFlg)" bgcolor="#5C70B6" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form OnKeyDown="FormKeyDown(this)" method="POST" name="form1" action="fm_accesslog.asp" >
<input type="hidden" name="SendValue" value="">
<input type="hidden" name="Action" value="<% = Action %>">


<%
	Response.Write(HtmlDesign(10))

	Response.Write(HttpL1(4))

	Response.Write(HttpL2("運用管理メニュー" ,"tblbtn( '/" & HomeAlias & "/admin/admenu_w.asp')", "システム情報", "tblbtn( '/" & HomeAlias & "/admin/kihon/fm_kihon_view.asp')", "アクセスログ" , "", "", "", "", "", "", ""))

	Response.Write(HttpL3_2("", "", "", "", "", "", "", "", "", ""))

	Response.Write(HttpL3("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""))

	Response.Write(HttpL3_1("印刷", "PrintoutReal()", "", "", "", "", "", "", "", ""))

	If Action <> "1" Then
		If TmpLoginID = "" Then
			Response.Write(HttpL4("アクセスログ", " 全ログインID一覧 "))
		Else
			Response.Write(HttpL4("アクセスログ", " " & TmpLoginID & " の一覧 "))
		End If
	Else
		If TmpShukei = "LoginID" Then
			Response.Write(HttpL4("アクセスログ", "ログインID集計 "))
		ElseIf TmpShukei = "IPAddr" Then
			Response.Write(HttpL4("アクセスログ", "接続元IPアドレス集計 "))
		Else'If TmpShukei = "Kubun" Then
			Response.Write(HttpL4("アクセスログ", "ユーザー区分集計 "))
		End If
	End If

	Response.Write(HttpL5(""))
%>


<div id="L0" style="position: absolute; visibility: hidden; left: 0px; top: -2000px;">
<% Response.Write(AccessLog(TmpLoginID, TmpShukei, FromYmd, ToYmd, Action, 0, 0)) %>
</div>
</form>

</body>
<% = HtmlFooter %>
</html>

<SCRIPT LANGUAGE="JavaScript">
<!--

	function SubmitCheck(Act) {
		form1.Action.value = Act;
		SubmitReal(form1);
		return true;
	}

-->
</script>

<%
End Sub
%>