<commit_before><%@page import="com.xnx3.j2ee.Global"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>  
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("type", request.getParameter("type")==null? "":request.getParameter("type"));
%>
<!DOCTYPE html>
<html lang="en">
<head>
   	<jsp:include page="../common/head.jsp">
    	<jsp:param name="title" value="日志列表"/>
    </jsp:include>
    <script src="<%=basePath+Global.CACHE_FILE %>Log_type.js"></script>
</head>

<body>

<section id="container" >
<!--header start-->
<jsp:include page="../common/topHeader.jsp"></jsp:include>     
<!--header end-->
<aside>
    <div id="sidebar" class="nav-collapse">
        <!-- sidebar menu start-->
        	<jsp:include page="../common/menu.jsp"></jsp:include>   
		<!-- sidebar menu end-->
    </div>
</aside>
<!--sidebar end-->
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
        <!-- page start-->

        <div class="row">
            <div class="col-sm-12">
                <section class="panel">
                    <header class="panel-heading">
                        日志管理
                    </header>
                    <div class="panel-body">
                    <div class="space15"></div>
                    <div class="col-xs-12" style="padding:0;">
                       <form method="get">
	                        <span style="float:left;line-height:34px;margin-left:10px;">会员ID：</span>
	                        <div class="input-group m-bot15 " style="width: 20%;float: left;">
	                            <input type="text" name="userid" class="form-control" value="<%=request.getParameter("userid")==null? "":request.getParameter("userid")  %>">
	                        </div>
	                        <span style="float:left;line-height:34px;margin-left:10px;">动作：</span>
	                        <div class="input-group m-bot15 " style="width: 20%;float: left;"> 
	                        	<select name="type" class="form-control">
	                        		<option value="">所有</option>
	                        		<option value="11"  <c:if test="${type == '11'}">selected="selected"</c:if>>登录成功</option>
	                        		<option value="23"  <c:if test="${type == '23'}">selected="selected"</c:if>>查看帖子</option>
	                        	</select>
	                        </div>(遍历type数组，将结果集放到select中)
	                        <div class="input-group m-bot15 " style="width: 100px; float: left;">
	                            <span class="input-group-btn">
	                            <input class="btn btn-success" type="submit" value="搜索">
	                            <i class="fa fa-search"></i>
	                            </button>
	                            </span>
	                        </div>
                        </form>  
                    </div>
                        <section id="unseen">
                            <table class="table table-bordered table-striped table-condensed">
                                <thead>
                                <tr>
                                    <th>编号</th>
                                    <th>用户昵称</th>
                                    <th class="numeric">动作</th>
                                    <th class="numeric">记录</th><commit_msg>xnx3<commit_after><%@page import="com.xnx3.j2ee.Global"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>  
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
request.setAttribute("type", request.getParameter("type")==null? "":request.getParameter("type"));
%>
<!DOCTYPE html>
<html lang="en">
<head>
   	<jsp:include page="../common/head.jsp">
    	<jsp:param name="title" value="日志列表"/>
    </jsp:include>
    <script src="<%=basePath+Global.CACHE_FILE %>Log_type.js"></script>
</head>

<body>

<section id="container" >
<!--header start-->
<jsp:include page="../common/topHeader.jsp"></jsp:include>     
<!--header end-->
<aside>
    <div id="sidebar" class="nav-collapse">
        <!-- sidebar menu start-->
        	<jsp:include page="../common/menu.jsp"></jsp:include>   
		<!-- sidebar menu end-->
    </div>
</aside>
<!--sidebar end-->
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
        <!-- page start-->

        <div class="row">
            <div class="col-sm-12">
                <section class="panel">
                    <header class="panel-heading">
                        日志管理
                    </header>
                    <div class="panel-body">
                    <div class="space15"></div>
                    <div class="col-xs-12" style="padding:0;">
                       <form method="get">
	                        <span style="float:left;line-height:34px;margin-left:10px;">会员ID：</span>
	                        <div class="input-group m-bot15 " style="width: 20%;float: left;">
	                            <input type="text" name="userid" class="form-control" value="<%=request.getParameter("userid")==null? "":request.getParameter("userid")  %>">
	                        </div>
	                        <span style="float:left;line-height:34px;margin-left:10px;">动作：</span>
	                        <div class="input-group m-bot15 " style="width: 20%;float: left;"> 
	                        	<select name="type" class="form-control">
	                        		<script type="text/javascript">writeSelectAllOptionFortype(${type});</script>
	                        	</select>
	                        </div>(遍历type数组，将结果集放到select中)
	                        <div class="input-group m-bot15 " style="width: 100px; float: left;">
	                            <span class="input-group-btn">
	                            <input class="btn btn-success" type="submit" value="搜索">
	                            <i class="fa fa-search"></i>
	                            </button>
	                            </span>
	                        </div>
                        </form>  
                    </div>
                        <section id="unseen">
                            <table class="table table-bordered table-striped table-condensed">
                                <thead>
                                <tr>
                                    <th>编号</th>
                                    <th>用户昵称</th>
                                    <th class="numeric">动作</th>
                                    <th class="numeric">记录</th>
{'fraction_non_alphanumeric': 0.1760422615648201, 'fraction_numerical': 0.010422615648201027, 'mean_word_length': 1.565934065934066, 'pattern_counts': {'":': 8, '<': 171, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4098579', 'n_tokens_mistral': 2122, 'n_tokens_neox': 1963, 'n_words': 323}