📄 index.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page session="true" %>
<%@ page import="java.util.*" %>
<%@ page import="com.mybusiness.web.ware.wareclass" %>
<jsp:useBean id="classlist" scope="page" class="com.mybusiness.web.wareclasslist" />
<html>
<head>
<title>MyBusiness 首页</title>
<script Language="javascript">
function checkform(){
name = document.form1.username.value
if(name == ""){
alert("请输入用户名!");
document.form1.username.focus();
return false;
}
password=document.form1.passwd.value
if(password==""){
alert("请输入密码!");
document.form1.passwd.focus();
return false;
}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="books.css" type="text/css">
</head>
<body background=images/112.gif text="#000000">
<div align="center">
<table width="750" border="0" cellspacing="1" cellpadding="1">
<tr>
<td align="center"><img src="images/baners2.gif" width="670" height="120"></td>
<td align="center" width="80">
<a href="manage/login.jsp">网站管理</a></td>
</tr>
</table>
<table width="750" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="250"> </td>
<td width="100"><a href="warelist.jsp">在线购物</a></td>
<td width="100"><a href="shoperlist.jsp">我的购物车</a></td>
<td align="right">登陆时间: <%= (new java.util.Date()).toLocaleString() %> </td>
</tr>
</table>
<table width="750" border="0" cellspacing="1" cellpadding="1">
<tr valign="top">
<td width="186">
<table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="20"> </td>
<td><IMG src="images/shouji.jpg" ></td>
</tr>
<IMG src="images/jingpin.gif" >
<tr>
<td width="20"> </td>
<td></td>
</tr>
<tr>
<td width="20"> </td>
<td> </td>
</tr>
</table>
</td>
<td width="387">
<img src="images/MallADDefault_0_5_1_20061211102523.gif" width="300" height="220"><br>
<FONT color=#FFFF00 face=隶书 size=7><MARQUEE height=50 width=240>物美价廉,货到付款</FONT></MARQUEE><FONT color=#00FF00 face=隶书 size=7><MARQUEE direction=right height=50 width=240>款付到货,廉价美物</MARQUEE></FONT>
</td>
<td width="167" align="center">
<IMG src="images/bang3.gif" >
<TR>
<TD vAlign=top
background=images/left_back.gif
height=180>
<TABLE height=180 cellSpacing=0 cellPadding=0 width=190
border=0>
<TBODY>
<TR>
<TD width=11></TD>
<TD vAlign=top width=179>
<TABLE height=198 cellSpacing=0 cellPadding=0
width="100%" border=0>
<form name="form1" method="post" action="login.jsp" onsubmit="return checkform()">
<TBODY>
<TR>
<TD colSpan=2 height=29><SPAN
class=style10>顾客您好,购买商品请先登陆!</SPAN></TD></TR>
<TR>
<TD width="25%" height=29 >登陆名</TD>
<TD width="75%" height=29><input type="text" name="username" size="16" maxlength="25"></TD></TR>
<TR>
<TD height=29 >密 码</TD>
<TD height=29><input type="password" name="passwd" size="16" maxlength="20"></TD></TR>
<TR>
<TD colSpan=2 height=29><INPUT type=image
height=29 width=86
src="images/join.gif"
border=0 name="Submit"> <A class=style1
href="reg.jsp"
target=_blank>注册会员</A> </TD></TR>
</FORM></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
</TD>
</tr>
</table>
<table width="70%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td align="center">开发:王文耀<br>
CopyRight@2006 <br>
Email:<a href="mailto:wwy170@163.com">wwy170@163.com</a></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -