⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reg.php

📁 php中英版本 仿alibaba贸易平台
💻 PHP
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>外贸无忧--注册会员</TITLE><META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="供求信息/ 商业公告板/商业贸易机会/进出口贸易机会/电子商务/" name=description>
<META
content=供求信息,商业公告板,商业机会,进出口,商情公告板,商业BBS,进出口BBS,贸易机会,供求信息,贸易机会,商业机会,电子商务,免费贸易机会,供求信息,商业公告板,商业机会,进出口,商情公告板,商业BBS,进出口BBS,贸易机会,供求信息,贸易机会,商业机会,电子商务,免费贸易机会,供求信息,商业公告板,商业机会,进出口,商情公告板,商业BBS,进出口BBS,贸易机会,供求信息,贸易机会,商业机会,电子商务,免费贸易机会,求购,出售,贸易,求购,出售,贸易
name=keywords>
<STYLE type=text/css>BODY {
        FONT-SIZE: 14px; COLOR: #000; FONT-FAMILY: 宋体
}
TD {
        FONT-SIZE: 14px; COLOR: #000; FONT-FAMILY: 宋体
}
A.top {
        FONT-SIZE: 12px; COLOR: #ffffff
}
A:link {
        COLOR: #039
}
A:visited {
        COLOR: #909
}
A:hover {
        COLOR: #f60
}
.RD {
        FONT: bold 14px 宋体; COLOR: #900000
}
.YL {
        FONT: bold 12px 宋体; COLOR: #ff0
}
.GR {
        FONT-SIZE: 14px; COLOR: #999
}
.WH {
        FONT: bold 14px 宋体; COLOR: #fff
}
.WH:link {
        FONT: bold 14px 宋体; COLOR: #fff
}
.WH:visited {
        FONT: bold 14px 宋体; COLOR: #fff
}
.WH:hover {
        FONT: bold 14px 宋体; COLOR: #f60
}
.WHS {
        FONT: 12px 宋体; COLOR: #fff
}
.WHS:link {
        FONT: 12px 宋体; COLOR: #fff
}
.WHS:visited {
        FONT: 12px 宋体; COLOR: #fff
}
.WHS:hover {
        FONT: 12px 宋体; COLOR: #f60
}
.YLM {
        FONT: bold 14px 宋体; COLOR: #ff0
}
.BUY {
        FONT: bold 14px 宋体; COLOR: #fc9603
}
.SELL {
        FONT: bold 14px 宋体; COLOR: #00cc00
}
.COOP {
        FONT: bold 14px 宋体; COLOR: #851b91
}
.AGENT {
        FONT: bold 14px 宋体; COLOR: #cc00ff
}
.ERROR {
        FONT: bold 14px 宋体; COLOR: #f00
}
.NO {
        FONT-SIZE: 12px; COLOR: #900000
}
.STAR {
        FONT-SIZE: 12px; COLOR: #f00
}
.X {
        FONT-WEIGHT: bold; FONT-SIZE: 24px
}
.L {
        FONT-WEIGHT: bold; FONT-SIZE: 16px
}
.M {
        FONT: bold 14px 宋体
}
.C {
        FONT-SIZE: 14px
}
.S {
        FONT-SIZE: 12px
}
.LM {
        LINE-HEIGHT: 130%
}
.LL {
        LINE-HEIGHT: 150%
}
SELECT {
        FONT-SIZE: 12px
}
INPUT {
        FONT-SIZE: 12px
}
TEXTAREA {
        FONT-SIZE: 12px
}
UNKNOWN {
        FONT-SIZE: 14px
}
.f1 {
        FONT-SIZE: 10px
}
.f2 {
        FONT-SIZE: 12px
}
.f3 {
        FONT-SIZE: 16px
}
.f4 {
        FONT-SIZE: 18px
}
.f5 {
        FONT-SIZE: 24px
}
.f6 {
        FONT-SIZE: 31px
}
.lh13 {
        LINE-HEIGHT: 130%
}
.lh15 {
        LINE-HEIGHT: 150%
}
.lh17 {
        LINE-HEIGHT: 170%
}
</STYLE>

<script>
function checkform(theform)
{
  var letters = "abcdefghijklmnopqrstuvwxyz_0123456789" +
                "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  var letter =  "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

  var allword = letters + "~!@#$%^&*()+|/?;:'[{]}`"
  var errletter = ""
  if(theform.user.value.length < 1)
  {
    alert("请输入会员名!")
    theform.user.focus()
    return false
  }

  if(letter.indexOf(theform.user.value.charAt(0)) == -1)
  {
    alert("会员名必须是英文或拼音!" )
    theform.user.focus()
    return false
  }

  if(theform.user.value.length < 4)
  {
    alert("会员名不能少于4个字符!")
    theform.user.focus()
    return false
  }

  if(theform.user.value.length > 12)
  {
    alert("会员名不能超过去12个字符!")
    theform.user.focus()
    return false
  }



  if(theform.password.value.length < 1)
  {
    alert("请输入密码!")
    theform.password.focus()
    return false
  }


   if(theform.password.value.length < 4)
  {
    alert("密码不能少于4个字符!")
    theform.password.focus()
    return false
  }

  if(theform.password.value.length > 12)
  {
    alert("密码不能超过12个字符!")
    theform.password.focus()
    return false
  }

  if(theform.mpassword.value.length < 1)
  {
    alert("请重复输入密码!")
    theform.mpassword.focus()
    return false
  }

  if(theform.password.value != theform.mpassword.value)
  {
    alert("密码与重复密码不同!")
    theform.mpassword.focus()
    return false
  }

    if(theform.question.value=="")
  {
    alert("请选择密码提示问题!")
    theform.question.focus()
    return false
  }

   if(theform.answer.value.length < 2)
  {
    alert("请输入密码提示答案!")
    theform.answer.focus()
    return false
  }

    if(theform.contact.value.length < 1)
  {
    alert("请输入您的姓名!")
    theform.contact.focus()
    return false
  }

    if(theform.contact.value.length > 8)
  {
    alert("姓名只能有一个,不能超过8个字符!")
    theform.contact.focus()
    return false
  }

   if(theform.email.value.length < 1)
  {
    alert("请输入EMAIL地址!")
    theform.email.focus()
    return false
  }
  if(theform.email.value.indexOf("@") == -1)
  {
    alert("EMAIL格式不正确,应如:abc@abc.com!")
    theform.email.focus()
    return false
  }

  if(theform.PhoneArea.value.length < 1)
  {
    alert("请输入您公司固定电话的区号!")
    theform.PhoneArea.focus()
    return false
  }

   if(theform.PhoneArea.value.length > 5)
  {
    alert("区号长度不能超过5位!")
    theform.PhoneArea.focus()
    return false
  }

   if(theform.PhoneNumber.value.length < 1)
  {
    alert("请输入您公司固定电话号码")
    theform.PhoneNumber.focus()
    return false
  }
  if(theform.PhoneNumber.value.length > 9)
  {
    alert("只能输入一个电话号码,长度不能超过9位!")
    theform.PhoneNumber.focus()
    return false
  }

  if(theform.province.value=="")
  {
    alert("请选择您所在的省名!")
    theform.province.focus()
    return false
  }

  if(theform.city.value.length < 2)
  {
    alert("请输入城市名!")
    theform.city.focus()
    return false
  }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -