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

📄 index.asp

📁 网上商城的设计与实现
💻 ASP
📖 第 1 页 / 共 3 页
字号:
		alert("会员帐号请不要使用中文!");                                  
		document.FORM1.uid.focus();                                  
		return false;                                  
	}                                  
	if (fucCheckLength(document.FORM1.uid.value) <4 )                                  
	{                                  
		alert("会员帐号必须至少4位");                                  
		document.FORM1.uid.focus();                                  
		return false;                                  
	}                                  
                                  
}                                  
</script>
                        <!--webbot bot="HTMLMarkup" endspan -->
                        帐号
                        <input maxlength="16" size="14" name="uid">
                        </font> </p>
                      <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"><font color="#B0E8F8">密码
                        <input maxlength="16" size="14" name="pwd" type="password">
                        </font> </p>
                      <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"> 
                        <font color="#B0E8F8"> <br>
                        <input type="submit" size="3" value="登录" name="Submit2">
                        <input type="button" value="注册会员" name="B1" onClick="window.location.href='reguser.htm';">
                        </font> </p>
                    </form></td>
                </tr>
              </tbody>
            </table>
            <table border="0" width="90%" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="100%"> <div align="center"> 
                    <table height="10" cellspacing="0" cellpadding="0" width="100%" border="0">
                      <tbody>
                        <tr> 
                          <td width="100%"> <font color="#B0E8F8"> 
                            <%                                                            
While Not rs_class_1.EOF                                                            
set rs_class_2=server.createobject("adodb.recordset")                                                            
				 sqltext3="select * from Class_2 where Class_1_Name='" & rs_class_1("Class_1_Name") & "'"                                                            
				 rs_class_2.open sqltext3,conn,1,1				                                                             
