<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_User_system_updata" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<title>会员中心</title>
<script type="Text/JavaScript" language="javascript">
<!--
function TableMouseClick(Url){
	window.location=Url;
}
//提示信息
function Working(URL,Msg){
	if(confirm(Msg)){
		window.location=URL;
	}
}
///
function TableMouseOverB(Obj,strtitle){
	Obj.style.backgroundColor='#f7f7f7';
	Obj.title=strtitle;
}
function TableMouseOutB(Obj){
	Obj.style.backgroundColor='';
}

///


function formCheckout()
{
    var msg = "",mchinn;
    if (document.trustpass.firstName.value == "")
    {
        msg = "请填上姓名！\n";
    }

    if (document.trustpass.companyName.value == "")
    {
        msg += "请填上公司名！\n"
    }
    if (document.trustpass.jobTitle.value == "")
    {
        msg += "请填上您的职位！\n"
    }
	
	var pc = document.trustpass.phoneCountry.value;
	var pa = document.trustpass.phoneArea.value;
	var pn = document.trustpass.phoneNumber.value;
    if (pc == "" || pa == "" || pn == "")
    {
        msg += "请填全您的联系电话！\n";
    } else {
		if (isNaN(pc) || isNaN(pa) || isNaN(pn)) {
			msg += "您的联系电话只能输入数字！\n";
		} else {
			if (pn.length < 6) {
				msg += "请填写大于6位的有效电话号码！\n";
			}
		}
	}
	
	var moNo = document.trustpass.mobileNo.value;
	if (moNo != "" && moNo.length > 0 && isNaN(moNo)) {
		msg += "您的手机号码只能输入数字！\n";
	}
    
	var str1 = document.trustpass.email.value
    if (str1 == "" || str1.indexOf("@") == -1 || str1.indexOf(".") == -1) {
        msg += "请填上贵公司的EMAIL！\n"
    }

    if( msg != "" ) {
        str1 = "对不起，由于您的信息不全，\n";
        str1 += "所以没有递交成功！\n\n";
        msg = str1 + msg;
        msg +=  "\n请在填全信息后再递交一次。谢谢！"
        alert(msg);
        return false;
    }

}

-->
</script>
</head>
<body>
<table style="width:100%; height:24" cellspacing="0" cellpadding="0" align="center"  border="0">
  <tr>
    <td style="height:24; width:142" align="center" valign="bottom" class="TDBG1"><strong>在 线 升 级</strong></td>
    <td style="width:448" class="bottom">&nbsp;</td>
  </tr>
