PHP+Mysql服装商城 网上服装购物商城 基于PHP服装商城的系统设计与实现(4)用户登录

时间:2020-10-24 11:46:30   收藏:0   阅读:45

效果图

技术图片
源代码

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>黄菊华:H5+CSS3商城界面实战-购物车</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="css/huiyuan_denglu.css">
</head>

<body>
	

<form name="form1" method="post">
	<div class="denglu">
		<div class="denglu_mingcheng">欢迎登陆商城</div>
		<div class="denglu_xiangmu">
			<img src="img/yonghu.png" class="denglu_xiangmu_img" />
			<input type="text" placeholder="请输入用户名" class="denglu_xiangmu_input" name="yhm" id="yhm" style="color: white;">
		</div>
		<br>
		<div class="denglu_xiangmu">
			<img src="img/mima.png" class="denglu_xiangmu_img" />
			<input type="text" placeholder="请输入密码" class="denglu_xiangmu_input" name="mm" id="mm" style="color: white;">
		</div>	
		
		<br>
		
		<input  class="denglu_putong" type="button" value="立即登录" onClick="return check_login();" style="border: 0;outline: none;margin: 0; cursor: pointer;">
		<script>
		function check_login()
		{
			if(document.form1.yhm.value=="" || document.form1.mm.value==""){
				alert("请填写你的账户和密码!");
				return false;
			}
			var yhm=document.form1.yhm.value;
			var mm=document.form1.mm.value;
			frame01.location = "check_h_login.php?cs_yhm=" + yhm + "&cs_mm=" + mm;
		}
		</script>
		<!--div class="denglu_weixin">微信登录</div-->
        
		<iframe width="0" height="0" frameborder="0" name="frame01" src=""></iframe>
		<br>
		<br>
		<div class="denglu_qita">
			<a href="xinxi_list.php?cs_lxid=236&cs_lxmf=帮助中心" class="denglu_qita_zuo">系统帮助</a>	
			<a href="u_reg.php" class="denglu_qita_you">免费注册</a>	
		</div>
		
		
	</div>
	
</form>		
</body>
</html>

   参考网址:www.pc-365.net 

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!