<%@ page contentType="text/html; charset=gb2312"%>
<%@ page import="java.sql.*"%> 
<%@ page import="java.util.*"%>
<%@ page import="java.util.Date"%>
<%@ page import="java.text.*"%>
<%@ include file="../admin/checkmaster.jsp"%>
<%@ include file="../inc/conn.jsp"%>
<%
String sql,id,domain,content;
ResultSet rs;
id = request.getParameter("id");
domain = request.getParameter("domain");
if(domain!=null){
     sql="update config set content='"+domain+"' where kind=1";
     stmt.executeUpdate(sql);
     out.print ("<br><br><br><br><br><center>设置完成</center>");
     }
else{
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>参数设置</title>
<link href="../css/XMWUYE.CSS" rel="stylesheet" type="text/css">
</head>

<body>
<div align="center">
  <p>&nbsp;</p>
  <p>本地调试请输入你的虚拟目录路径</p>
  <p>(如:http://localhost/<font color="#FF0000">bbs</font>/)其中bbs是虚拟目录,远程调试请输入域名.</p>
  <p>必须以/结尾.</p>
  <form name="form1" method="post" action="">
    请输入你的域名: 
    <input name="domain" type="text" id="domain" size="50">
    <input type="submit" name="Submit" value="提交">
  </form>
  <p>&nbsp;</p>
</div>
</body>
</html>
<%}%>