每日总结5.18

<html>
<head>
<title>化妆品销售网站</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-repeat: repeat-x;
background-color: #215B9A;
}
.STYLE6 {color: #FFFFFF}
.STYLE5 {color: #CCFFCC;
font-size: 26pt;
}
.STYLE7 {color: #ffffff; font-size:12px}
-->
</style>
</head>
<script language="javascript">
function check()
{
if(document.form1.username.value=="" || document.form1.pwd.value=="" || document.form1.yzm.value=="")
{
alert("请输入完整");
return false;
}
}
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="1004" height="750" border="0" align="center" cellpadding="0" cellspacing="0" background="images/login.jpg" id="__01">
<tr>
<td height="293" colspan="3"><p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="84%" height="56" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="56"><div style="font-family:宋体; color:#FFFFFF;WIDTH: 100%; FONT-WEIGHT: bold; FONT-SIZE:30px ; margin-top:5pt">
<div align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;化妆品销售网站</div>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td width="434" rowspan="2">&nbsp;</td>
<td width="289" height="152"><table width="239" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="form1" method="post" action="login.php">
<tr>
<td width="44" height="30"><span class="STYLE7">用户:</span></td>
<td height="30" colspan="2"><input name="username" type="text" id="username" style="100px; height:16px; border:solid 1px #000000; color:#666666"></td>
</tr>
<tr>
<td height="30"><span class="STYLE7">密码:</span></td>
<td height="30" colspan="2"><input name="pwd" type="password" id="pwd" style="100px; height:16px; border:solid 1px #000000; color:#666666"></td>
</tr>
<tr>
<td height="30"><span class="STYLE7">权限:</span></td>
<td height="30" colspan="2"><select name="cx" id="cx">
<option value="管理员">管理员</option>
<option value="普通用户">普通用户</option>
</select>
<input name="login" type="hidden" id="login" value="1"></td>
</tr>
<tr>
<td height="30"><span class="STYLE7">验证码:</span></td>
<td width="57" height="30"><input name="yzm" type="text" id="yzm" style="height:18px; 45px; border:solid 1px #cadcb2; font-size:12px; color:#81b432;" />
<td width="138"><img alt="刷新验证码" onClick="this.src='code.php?time='+new Date().getTime();" src="code.php?time='+new Date().getTime();" style="cursor:pointer">
</tr>
<tr>
<td height="30" colspan="3"><input type="submit" name="Submit" value="登陆" onClick="return check();">
<input type="reset" name="Submit2" value="重置"></td>
</tr>
</form>
</table></td>
<td width="281" rowspan="2">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>
原文地址:https://www.cnblogs.com/wanghaoning/p/14914799.html