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

📄 register.jsp

📁 用JSP写的一个在线购物网站的代码
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" import="java.sql.*,java.util.*,shop.buy.buy" %>
<jsp:useBean id="data" scope="page" class="shop.data.conn" />
<style type="text/css">
<!-- @import url(images/css.css); -->
</style>
<body bgcolor="#63bce6" leftmargin="0" topmargin="0">
<table border=0 cellPadding=0 cellSpacing=0 width=770>
  <tr height=7 background="images/main_top_line.gif"> 
    <td colSpan=3 height=7></td>
  </tr>
  <tr> 
    <td background="images/main_left_line.gif" width=7></TD>
    <td vAlign=top> <table width="756" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="95" valign="middle"><%@ include file="top.jsp"%></td>
        </tr>
        <tr> 
          <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
              <tr> 
                <td width="165"><%@ include file="left.jsp" %></td>
                <td width="14"></td>
                <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td width="560" height="25"><div align="right" class="darkbluetext">HOME > <font color="#FF0000">会员管理控制面版</font></div></td>
                            <td>&nbsp;</td>
                          </tr>
                          <tr> 
                            <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td><table width="560" border="0" cellspacing="0" cellpadding="0">
                                      <tr class="defaulttext" height="10"> 
                                        <td height="10"></td>
                                      </tr>
                                      <tr> 
                                        <td><img src="images/xieyi.gif" width="560" height="35"></td>
                                      </tr>
                                      <tr height="10"> 
                                        <td height="10"></td>
                                      </tr>
                                      <tr> 
                                        <td><img src="images/yuedu.gif" width="560" height="40"></td>
                                      </tr>
                                      <tr height="10"> 
                                        <td height="10"></td>
                                      </tr>
                                    </table></td>
                                </tr>
                              </table></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td><div align="left"><iframe src="xieyi.jsp" frameborder="0" width="560" height="320" scrolling="no"></iframe></div></td>
                    </tr>
					<tr>
					<td height="15"></td>
					</tr>
                    <tr> 
                      <td><FORM name=register method=post action="register_1.jsp">
					      <input type="hidden" name="show" value="">
                          <div align="center"><input type="submit" value=" 同意注册 " name=Submit onClick="document.all.show.value='true';"style="background-color:#ECECEC; border-style:1; font-size: 11; color: #000000; font-family: arial, verdana, geneva">
						                                     <input type="button" value="不同意" style="background-color:#ECECEC; border-style:1; font-size: 11; color: #000000; font-family: arial, verdana, geneva" onClick="javascript:self.location='index.jsp'"></div>
                        </FORM></td>
                    </tr>
                    <tr> 
                      <td>&nbsp;</td>
                    </tr>
                    <tr> 
                      <td></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td></td>
        </tr>
      </table></td>
    <td background="images/main_right_line.gif" width=7></td>
  </tr>
  <tr height=7> 
    <td background="images/main_bottom_line.gif" colSpan=3 height=7></td>
  </tr>
</table>
<SCRIPT>
	secs = 60; // Number of secs to delay -CHINA-studio
	wait = secs * 100;
	document.forms.register.Submit.disabled =true;
	for(i=1;i<=(wait/100);i++) {
		window.setTimeout("doUpdate(" + i + ")", i * 100);
	}
	window.setTimeout("Timer()", wait);

	function doUpdate(num) {
		if(num == (wait/100)) {
			document.forms.register.Submit.value = " 同意注册 ";
		} else {
			wut = (wait/100)-num;
			document.forms.register.Submit.value = " 同意前请先阅读 (" + wut + ")";
		}
	}

	function Timer() {
		document.forms.register.Submit.disabled =false;
}
</SCRIPT>

⌨️ 快捷键说明

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