⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 regstep2.jsp

📁 采用JSP+Java Bean开发的基于MySQL数据库的计数器。 包含有动网165501条数据库。 可以限制每个用户记录的IP数
💻 JSP
字号:
<%
/**
* Title:Lerx计数器(JSP+MySQL)
* Description:含有动网最新IP数据库 165501条 2004年11月5日更新,我找到的最新的也最合适的就是这个了,花了些时间处理导入到MySQL里。
* Copyright: Copyright (c) 2005
* Company:www.lerx.com,www.5z.com.cn,www.huafang.com.cn
* @author:lzh@5z.com.cn() QQ:27723812
* @version 1.0
* 开发平台:红旗Linux4.1,JDK 1.5.0_04-b05,Tomcat 5.5.9,MySQL 3.23.58
* 完成时间:2005.12.2
*/
%>
<%@ page contentType="text/html;charset=gb2312" %> 
<%@ include file="const.jsp" %>
<%
request.setCharacterEncoding("GB2312");
String ps_NewName;
ps_NewName = request.getParameter("id");
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>申请计数器——请输入您的基本信息</title>
</head>

<body bgcolor="<%=ps_BgColor%>"  text="#FFFFFF" link="#FFFFCC" vlink="#FFFFCC" alink="#CCCCFF">
<div align="center">
  <center>
<table border="0" width="750" height="100%"  bgcolor="<%=ps_TableColor%>">
  <tr>
    <td width="100%" valign="middle" align="center">
      <div align="center">
        <center>
                      <form name="form" method="POST" action="regcheck.jsp?id=<%=ps_NewName%>">
        <table border="0" width="80%">
          <tr>
            <td width="100%" align="center" colspan="2"><b>申请计数器——请输入您的基本信息</b></td>
          </tr>
          <tr>
            <td width="100%" height="20" align="center" colspan="2"> </td>
          </tr>
          <tr>
            <td width="35%" align="right">用户名:</td>
            <td width="65%">

              <p><%=ps_NewName%></td>
          </tr>
          <tr>
            <td width="35%" align="right">管理密码:</td>
            <td width="65%"><input type="text" name="T_password" size="30" tabindex="1"></td>
          </tr>
          <tr>
            <td width="35%" align="right">网站名:</td>
            <td width="65%"><input type="text" name="T_sitename" size="30" tabindex="2"></td>
          </tr>
          <tr>
            <td width="35%" align="right">网站URL:</td>
            <td width="65%"><input type="text" name="T_url" size="30" tabindex="3"></td>
          </tr>
          <tr>
            <td width="35%" align="right">网管信箱:</td>
            <td width="65%"><input type="text" name="T_email" size="30" tabindex="4"></td>
          </tr>
          <tr>
            <td width="35%" align="right">初始值:</td>
            <td width="65%"><input type="text" name="T_initnum" size="30" value="0" tabindex="5"></td>
          </tr>
          <tr>
            <td width="35%" align="right">计数风格:</td>
            <td width="65%"><input type="radio" value="1" checked name="R1" tabindex="6">文本 
              <input type="radio" name="R1" value="0" tabindex="7">图形<input type="radio" name="R1" value="2" tabindex="7">隐藏<input type="radio" name="R1" value="3" tabindex="7">图标</td>
          </tr>
          <tr>
            <td width="35%" align="right">图像风格:</td>
            <td width="65%">
            
              <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td width="20%">
      
      
      
      <script>
function showimage()
{document.images.p0.src=
"<%=ps_RootPath%>images/"+
document.form.D1.options[document.form.D1.selectedIndex].value+
"/0.gif";
document.images.p1.src=
"<%=ps_RootPath%>images/"+
document.form.D1.options[document.form.D1.selectedIndex].value+
"/1.gif";
document.images.p2.src=
"<%=ps_RootPath%>images/"+
document.form.D1.options[document.form.D1.selectedIndex].value+
"/2.gif";
document.images.p3.src=
"<%=ps_RootPath%>images/"+
document.form.D1.options[document.form.D1.selectedIndex].value+
"/3.gif";
document.images.p4.src=
"<%=ps_RootPath%>images/"+
document.form.D1.options[document.form.D1.selectedIndex].value+
"/4.gif";
document.images.p5.src=
"<%=ps_RootPath%>images/"+
document.form.D1.options[document.form.D1.selectedIndex].value+
"/5.gif";
}
</script>

<select name="D1" size=1 onChange="showimage()">
<script language=vbs>
for i = 0 to 19
document.write"<option value='"&i&"'>"&i&"</option>"
next
</script>
</select>
      
      
      
      
      </td>
      <td width="80%" align="left">
  <table border="0" cellpadding="0" cellspacing="0" width="40" bgcolor="#FFFFFF">
    <tr>
      <td align="left"><img src="<%=ps_RootPath%>images/0/0.gif" name="p0" border=0><img src="<%=ps_RootPath%>images/0/1.gif" name="p1" border=0><img src="<%=ps_RootPath%>images/0/2.gif" name="p2" border=0><img src="<%=ps_RootPath%>images/0/3.gif" name="p3" border=0><img src="<%=ps_RootPath%>images/0/4.gif" name="p4" border=0><img src="<%=ps_RootPath%>images/0/5.gif" name="p5" border=0></td>
    </tr>
  </table>
  
      
      
      </td>
    </tr>
  </table>



</td>
          </tr>
           <tr>
            <td width="100%" height="20" align="center" colspan="2">  </td>
          </tr>
          <tr>
            <td width="100%" align="center" colspan="2"><input type="submit" value="提交" name="B1">&nbsp;    
              <input type="reset" value="重写" name="B2"></td>
          </tr>
          <tr>
            <td width="100%" height="40" align="center" colspan="2"> </td>
          </tr>
          <tr>
            <td width="100%" align="center" colspan="2"><%@ include file="./copyright.jsp" %></td>
          </tr>
        </table>
        </form>
        </center>
      </div>
    </td>
  </tr>
</table>
 </center>
</div>
</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -