<%@ page contentType="text/html; charset=UTF-8" language="java" errorPage="" %>
<%@ page import="java.util.*"%>
<%@ page import="tot.search.*"%>
<%@ page import="tot.exception.*"%>
<%@ page import="tot.util.*" %>
<%@ page import="tot.bean.*" %>
<%@ page import="tot.db.*" %>
<%@ page import="tot.dao.DaoFactory" %>
<%@ page import="java.sql.*" %>
<%@ page import="java.net.*" %>
<%@ page import="java.io.*" %>
<%@ page import="tot.global.Sysconfig" %>
<%@ page import="tot.global.Syslog" %>
<%@ page import="org.apache.lucene.store.Directory" %>
<%@ page import="org.apache.lucene.index.IndexWriter" %>
<%@ include file="session.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<title>xml接口</title>
<link href="style/global.css" rel="stylesheet" type="text/css" />
</head>
<body>

<p></p>
<h2 align="center">xml接口</h2>
<div align="center">
<form action="../getxml.jsp" method="get" target="_blank">
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="245" height="60">&nbsp;</td>
      <td align="left">      	
        按：
          <select name="searchby">
          <option value="1">标题</option>
          <option value="2">内容</option>
          <option value="0" selected="selected">全文</option>          
        </select>
        日期范围：
        <select name="days">
          <option value="0" selected="selected">不限</option>
          <option value="7">一周</option>
          <option value="30">一月</option>
          <option value="365">一年</option>
        </select>
        <label><input type="radio" name="beforafter" value="1"/>之内</label>
        <label><input type="radio" name="beforafter" value="2"/>之前</label>
        排序：
        <label><input type="radio" name="sortby" value="1" />日期</label>       
        <label><input type="radio" name="sortby" value="2"/>相关度</label>
        <br />
        关键字：
        <input name="keyword" type="text" class="input_key" id="keyword"  size="50" maxlength="50" onClick="if(this.value=='请输入要查询的关键字') this.value='';" value="请输入要查询的关键字"   onkeyup="findcon();" /> 
        <input type="hidden" name="table" value="" />
        <input type="hidden" name="categoryid" value="0" />        
        <input type="hidden" name="searchandor" value="0" />
        <input type="hidden" name="offset" value="0" />
        <input name="rows" type="text" value="20" size="5" />条
        <input name="submit" type="submit" class="btn_search" id="submit" value="查询" />
			</td>
    </tr>
  </table>
  <div id="apDiv1">
  	<div id="popup">  
    	<ul id="con_ul"></ul>  
  	</div>
  </div>
</form>

</div>

</body>
</html>