%>
                            </font> <div align="center"> 
                              <table border="0" cellspacing="0" width="100%" height="1" bordercolorlight="#C0C0C0" cellpadding="0" bordercolordark="#336699">
                                <tr> 
                                  <td height="1" width="100%"> <table border="0" width="100%" bgcolor="#0099CC" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td height="22" bgcolor="#6094C8"> <p align="center"><font color="#F7F7E7"><b><%=rs_class_1("Class_1_Name")%></b></font></td>
                                      </tr>
                                    </table></td>
                                </tr>
                                <tr> 
                                  <%j=1%>
                                  <%While Not rs_class_2.EOF%>
                                  <td width="139" height="22" bgcolor="#B1CBE4"> 
                                    <p align="center"><a href="splb.asp?spdl=<%=rs_class_1("Class_1_Name")%>&amp;spxl=<%=rs_class_2("Class_2_Name")%>"><font color="#000000"><%=rs_class_2("Class_2_Name")%></font></a> 
                                  </td>
                                  <%if j mod 1 = 0 then %>
                                </tr>
                                <tr>
                                  <%end if%>
                                  <%                                                            
						rs_class_2.MoveNext                                                            
						j=j+1                                                            
						Wend                                                            
						rs_class_2.close                                                            
					                                                            
						%>
                                </tr>
                              </table>
                            </div>
                            <font color="#B0E8F8"> 
                            <%                                                            
					rs_class_1.MoveNext                                                            
					Wend                                                            
					rs_class_1.close                                                            
				 %>
                            </font> </td>
                        </tr>
                      </tbody>
                    </table>
                  </div></td>
              </tr>
            </table>
            <br>
          </div></td>
        <td width="610" valign="top" colspan="2" height="16" bgcolor="#336699" align="center"> 
          <table border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr align="center"> 
              <td width="25"><img src="images/left.gif"></td>
              <td width="86" background="images/bgguide.gif"><a href="index.asp" class="guide">首  页</a></td>
              <td background="images/bgguide.gif"><img src="images/guide.gif"></td>
              <td width="86" background="images/bgguide.gif"><a href="zxsp.asp" class="guide">最新商品</a></td>
              <td background="images/bgguide.gif"><img src="images/guide.gif"></td>
              <td width="86" background="images/bgguide.gif"><a href="reguser.htm" class="guide">会员注册</a></td>
              <td background="images/bgguide.gif"><img src="images/guide.gif"></td>
              <td width="86" background="images/bgguide.gif"><a href="javascript:openbag()">察看购物车</a></td>
              <td background="images/bgguide.gif"><img src="images/guide.gif"></td>
              <td width="86" background="images/bgguide.gif">购物帮助</td>
              <td width="25"><img src="images/right.gif"></td>
            </tr>
          </table></td>
      </tr>
    </center>
    <tr>
      <td width="610" valign="top" colspan="2" height="25"> <table border="0" width="100%" height="1" cellspacing="0" cellpadding="0">
          <tr> 
            <center>
              <td width="50%" height="1"> <form method="POST" action="orderofind.asp" target="_blank">
                  <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0" align="center">订单查询 
                    <input name="Form_Id" type="text" value="订单号" size="8">
                    <input type="submit" value="查询" name="djB1" class="a">
                </form></td>
            </center>
            <td width="50%" height="1"> <form method="POST" action="spss.asp" target="_blank">
                <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0"> &nbsp;商品查询 
                  <input type="text" name="Product_Name" size="10" class="a" style="font-size: 14px">
                  <select name="Product_Class" size="1" tabindex="0" class="a" style="font-size: 14px">
                    <option value="礼品">礼品</option>
                    <option value="影视">影视</option>
                    <option value="化妆">化妆</option>
                    <option value="互联网">互联网</option>
                  </select>
                  <input type="image" height="20" cache width="52" src="images/go.gif" align="absMiddle" value="GO" border="0" name="I55">
                </p>
              </form></td>
          </tr>
        </table></td>
    </tr>
    <center>
      <tr> 
        <td width="100%" valign="top" height="10"> <div align="center"> 
            <center>
              <table cellspacing="0" cellpadding="0" width="417" bgcolor="#f0f1ef" border="0">
                <tbody>
                  <tr> 
                    <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_lt.gif" width="10"></td>
                    <td width="505" bgcolor="#10a6be" height="1"><spacer width="1" type="block"></td>
                    <td valign="top" width="10" rowspan="2"><img src="images/enet_rt.gif"></td>
                  </tr>
                  <tr height="25"> 
                    <td> <table cellspacing="3" cellpadding="0" width="100%" border="0">
                        <tbody>
                          <tr> 
                            <td align="middle" width="10"></td>
                            <td width="475"><img height="10" src="images/arrow_1.gif" width="13"> 商城动态</td>
                          </tr>
                        </tbody>
                      </table></td>
                  </tr>
                </tbody>
              </table>
            </center>
          </div>
          <div align="center"> 
            <center>
              <table border="0" width="417" cellspacing="0" cellpadding="0">
                <tr> 
                  <td width="1" bgcolor="#10A6BE"> </td>
                  <td width="415" bgcolor="#F0F1EF"><script src="news/news.asp"></script> 
                  </td>
                  <td width="1" bgcolor="#10A6BE"> </td>
                </tr>
              </table>
            </center>
          </div>
          <div align="center"> 
            <center>
              <table cellspacing="0" cellpadding="0" width="417" bgcolor="#f0f1ef" border="0">
                <tbody>
                  <tr> 
                    <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_bl.gif" width="10"></td>
                    <td width="505" height="19"> <table cellspacing="3" cellpadding="0" width="100%" border="0">
                        <tbody>
                          <tr> 
                            <td align="right"> <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0" align="right">以往新闻&gt;&gt;&gt;&gt;</p></td>
                          </tr>
                        </tbody>
                      </table></td>
                    <td valign="top" width="10" rowspan="2"><img height="26" src="images/enet_br.gif" width="10"></td>
                  </tr>
                  <tr height="1"> 
                    <td width="505" bgcolor="#10a6be" height="1"><spacer width="1" type="block"></td>
                  </tr>
                </tbody>
              </table>
              <br>
            </center>
          </div></td>
        <td width="161" valign="top" height="10" align="right"> <table cellspacing="0" cellpadding="0" width="150" border="0">
            <tbody>
              <tr> 
                <td valign="top" width="4" bgcolor="#336699" rowspan="2"><img height="18" src="images/tl_img.gif" width="4" border="0"></td>
                <td bgcolor="#000000" height="1"><img height="1" src="images/stretch.gif" width="142" border="0"></td>
                <td valign="top" width="4" bgcolor="#336699" rowspan="2"><img height="18" src="images/tr_img.gif" width="4" border="0"></td>
              </tr>
              <tr> 
                <td height="16" valign="bottom" bgcolor="#336699"> <div align="left"><font class="portletTitle" color="#ffffff">&nbsp;新品速递</font><font class="portletTitle" color="#ffffff" size="1"><br>
                    </font> </div></td>
              </tr>
            </tbody>
          </table>
          <table cellspacing="0" cellpadding="0" width="150" border="0">
            <tbody>
              <tr> 
                <td width="1" bgcolor="#000000"><img src="images/stretch.gif" width="1" border="0"></td>
                <td valign="top" bgcolor="#f7f7e7"><img height="1" src="images/stretch.gif" width="146" border="0"><br> 
                  <table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
                    <% While Not rs.EOF %>
                    <tr> 
                      <td width="100%" align="center" height="11"> <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0" align="left"><img height="14" src="images/point002.GIF" width="14"><a href="javascript:winopen('spjj.asp?ProductNO=<%=rs("Product_No")%>')"><%=rs("Product_name")%></a></p></td>
                    </tr>
                    <%                                                                                    
rs.MoveNext                                                                                    
Wend                                                                                    
rs.close                                                                                    
%>
                  </table></td>
                <!-- this is the shade  the right of the Portlet -->
                <td width="1" bgcolor="#000000"><img src="images/stretch.gif" width="1" border="0"></td>
                <td width="1" bgcolor="#9a9c9a"><img src="images/stretch.gif" width="1" border="0"></td>
                <td width="1" bgcolor="#b3b4b3"><img src="images/stretch.gif" width="1" border="0"></td>
              </tr>
            </tbody>
          </table>
          <table cellspacing="0" cellpadding="0" width="150" border="0">
            <tbody>
              <tr> 
                <td valign="top" width="4" rowspan="4"><img height="6" src="images/bl_img.gif" width="4" border="0"></td>
                <td bgcolor="#f7f7e7" height="3"><img height="1" src="images/stretch.gif" width="142" border="0"></td>
                <td valign="top" width="4" rowspan="4"><img height="6" src="images/br_img.gif" width="4" border="0"></td>
              </tr>
              <tr> 
                <td width="1" bgcolor="#000000"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
              </tr>
              <tr> 
                <td width="1" bgcolor="#9a9c9a"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
              </tr>
              <tr> 
                <td width="1" bgcolor="#b3b4b3"><img height="1" src="images/stretch.gif" width="1" border="0"></td>
              </tr>
            </tbody>
          </table></td>

⌨️ 快捷键说明

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