📄 grhyxg.php
字号:
<?
require "config.php";
$strsql="select * from $grhy where user='$cokeuser2' and password='$cokepass2'";
$result=mysql_query($strsql,$myconn);
$num=mysql_num_rows($result);
if(!$num)
{
echo"<meta http-equiv=refresh content=1;URL=yz88.php>";
}
else
{
if(!$id)
{
?>
<HTML><HEAD><TITLE>个人会员注册</TITLE>
<META http-equiv=Content-Language content=zh-cn>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId></HEAD>
<BODY>
<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width=648 border=0>
<TBODY>
<TR>
<TD height=20>
<DIV align=center><a href="index.php"><IMG src="images/step.gif"
width=640 height=40 border="0"></a></DIV></TD></TR></TBODY></TABLE><BR>
<SCRIPT language=JavaScript><!--
function FrontPage_Form1_Validator(theForm)
{
if (theForm.password.value == "")
{
alert("请在 密码 域中输入值。");
theForm.password.focus();
return (false);
}
if (theForm.password.value.length < 4)
{
alert("在 密码 域中,请至少输入 4 个字符。");
theForm.password.focus();
return (false);
}
if (theForm.password.value.length > 20)
{
alert("在 密码 域中,请最多输入 20 个字符。");
theForm.password.focus();
return (false);
}
if (theForm.password2.value == "")
{
alert("请在 密码 域中输入值。");
theForm.password2.focus();
return (false);
}
if (theForm.password2.value.length < 4)
{
alert("在 密码 域中,请至少输入 4 个字符。");
theForm.password2.focus();
return (false);
}
if (theForm.password2.value.length > 20)
{
alert("在 密码 域中,请最多输入 20 个字符。");
theForm.password2.focus();
return (false);
}
if (theForm.name.value == "")
{
alert("请在 姓名 域中输入值。");
theForm.name.focus();
return (false);
}
if (theForm.name.value.length < 2)
{
alert("在 姓名 域中,请至少输入 2 个字符。");
theForm.name.focus();
return (false);
}
if (theForm.name.value.length > 10)
{
alert("在 姓名 域中,请最多输入 10 个字符。");
theForm.name.focus();
return (false);
}
if (theForm.email.value == "")
{
alert("请在 电子邮件 域中输入值。");
theForm.email.focus();
return (false);
}
if (theForm.email.value.length < 10)
{
alert("在 电子邮件 域中,请至少输入 10 个字符。");
theForm.email.focus();
return (false);
}
if (theForm.year.value == "")
{
alert("请在 年 域中输入值。");
theForm.year.focus();
return (false);
}
if (theForm.year.value.length < 4)
{
alert("在 年 域中,请至少输入 4 个字符。");
theForm.year.focus();
return (false);
}
if (theForm.year.value.length > 4)
{
alert("在 年 域中,请最多输入 4 个字符。");
theForm.year.focus();
return (false);
}
if (theForm.month.value == "")
{
alert("请在 月 域中输入值。");
theForm.month.focus();
return (false);
}
if (theForm.month.value.length < 1)
{
alert("在 月 域中,请至少输入 1 个字符。");
theForm.month.focus();
return (false);
}
if (theForm.month.value.length > 2)
{
alert("在 月 域中,请最多输入 2 个字符。");
theForm.month.focus();
return (false);
}
if (theForm.day.value == "")
{
alert("请在 日 域中输入值。");
theForm.day.focus();
return (false);
}
if (theForm.day.value.length < 1)
{
alert("在 日 域中,请至少输入 1 个字符。");
theForm.day.focus();
return (false);
}
if (theForm.day.value.length > 2)
{
alert("在 日 域中,请最多输入 2 个字符。");
theForm.day.focus();
return (false);
}
return (true);
}
//--></SCRIPT>
<BR>
<FORM name=FrontPage_Form1 onsubmit="return FrontPage_Form1_Validator(this)"
action=grhyxg.php method=post>
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width=580 bgColor=#fcc55f border=0>
<TBODY>
<TR bgColor=#fbca48>
<TD height=2></TD></TR>
<TR bgColor=#fcc55f>
<TD>
<DIV align=center>
<TABLE style="FONT-SIZE: 10pt" cellSpacing=1 width=576 bgColor=#fcba41>
<TBODY>
<TR bgColor=#fffadf>
<TD vAlign=top width=176 bgColor=#fbdeaa height=219><DIV align=center>
<? require "top9.php";?>
</DIV></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -