📄 模板.htm
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>PC蛋蛋--看广告,赚金蛋,玩游戏,赢大奖 !</title>
<style type="text/css">
<!--
p{margin:0;padding:0}
body {
margin: 0px;
background:#f6f6f6;
font-size:12px;
}
.i_download {
background: url(img/index_2.gif) no-repeat 0px 0px;
}
.FormInput{ border: 1px solid #ccc; width:160px;
}
.pd5{padding-left:10px;}
.i_border {
border: 1px solid #b2d0ea;
}
.i_border1 {
border: 1px solid #b2d0ea;
padding:5px;
}
.i_lineh20 {
line-height: 20px;
}
.i_lineh30 {
font-size: 14px;
line-height: 30px;
color: #2e60aa;
font-weight: bold;
}
.i_f14 {
font-size: 13px;
line-height: 20px;
color: #022c6a;
padding-left: 18px;
}
.i_bg {
background:url('help/images/i_bg.gif') repeat-x 0px bottom;
}
.nav {
color:#ff6600;
font-weight:bold;
font-size:14px;padding-top:7px;}
.nav a:link{
color:#fff;
font-size:14px;
font-weight: bold;
text-decoration: none;
}
.nav a:visited{
color:#fff;
font-size:14px;
font-weight: bold;
text-decoration: none;
}
.nav a:hover{
color:#fff;
font-size:14px;
font-weight: bold;
text-decoration: none;
}
.nav1 {
background: url(img/nav_bg.gif) no-repeat center 0px;
}
.ad img{
border: 1px solid #CCCCCC;
}
.nav2 {background: url(img/nav_bg1.gif) no-repeat center 0px;
}
a:link {color: #1f3a87; text-decoration:none;}
a:visited {color: #83006f;text-decoration:none;}
a:hover {color: #bc2931; text-decoration:underline;}
a:active {color: #bc2931;}
-->
</style>
<script language="javascript" type="text/javascript">
//判断是否为整数
function isFloat(floatValue)
{
var floatPattern=/^[0-9]*[0-9][0-9]*$/; //整数的正则表达式
result=floatPattern.test(floatValue);
return result;
}
function sb()
{
String.prototype.IDCard=function(){ if(/^(\d{16})|(\d{18})$/.test(this)) return true;else return false; }
String.prototype.PWD=function(){ if(/^(\w{6})|(\w{15})$/.test(this)) return true;else return false; }
var IDCARD,CNAME,NICKNAME,PASSWORD1,PASSWORD2,GENDER,CITY,WID,BIRTHDAY,IsSee,POSTADDR;
IDCARD = document.getElementById("IDCARD").value;
CNAME = document.getElementById("CNAME").value;
NICKNAME = document.getElementById("NICKNAME").value;
PASSWORD1 = document.getElementById("PASSWORD1").value;
PASSWORD2 = document.getElementById("PASSWORD2").value;
GENDER = document.getElementById("GENDER").value;
CITY = document.getElementById("CITY").value;
WID = document.getElementById("WID").value;
TUSERID = document.getElementById("TUSERID").value;
TUSERID = TUSERID.replace(/\s/g, "")
IsSee ='text';
QQ = document.getElementById("QQ").value;
regex=/^\d+$/;
POSTADDR = document.getElementById("POSTADDR").value;
if ((IDCARD=="")||(NICKNAME=="")||(CNAME=="")||(PASSWORD="")||(PASSWORD2=="")||(GENDER=="")||(CITY=="")||(POSTADDR==""))
{
alert("请填写信息!");
return false;
}
/*
else if (IDCARD.IDCard()==false)
{
alert("请确认您的身份证号!");
return false;
}
*/
else if (PASSWORD1.PWD()==false)
{
alert("请输入6~15位的密码!");
return false;
}
else if (PASSWORD1 != PASSWORD2)
{
alert("两次输入密码不匹配!");
return false;
}
else if (document.getElementById("checkbox").checked==false)
{
alert("请先阅读并同意接受PC蛋蛋服务条款!");
return false;
}
else if(TUSERID!="")
{
if(IsSee=="hidden")
{
if(!isFloat(TUSERID))
{
document.getElementById("TUSERID").value ="0";
}
}
else
{
if(!isFloat(TUSERID))
{
alert("推荐人ID必须为数字,请正确填写!");
return false;
}
}
}
/*
else if (TUSERID!="")
{
if (!regex.test(TUSERID))
{
alert("您如有推荐人,请填写推荐人ID;如没有,请留空!");
return false;
}
else if (window.confirm("确认提交信息是否真实?"))
{
return true;
}
else
{
return false;
}
} */
else if (window.confirm("确认提交信息是否真实?"))
{
return true;
}
else
{
return false;
}
}
</script>
</head>
<body>
<form id="form1" action="regdo.php" method="post" onsubmit="return sb();">
<input id="QQ" class="FormInput" maxlength="10" name="QQ" type="hidden" />
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="28" background="help/images/ddd.bmp">
<p align="right">您尚未登录,请<strong><a class="a0" onfocus="undefined" href="login.php" target="_top">点此登录</a></strong>!如果您还没有帐号?请
<strong><a class="a0" onfocus="undefined" href="reg.php" target="_top">立即注册</a>!</strong></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table width="782" height="72" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="33%" valign="bottom"> </td>
<td width="67%" align="right" valign="bottom"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="6"></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" height="35" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" class="i_bg"><table width="782" border="0" cellpadding="0" cellspacing="0" class="nav">
<tr>
<td width="30" height="32"></td>
<td width="85" align="center"><a href="index.php">首页</a></td>
<td width="85" align="center"><a href="reg.php">我要加入</a></td>
<td width="94" align="center"><a href="member.php">会员中心</a></td>
<td width="94" align="center"><a href="soft.php">软件下载</a></td>
<td width="94" align="center"><a href="zhuan.php">赚蛋区</a></td>
<td width="94" align="center" class="nav1"><a href="game.php">游戏区</a></td>
<td width="94" align="center"><a href="tuijian.php">推荐会员</a></td>
<td width="112">
<p align="center"><a href="pay.php">支付中心</a></td>
<td width="94" align="center"><a href="help.php">帮助</a></td>
<td width="112">
<p align="center"><a href="/bbs">讨论区</a></td>
</tr>
</table></td>
</tr>
</table>
<table width="914" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5" width="912" colspan="2"></td>
</tr>
<tr>
<td height="5" width="66"></td>
<td height="5" width="848"></td>
</tr>
</table>
<table width="782" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="help/images/i_ktop.gif" width="794" height="18" /></td>
</tr>
</table>
<table width="782" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="38" bgcolor="#FFFFFF">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="734">
<tr>
<td style="border-bottom: solid 1px #ccc" align="left">
<strong class="i_lineh30">新用户注册>></strong></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
</table>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="734">
<tr>
<td align="center" height="53">
</td>
</tr>
</table>
</td>
<td bgcolor="#FFFFFF">
<p><br />
</p>
</td>
</tr>
</table>
<table width="782" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="help/images/i_kbot.gif" width="795" height="19" /></td>
</tr>
</table>
<table width="782" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><p> </p>
<p><!--弈天网络旗下产品--> 客服QQ:345003417 客服电话:0739-6360058
客服传真: 0739-6821306</p>
<p>Copyright©2007 www.Hieggs.com All Rights Reserved</p>
<p> </p></td>
</tr>
</table>
<table width="782" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><script language="javascript" type="text/javascript" src="http://js.users.51.la/582553.js"></script>
<noscript><a href="http://www.51.la/?582553" target="_blank"><img alt="我要啦免费统计" src="img/582553.asp" style="border:none" width="48" height="12" /></a></noscript></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -