<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" CodeBehind="user_company_mail.aspx.vb" Inherits="b2bNet.user_user_company_mail" %>
<%On Error Resume Next%>
<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 check(){
		strselect()
		if(!checkmail(document.formname.M_Email.value)){
		alert("您输入的邮箱不正确！");
		document.formname.M_Email.focus();
		return false;
	}
}
function checkmail(email)
{
if (email=="" )
return false;
	invalidChars = " /:"

	if (email == "") {
		return (false);
	}

	for (i=0; i < invalidChars.length; i++) {
		badChar = invalidChars.charAt(i)
		if (email.indexOf(badChar,0) != -1) {
			return (false);
		}
	}

	atPos = email.indexOf("@", 1)
	if (atPos == -1) {
		return (false);
	}
	periodPos = email.indexOf(".", atPos)
	if (periodPos == -1) {
		return (false);
	}

	if (periodPos + 3 > email.length) {
		return (false);
	}

	return (true);
}
</script>
</head>
<body>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="width:700" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="width:100"><div align="center"><a href="user_company_modi.aspx"><img src="images/website_07.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="user_website_config.aspx"><img src="images/website_01.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="user_website_style.aspx"><img src="images/website_02.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="user_website_class.aspx"><img height="48" src="images/website_04.gif" width="50" border="0" /></a></div>
          <a href="User_work_search.aspx"></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="user_company_html.aspx"><img height="48" src="images/website_03.gif" width="50" border="0" /></a></div>
          <a href="User_work_favorite.aspx"></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="user_website_link.aspx"><img height="48" src="images/website_05.gif" width="50" border="0" /></a></div>
          <a href="User_work_person.aspx"></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="user_website_addlink.aspx"><img height="48" src="images/website_06.gif" width="50" border="0" /></a><a href="User_products_add.aspx"></a></div>
          <a href="User_work_search.aspx"></a></div></td>
      </tr>
      <tr>
        <td style="width:100"><div align="center"><strong>修改企业介绍</strong></div></td>
        <td style="width:100"><div align="center"><strong>网站信息配置</strong></div></td>
        <td style="width:100"><div align="center"><strong>网站风格设置</strong></div></td>
        <td style="width:100"><div align="center"><strong>网站栏目设置</strong><strong></strong></div></td>
        <td style="width:100"><div align="center"><strong>生成网站</strong></div></td>
        <td style="width:100"><div align="center"><strong>友情链接管理</strong></div></td>
        <td style="width:100"><div align="center"><strong>添加友情链接</strong></div></td>
      </tr>
    </table></td>
  </tr>
</table>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table style="width:100%; height:24" cellspacing="0" cellpadding="0"  border="0">
  <tr>
    <td style="background-color:#FFF1EB; height:24; width:142" align="center" valign="bottom" class="TDBG1"><strong><span #invalid_attr_id="none"><strong>修改电子邮件</strong></span></strong></td>
    <td class="bottom"><div align="right"><span class="font3">如有变动请及时更新，确保商机不延误！</span></div></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:50" bordercolor="#FFF1EB" cellspacing="0" cellpadding="4" align="center" border="6">
      <tr>
        <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008"><table style="width:100%" border="0" cellpadding="2" cellspacing="1" class="aa">
            <form method="POST" action="" onsubmit="return check();" name="formname">
              <tr>
                <td style="background-color:#F6F6F6" align="right"><span class="00002">*</span><span class="Font14b">电子邮件：</span></td>
                <td style="background-color:#FAFAFA" colspan="2" valign="top"><input name="M_Email" type="text" id="M_Email"   value="<%=rs_power("M_email").Value%>" size="30" maxlength="50" /></td>
              </tr>
              <tr>
                
              </tr>
              
              <tr>
                <td style="background-color:#F6F6F6" align="right">&nbsp;</td>
                <td style="background-color:#FAFAFA; height:11" colspan="2"><input type="submit" name="Submit" value="修改好了，提交" />
                    <input type="hidden" name="send" value="mod" />
                    <input name="Strpower" type="hidden" id="Strpower" value="<%=Member_type%>" /></td>
              </tr>
              <tr>
                <td style="height:6" colspan="3" align="right"></td>
              </tr>
            </form>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
