<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../conn/nosql.asp"-->
<!--#include file="../../conn/config.asp"-->
<!--#include file="../../conn/md5.asp"-->
 <%
if session("user")="" then
response.write "<script language='javascript'>"
response.write "alert('您没还有登录，请登录后再访问本页！');"
response.write"this.location.href='/index.asp';</SCRIPT>"
response.end
end if
if session("id")="" then 
response.write "<script language='javascript'>"
response.write "alert('您没还有登录，请登录后再访问本页！');"
response.write"this.location.href='/index.asp';</SCRIPT>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>交易助手管理操作平台_<%=webname%></title>
<link rel="stylesheet" href="/css.css" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>
<body><!--#include file="../../top.asp"-->
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
    <td width="970"><table width="970"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="10"><img src="/img/m_left.gif" width="10" height="20"></td>
          <td width="950" bgcolor="#FFFFFF"></td>
          <td width="10"><img src="/img/m_right.gif" width="10" height="20"></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="188" colspan="3"><table width="950"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="1" bgcolor="efefef"></td>
                <td width="200" height="77" valign="top"><!--#include file="../left.asp"--></td>
                <td width="1" bgcolor="efefef"></td>
                <td valign="top"><p>&nbsp;</p>
                    <BR>
                    <FORM name="Form1" action="toldmyfriend_ok.asp" method=post onsubmit="return Form1_onsubmit();">
                      <TABLE width="578" border=0 align="center" cellPadding=0 cellSpacing=0>
                        <TBODY>
                          <TR>
                            <TD vAlign=top align=middle>
                              <TABLE class=fbg1 width="100%" board="0">
                                <TBODY>
                                  <TR>
                                    <TD height="25">
                                      <DIV id=nav><strong>邀请非会员朋友加入“我的好友”</strong></DIV></TD>
                                  </TR>
                                </TBODY>
                              </TABLE>
                              <TABLE width="100%" 
                  border=0 align=center cellPadding=0 cellSpacing=1 bgcolor="#BBD7FF">
                                <TBODY>
                                  <TR>
                                    <TD height="25" bgcolor="#e8f4ff"><B><font color="#Ff6600">&nbsp;</font>对方email地址：
                                          <INPUT size=55 name=email class="wenbenkuang">
                                    </B></TD>
                                  </TR>
                                  <TR>
                                    <TD height="25" bgcolor="#e8f4ff"><b><font color="#Ff6600">&nbsp;</font><font 
                  color=#666666>（如果要发送给多人，请用逗号将邮件地址分开）</font></b></TD>
                                  </TR>
                                  <TR>
                                    <TD height="25" bgcolor="#e8f4ff"><B><font color="#Ff6600">&nbsp;</font>我的昵称：
                                          <INPUT size=30 name=myname class="wenbenkuang">
                                    </B></TD>
                                  </TR>
                                  <TR bgColor=#FFFFFF>
                                    <TD height="30" class=C style="LINE-HEIGHT: 150%"><strong><span class="M"><B><font color="#Ff6600"></font></B><B><font color="#Ff6600">&nbsp;</font></B>
                                            <INPUT type=submit value="立即提交" name=post class="go-wenbenkuang">
                                    </span></strong></TD>
                                  </TR>
                                  <TR bgColor=#FFFFFF>
                                    <TD height="30" class=C style="LINE-HEIGHT: 150%"><B><font color="#Ff6600">&nbsp;</font></B> <IMG src="../images/icon_3.gif" 
      align=absMiddle> <A 
            href="haoyou.asp">返回<%=webname%>首页</A> </TD>
                                  </TR>
                                </TBODY>
                            </TABLE></TD>
                          </TR>
                        </TBODY>
                      </TABLE>
                      <SCRIPT language=javascript>
//-->
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;
           } 

//--> 


function Form1_onsubmit()
 {
if (trim(document.Form1.email.value) =="")
{
alert("请输入对方email地址！");
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; 
} 
if (trim(document.Form1.myname.value) =="") 
{ 
alert("请输入您的昵称！"); 
document.Form1.myname.focus(); 
return (false); 
} 

}
                    </SCRIPT>
                      <BR>
                    </FORM>
                </td>
              </tr>
          </table></td>
        </tr>
    </table></td>
    <td valign="top"><img src="/img/index_img.jpg" width="10"></td>
  </tr>
</table>
<!--#include file="../../end.asp"-->
</body>
</html>
