📄 reg1.jsp
字号:
<%@page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<script language="JavaScript">
function JM_cc(ob){
var obj=MM_findObj(ob);
if (obj) {
obj.select();js=obj.createTextRange();js.execCommand("Copy");
}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
</script>
<jsp:useBean id="feng" scope="page" class="feng.jdbc" />
<%
Connection con = feng.getConn() ;
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
String sql = "select * from lktype order by id" ;
ResultSet rs = stmt.executeQuery(sql) ;
%>
<html>
<head>
<script language=vbscript>
sub chk()
if trim(reg.id.value)="" or trim(reg.pws.value)="" or trim(reg.webname.value)="" or trim(reg.url.value)="" or trim(reg.keys.value)="" or trim(reg.intro.value)="" then
alert("每一项必须填写")
exit sub
end if
if trim(reg.pws.value)<>trim(reg.repws.value) then
alert("密码前后输入不一致")
exit sub
end if
if instr(trim(reg.txtemail.value),"@")=0 or instr(trim(reg.txtemail.value),".")=0 then
alert("Email地址输入错误")
exit sub
end if
if instr(reg.intro.value,"色")<>0 and instr(reg.intro.value,"情")<>0 then
alert("非法网站登录,操作已被记录在档!")
exit sub
end if
if instr(reg.webname.value,"色")<>0 and instr(reg.webname.value,"情")<>0 then
alert("非法网站登录,操作已被记录在档!")
exit sub
end if
document.reg.submit
end sub
</script>
<title>湖湘网安统计系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="images/admin.css" type="text/css">
</head>
<body bgcolor="#f0f0f0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<body bgcolor="#e7e7e7" text="#000000">
<TABLE cellSpacing=0 cellPadding=0 width=777 align=center bgColor=#f0f0f0
border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=right bgColor=#cccccc>[<A
href="admin.jsp">管理</A>][<A
href="reg1.jsp">申请</A>][<a href=ph.jsp>排行</a>]</TD>
</TR>
<TR>
<TD width=777> <TABLE height=450 cellSpacing=0 cellPadding=0 width=777 border=0>
<TBODY>
<TR>
<TD vAlign=top width=176> <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD vAlign=top width=150 height=44><IMG height=44
src="images/menu1.jpg" width=150></TD>
</TR>
<TR>
<TD vAlign=top background=images/menu2.jpg height=280> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="30%" height=25> </TD>
<TD width="70%" rowspan="9"> <TABLE height=19 cellSpacing=0 cellPadding=0 width=15 border=0>
<TBODY>
<TR>
<TD vAlign=center width=76><img src="images/top.gif" width="67" height="219"></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
</TR>
<TR>
<TD width="30%" height=25> </TD>
<TD width="70%"
height=25> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD vAlign=top width=150 height=10><IMG height=10
src="images/menu3.jpg" width=150></TD>
</TR>
<TR>
<TD width=150 background=images/menu4.jpg
height=80> </TD>
</TR>
<TR>
<TD vAlign=top width=150 height=14><IMG height=14
src="images/menu5.jpg" width=150></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD vAlign=top align=middle width=588><BR> <TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top colSpan=2 rowSpan=2> <TABLE cellSpacing=0 cellPadding=0 width=488 bgColor=#000000
border=0>
<TBODY>
<TR>
<TD vAlign=top bgColor=#ffffff> <TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD bgColor=#666666><IMG height=20
src="image/oka.gif" width=20
align=absMiddle> <FONT color=#ffffff><b>湖湘网安统计</b></FONT></TD>
</TR>
<TR>
<TD>
<TABLE width=90%
border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top
background=images/graph_border1.gif
height=25>【开始申请】</TD>
</TR>
<TR>
<TD background=images/graph_border2.gif>
<TABLE cellSpacing=0 cellPadding=0 width=460
border=0>
<TBODY>
<TR>
<TD width=11> </TD>
<TD align=middle
background=images/tablebg.gif>
<table width="87%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td> <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="install" height="30" valign="bottom" colspan="2"> </td>
</tr>
<tr>
<td colspan="2">
<hr noshade align="center" width="100%" size="1">
<hr noshade align="center" width="100%" size="1">
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td colspan="2">
<p><b>向导提示:</b>所有项目均为必填,如有任何问题,请与我们联系!</p></td>
</tr>
<tr>
<td colspan="2">
<hr noshade align="center" width="100%" size="1">
</td>
</tr>
<tr>
<td colspan="2"><font color="#FF0000"><b>></b></font><b><font color="#000000">
内容填写说明</font></b></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -