<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!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">
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=webname%></title>
<link rel="stylesheet" href="<%=HOPE_InstallDir%>blue/blue.CSS" type="text/css" />
<%
if Not ChkPost then response.redirect ("chklogin.asp?login=4")
Response.Expires = 0
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "cache-control", "no-store"
%>
</head>
<!--#include file="../inc/head.asp"-->
 <body>
 <div class="juzhong">
 <TABLE width=783 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
  <TR>
     <TD vAlign=top align=middle width="100%" class=outborder>
<%	
dim email
email=Replace_Text(Request.Form("email"))
sql="select * from Websen_corporation where flag=1 and  email='"&email&"'"
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof or rs.bof then
%>
<SCRIPT language=javascript>
//--检测登陆-->

	   function check() {

	      if (trim(document.Form1.email.value) =="")
{
alert("请输入您的电子邮箱地址！");
document.Form1.email.focus();
document.Form1.email.select();
return false;
}
var str1 = document.Form1.email.value
if(str1.indexOf("@") == -1 || str1.indexOf(".") == -1){ 
alert("E-mail格式不正确,请重新填写！"); 
document.Form1.email.focus();
document.Form1.email.select();
return false; 
} 
		    
		 }

           function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 

//-->
</SCRIPT>
      <TABLE width="100%" border=1 cellPadding=6 cellSpacing=0 bordercolor="#F1F1F1">
        <TBODY>
        <TR>
          <TD class=L align=middle bgColor=F1F1F1><span style="font-weight: bold"><FONT 
            color=#CC3300>电子邮箱地址输入错误!</FONT></span></TD>
        </TR>
        <TR>
          <TD class=LL align=middle>
            <P><BR>
            <FORM action="<%=HOPE_InstallDir%>login/getmemberid1.asp" name="Form1" onSubmit="javascript:if(check()==false) return false;"
            method=post>您输入的电子邮箱地址有误，或者不存在，请检查后重新输入： <BR>电子邮箱： 
                  <INPUT             name=email maxlength="50">
                   <INPUT type=submit value=" 确认 " name=Submit> 
            </FORM>
            <BR>
                <STRONG>您可以<A   href="register.asp"><font color="red">点击这里</font></A>重新进行注册<BR>
        <BR></STRONG></TD></TR></TBODY></TABLE>
<%
else
user=rs("user")
email=rs("email")
name1=rs("name")
ch=rs("ch")
pass=rs("pass")
pharry=split(rs("phone"),"&nbsp;")
Dim l_message
' 声明变量
	l_message = l_message & "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>"&VbCrLf
	l_message = l_message & "<html xmlns='http://www.w3.org/1999/xhtml'>"&VbCrLf
	l_message = l_message & "<HEAD>"&VbCrLf
	l_message = l_message & "<META content=""MSHTML 6.00.3790.279"" name=GENERATOR>"&VbCrLf
	l_message = l_message & "<meta http-equiv=""Content-Type"" content=""text/html; charset=gb2312"">"&VbCrLf
	l_message = l_message & "<TITLE>注册会员成功</TITLE>"&VbCrLf
	l_message = l_message & "<link rel='stylesheet' href='../hc360/hcB2B.css' type='text/css' />"&VbCrLf
	l_message = l_message & "</HEAD>"&VbCrLf
	l_message = l_message & "<BODY text=#000000 bgColor=#E6E6E6 leftMargin=0 background="""" topMargin=0 "&VbCrLf
	l_message = l_message & "repeat-x; marginheight=""0"" marginwidth=""0""> "&VbCrLf
	l_message = l_message & "<CENTER> "&VbCrLf
	l_message = l_message & "  <BR> "&VbCrLf
	l_message = l_message & "  <TABLE cellSpacing=0 cellPadding=1 width=520 bgColor=cc3300 border=0> "&VbCrLf
	l_message = l_message & "    <TBODY> "&VbCrLf
	l_message = l_message & "      <TR> "&VbCrLf
	l_message = l_message & "        <TD> <TABLE cellSpacing=0 cellPadding=0 width=""100%"" bgColor=#ffffff "&VbCrLf
	l_message = l_message & "        border=0> "&VbCrLf
	l_message = l_message & "            <TBODY> "&VbCrLf
	l_message = l_message & "              <TR> "&VbCrLf
	l_message = l_message & "                <TD align=middle> <br> "&VbCrLf
	l_message = l_message & "                  <table width=""500"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0""> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td width=""160"" class=""S""></td> "&VbCrLf
	l_message = l_message & "                      <td align=""center"" class=""m"" style=""border-bottom: #A7A7A7 1 solid""><font color=""#CC3300"">找回登录名邮件通知信</font></td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                  </table> "&VbCrLf
	l_message = l_message & "                  <BR> "&VbCrLf
	l_message = l_message & "                  <table width=""449"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0""> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td width=""449"" height=""20""  style=""border-bottom: #F1F1F1 1 solid"">尊敬的 <strong> "&name1&" </strong> ("&ch&") ：您好！ </td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""30""  style=""border-bottom: #F1F1F1 1 solid""><font color=#cc3300><b>以下是您在"&webname&"的登录名！</b></font></td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""115"" align=""center"" background="""&weburl&"emailpic/joinin_back.gif""><font color=""#FFFFFF""> 建议您在笔记本记录下您的信息: </strong></font> "&VbCrLf
	l_message = l_message & "                        <div style=""padding-top:10px""></div> "&VbCrLf
	l_message = l_message & "                        <table width=""80%"" border=""0"" cellspacing=""0"" cellpadding=""0""> "&VbCrLf
	l_message = l_message & "                          <tr> "&VbCrLf
	l_message = l_message & "                            <td height=""21"" align=""center"" bgcolor=""737373""><font color=""#FFFFFF""><strong>会员登录名是：</strong><b>"&user&"</b></font></td> "&VbCrLf
	l_message = l_message & "                          </tr> "&VbCrLf
	l_message = l_message & "                        </table></td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                  </table> "&VbCrLf
	l_message = l_message & "                  <table width=""457"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0""> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20""  valign=""bottom""  style=""border-bottom: #F1F1F1 1 solid;padding-left:18px;padding-right:18px"">&nbsp;</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20""  valign=""bottom""  style=""border-bottom: #F1F1F1 1 solid;padding-left:18px;padding-right:18px"">　您已经验证成功，现在就可以：</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20"" valign=""bottom"" class=""S""  style=""border-bottom: #F1F1F1 1 solid;padding-left:70px;padding-right:18px"">·<strong><a href="""&weburl&"member/"" target=""_blank"">发布供应信息</a></strong>，宣传您的产品！</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20"" valign=""bottom"" class=""S""  style=""border-bottom: #F1F1F1 1 solid;padding-left:70px;padding-right:18px"">·<strong><a href="""&weburl&"member/"" target=""_blank"">发布求购信息</a></strong>，您的需要，让卖家知道！</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20"" valign=""bottom"" class=""S""  style=""border-bottom: #F1F1F1 1 solid;padding-left:70px;padding-right:18px"">·<strong><a href="""&weburl&"member/"" target=""_blank"">发布公司介绍</a></strong>，把您的企业实力展示给您的潜在客户！</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20"" valign=""bottom"" class=""S""  style=""border-bottom: #F1F1F1 1 solid;padding-left:70px;padding-right:18px"">·<strong><a href="""&weburl&"tradeinfo/index.html"" target=""_blank"">查看供应信息</a></strong>，寻找供应商与产品！</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20"" valign=""bottom"" class=""S""  style=""border-bottom: #F1F1F1 1 solid;padding-left:70px;padding-right:18px"">·<a href="""&weburl&"staric/tm_down.html"" target=""_blank""></a>，</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20"" valign=""bottom"" class=""S""  style=""border-bottom: #F1F1F1 1 solid;padding-left:70px;padding-right:18px""><strong>·<a href="""&weburl&"member/"" target=""_blank"">订制商机信息</a></strong>，让您第一时间把握市场行情！</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""20"" align=""center"" valign=""bottom""  style=""border-bottom: #F1F1F1 1 solid;padding-left:18px;padding-right:18px"">&nbsp;</td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                  </table> "&VbCrLf
	l_message = l_message & "                  <BR> "&VbCrLf
	l_message = l_message & "                  <table width=""100%""  border=""0"" cellspacing=""0"" cellpadding=""0""> "&VbCrLf
	l_message = l_message & "                    <tr> "&VbCrLf
	l_message = l_message & "                      <td height=""40"" align=""center"" bgcolor=""cc3300""> <font color=""#FFFFFF""> 如有任何疑问，请联系我们，我们将热诚为您服务！<BR> "&VbCrLf
	l_message = l_message & "                        服务热线：<STRONG>"&Systemtel&"</STRONG> 您也可以通过<A href="""&weburl&"feedback/index.html"" class=""lh15 nol"" target=""_blank""><font color=""#FFFFFF"">网上留言</font></A>的方式，咨询我们！</A></font></td> "&VbCrLf
	l_message = l_message & "                    </tr> "&VbCrLf
	l_message = l_message & "                  </table></TD> "&VbCrLf
	l_message = l_message & "              </TR> "&VbCrLf
	l_message = l_message & "            </TBODY> "&VbCrLf
	l_message = l_message & "          </TABLE></TD> "&VbCrLf
	l_message = l_message & "      </TR> "&VbCrLf
	l_message = l_message & "    </TBODY> "&VbCrLf
	l_message = l_message & "  </TABLE> "&VbCrLf
	l_message = l_message & "  <BR> "&VbCrLf
	l_message = l_message & "  <BR> "&VbCrLf
	l_message = l_message & "  <TABLE style=""BORDER-TOP: medium none"" cellSpacing=0 cellPadding=6 width=""100%"" "&VbCrLf
	l_message = l_message & "border=0 1px solid; #ffffff> "&VbCrLf
	l_message = l_message & "    <TBODY> "&VbCrLf
	l_message = l_message & "      <TR> "&VbCrLf
	l_message = l_message & "        <TD align=middle bgColor=#666666><a href="""&weburl&""" target=""_blank"" class=""M nol""><FONT "&VbCrLf
	l_message = l_message & "      color=#ffffff>"&webname&"·中国，促进全球企业电子商务进程！</FONT></a></TD> "&VbCrLf
	l_message = l_message & "      </TR> "&VbCrLf
	l_message = l_message & "    </TBODY> "&VbCrLf
	l_message = l_message & "  </TABLE> "&VbCrLf
	l_message = l_message & "</CENTER> "&VbCrLf
	l_message = l_message & "</BODY>"&VbCrLf
	l_message = l_message & "</HTML>"&VbCrLf
	l_message = l_message & ""&VbCrLf
 	
   	
topic="您在"&webname&"的会员登录名" ' 信件主题
mailbody=l_message ' 信件内容

SendMailto SMTPServer,SystemEmail,"admin",HOPE_MailUser,HOPE_MailPwd,"登录名",email,topic,mailbody

sendjmail email,topic,mailbody 'email为注册者邮箱
 
%>
<table width="100%" border="1" style="border-collapse:collapse" cellpadding="6" cellspacing="0" bordercolor="#F1F1F1">
            <tr> 
              <td align="center" bgcolor="F1F1F1" class="L"><span style="font-weight: bold"><font color="#CC3300">登录名已发送!</font></span></td>
            </tr>
            <tr>
              <td height="150" align="center" class="LL"><br>
                  <br>
               <font color="#0099CC"><b> 您的登录名是已经发送到您的邮箱，请查收。 </b></font>
              </td>
            </tr>
        </table>
<%end if

%>				
</TD></TR></TBODY></TABLE>
 <Br> 
</div>
  <div class="nav_778">
   <!--#include file="../inc/end.asp"-->
   </div>
</body></html>
<%
conn.close
set conn=nothing
%>