<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmailTo.aspx.cs" Inherits="web.EmailTo" %>

<!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" >
<head runat="server">
<meta http-equiv="content-type" content='text/html;charset=utf-8'/>
    <title>推荐<%=pds.CompanyName%>"这家店铺给你的好友--<%=config.SiteTitle %></title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<link href="img/css/base.css" rel="stylesheet" type="text/css" media="all" />

<link href="img/css/index.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/style.css" rel="stylesheet" type="text/css" media="all" />

 <link href="img/css/Dialog.css" rel="stylesheet" type="text/css" />
    	 <script type="text/javascript">
 function SetCwinHeight(cs){
  var bobo=document.getElementById(cs); //iframe id
  if (bobo){
   if (bobo && !window.opera){
    if (bobo.contentDocument && bobo.contentDocument.body.offsetHeight){
     bobo.height = bobo.contentDocument.body.offsetHeight;
    }else if(bobo.Document && bobo.Document.body.scrollHeight){ bobo.height = bobo.Document.body.scrollHeight-0;
         }
   }
    else
    {
        if(bobo.contentWindow.document && bobo.contentWindow.document.body.scrollHeight)
            bobo.height = bobo.contentWindow.document.body.scrollHeight;//Opera
    }
  }
 }
</script>
</head>
<body>

		<iframe id=head src="modHtml/header.html" onload="Javascript:SetCwinHeight('head')" width=100% height="180"  frameborder=no border=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>

<form id="form1" runat="server">


         <div class="news_dt">
    <ul>
    <li class="dt_left"></li>
      <li class="dt_bg">
        <div align="left" style="font-weight: normal;">  您的位置：首页 → 推荐<%=pds.CompanyName%>"这家店铺给你的好友</a> 
         </div>
      </li>
      <li class="dt_right"></li>
    </ul>
    </div>
	<div class='mframe'>
      <table width="990" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px #DADADA solid;">
        <tr> 
          <td width="10%" height="46">
<div align="right"> &nbsp;</div></td>
          <td width="90%">
              <asp:Label ID="lbbt" runat="server"></asp:Label></td>
        </tr>
        <tr bgcolor="#F3F3F3"> 
          <td height="35"> 
            <div align="right">&nbsp;你朋友的姓名：</div></td>
          <td width="90%">&nbsp; 
            <asp:TextBox ID="Tbtoname" runat="server"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Tbtoname"
                ErrorMessage="你朋友的姓名必须填写"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr> 
          <td height="35">
<div align="right"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;你的姓名：</div></td>
          <td><div align="left">&nbsp; 
              <asp:TextBox ID="Tmfromname" runat="server"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Tmfromname"
                ErrorMessage="你的姓名必须填写"></asp:RequiredFieldValidator>
            </div></td>
        </tr>
        <tr bgcolor="#F3F3F3"> 
          <td height="100" bgcolor="#F3F3F3"> 
            <div align="right"> &nbsp;&nbsp;&nbsp;&nbsp;EMAIL地址：</div></td>
          <td> 
            <div align="left">&nbsp; 
              <asp:TextBox ID="Tbemail" runat="server" 
                TextMode="MultiLine" Width="351px" Height="55px"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Tbemail"
                ErrorMessage="Email地址必须填写"></asp:RequiredFieldValidator>
              <br />
              支持EMAIL群发,多个EMAIL请用"|"分开,比如:dddd@163.com|rrr@163.com
            </div></td>
        </tr>
        <tr> 
          <td height="146"> 
            <div align="right"> &nbsp;&nbsp;&nbsp;&nbsp;EMAIL内容：</div></td>
          <td><div align="left">&nbsp; 
              <asp:TextBox ID="Tbcontent" runat="server" Height="124px" TextMode="MultiLine" Width="523px"></asp:TextBox>
            </div></td>
        </tr>
        <tr> 
          <td height="35">&nbsp;</td>
          <td><div align="left">&nbsp; 
              <asp:Button ID="Button1" runat="server" class="def_btt" style="vertical-align:middle;" Text="立即发送" OnClick="Button1_Click" />
            </div></td>
        </tr>
      </table>
	    </div>

    </form>
				<iframe id="help" src="modHtml/helper.html"  onload="Javascript:SetCwinHeight('help')" width=100% frameborder=no  MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>
	
    <script language="JavaScript" src="stat.aspx" type="text/JavaScript"></script>
</body>
</html>