</table>
<table style="width:100%"  border="0" cellpadding="0" cellspacing="0" class="topnone">
  <tr>
    <td style="background-color:#FFFFFF"><table style="width:100%; height:104" bordercolor="#FFF1EB" cellspacing="0" cellpadding="8" align="center" border="6">
      <tr>
        <td style="height:92" valign="middle" bordercolor="#EDD6CA" ><table style="width:600" border="0" align="center" cellpadding="0" cellspacing="0">
            <form name="trustpass" onsubmit="return formCheckout()"  method="post">
              <tr>
                <td style="height:28" align="right"><strong>会员类型：</strong></td>
                <td>&nbsp;
                    <input type="radio" name="type" id="type6" value="6"/>
                    <%=AppConst.SiteNamefw%>会员
                  <input type="radio" name="type" id="type11" value="11" />
                  金牌供应商</td>
                  <script type="text/javascript">document.getElementById("type<%=IsNull(Request("type"),11)%>").checked=true;</script>
              </tr>
              <tr>
                <td align="right"><strong>会员登录名：</strong></td>
                <td valign="bottom">&nbsp;&nbsp;&nbsp;
                    <input  name="loginId" value="<%=mRs("M_userid").Value%>" size="40" maxlength="30" style='border:#7F9DB9 1px solid;color: #000000;' readonly /></td>
              </tr>
              <tr>
                <td style="height:30" align="right"><strong>密码：</strong></td>
                <td>&nbsp;&nbsp;&nbsp;
                    <input name="password" type="password" style="border:#7F9DB9 1px solid;color: #000000;" value="<%=mRs("M_password").Value%>" size="40" maxlength="20" readonly="readonly" />
                  　
                  MD5加密，不能修改 </td>
              </tr>
              <tr>
                <td style="height:35" align="right"><strong>姓名：</strong></td>
                <td style="border-top:#FFFFFF 1px solid">&nbsp;<font color="#FF0000" class="S">*</font>&nbsp;
                    <input type="text" name="firstName" value="<%=mRs("M_Name").Value%>" size="40" maxlength="20"  tabindex="1" style='border:#7F9DB9 1px solid;color: #000000;' />
                </td>
              </tr>
              <tr>
                <td style="background-color:#FFFFFF; height:24" align="right"><strong>性别：</strong></td>
                <td>&nbsp;<font color="#FF0000" class="S">*</font>
                    <input name="sex" id="sex1" type="radio" value="男"/>
                  先生
                  <input type="radio" id="sex2" name="sex" value="女"/>
                  女士 </td>
                  <script type="text/javascript">
                    if ("女士" == "<%=mRs("M_Sex").Value%>")
                        document.getElementById("sex2").checked=true;
                    else
                        document.getElementById("sex1").checked=true;
                  </script>
              </tr>
              <tr>
                <td style="height:30" align="right"><strong>公司名：</strong></td>
                <td>&nbsp;<font color="#FF0000" class="S">*</font>&nbsp;
                    <input type="text" name="companyName" value="<%=cRs("C_name").Value%>" size="40" maxlength="40"  tabindex="1" style='border:#7F9DB9 1px solid;color: #000000;' />
                </td>
              </tr>
              <tr>
                <td style="height:30" align="right"><strong>职位：</strong></td>
                <td>&nbsp;<font color="#FF0000" class="S">*</font>&nbsp;
                    <input type="text" name="jobTitle" value="<%=cRs("C_jobs").Value%>" size="40" maxlength="20" tabindex="1" style='border:#7F9DB9 1px solid;color: #000000;' />
                </td>
              </tr>
              <tr>
                <%Dim Tels() = IsNull(mRs("M_Tel").Value, "----").Split("-")%>
                <td style="height:30" align="right" class="pad-top-5"><strong>电话：</strong></td>
                <td>&nbsp;<font color="#FF0000" class="S">*</font>
                    <input onkeypress="return event.keyCode>=48&&event.keyCode<=57" onpaste="return !clipboardData.getData('text').match(/\D/)" style="ime-mode:Disabled" ondragenter="return false" type="text" name="phoneCountry" size="7" maxlength=8 value="<%=Tels(0)%>">
                  &nbsp;
                  <input onkeypress="return event.keyCode>=48&&event.keyCode<=57" onpaste="return !clipboardData.getData('text').match(/\D/)" style="ime-mode:Disabled" ondragenter="return false" type="text" name="phoneArea" size="7" maxlength=8 value="<%=Tels(1)%>" >
                  &nbsp;
                  <input name="phoneNumber" type="text" style="ime-mode:Disabled" onkeypress="return event.keyCode >=48&&event.keyCode<=57" value="<%=Tels(2)%>" size="18" maxlength=20 onpaste="return !clipboardData.getData('text').match(/\D/)" ondragenter="return false">
                </td>
              </tr>
              <tr>
                <td style="height:30" align="right"><strong>手机：</strong></td>
                <td>&nbsp;&nbsp;&nbsp;
                    <input onkeypress="return event.keyCode >=48&&event.keyCode<=57" onpaste="return !clipboardData.getData('text').match(/\D/)" style="ime-mode:Disabled" ondragenter="return false" type="text" name="mobileNo" value="<%=mRs("M_Combined").Value%>" size="40" maxlength="20" tabindex="1">
                </td>
              </tr>
              <tr>
                <td style="height:30; width:110; padding-bottom:20px" align="right"><strong>Email：</strong></td>
                <td>&nbsp;<font color="#FF0000" class="S">*</font>&nbsp;
                    <input type="text" name="email" value="<%=mRs("M_email").Value%>" size="40" maxlength="40"  tabindex="1" style='border:#7F9DB9 1px solid;color: #000000;' />
                </td>
              </tr>
              <tr>
                <td style="height:35" align="center">&nbsp;</td>
                <td style="height:35"><input type="submit" name="Submit2" value="确认提交" tabindex="3" />
                    <input type="reset"  name="Reset2"  value="修   改" tabindex="3" />
                    <input name="Strsend" type="hidden" id="Strsend" value="isok" /></td>
              </tr>
            </form>
          </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
