reg.php

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?
session_start();
if($_SESSION[user_name]!="")
header("location:user.php");
?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<title>会员注册</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, IE=9" />
<link rel="Shortcut Icon" type="image/x-icon" href="/favicon.ico" />
<!-- 所有的组件样式必须合并到自己项目的公共样式或单页样式中 -->
<link rel="stylesheet" href="./css/member.css" media="screen" />
</head>
<body>
<div class="wrapper">
	<script language="javascript">

function check()
{
	if(document.form1.name.value=="")
		{
		alert("用户名不能为空");
		return false;
		}
 if(form1.pwd.value=="")
		 {
		   alert("请输入新用户密码");
		   form1.pwd.select();
		   return(false);
		 }

	    if(form1.pwd.value!=form1.repwd.value)
	   {
	       alert("新用户密码与确认用户密码不同!");
		   form1.pwd.select();
		   return(false);

	   }
if (document.form1.realname.value=="")
	{

		alert("真实姓名不能为空!");
		document.form1.realname.focus();
		return false;
	}
	if (document.form1.cardid.value=="")
	{

		alert("身份证号不能为空!");
		document.form1.cardid.focus();
		return false;
	}
		return true;
}


</script>
    <!-- 顶部 开始 -->
后面还有 101 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。