<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_User_guest_Send" %>
<%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(){
	if(document.all.M_AcknowledgmentUserid.value==""){
		alert("收件人不能为空！");
		document.all.M_AcknowledgmentUserid.focus();
		return false;
	}
	if(document.all.M_Title.value==""){
		alert("主题不能为空！");
		document.all.M_Title.focus();
		return false;
	}
	if(document.all.M_Info.value==""){
		alert("正文不能为空！");
		document.all.M_Info.focus();
		return false;
	}
	return true;
}

//选择好友
function getthisvalue(Strvalue){
	document.all.M_AcknowledgmentUserid.value=Strvalue;
}
//-->
</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_guest_company.aspx"><img src="images/guestbook_01.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="User_guest_Send.aspx"><img src="images/guestbook_02.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center">
          <div align="center"><a href="User_guest_xunjia.aspx?type=2"><img height="48" src="images/guestbook_03.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_guest_xunjia.aspx?type=1"><img height="48" src="images/guestbook_04.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_guest_xunjia.aspx?type=3"><img height="48" src="images/guestbook_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_system_main.aspx"><img height="48" src="images/guestbook_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="note"> 注意： 带 </span><span class="00002">*</span><span class="note"> 号的为必填项！ </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>
        <form id="Form1" method="post" name="form" runat="server" enctype="multipart/form-data" onsubmit="return check();">
          <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008"><table style="background-color:#F6F6F6; width:100%"  border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
                <tr>
                  <td style="background-color:#F6F6F6" align="right" valign="top"><span class="00002">*</span><span class="note"> </span>发送给：</td>
                      <td style="background-color:#EEF5F9"><input name="M_AcknowledgmentUserid" value="<%=Request("userid")%>" size="14" maxlength="16" />
                        <font color="#999999">
                          <select name="select" onchange="getthisvalue(this.value)">
                                      <option value="">从商友中选择收件人</option>
                                      <%=GetFriendOptions()%>
                                  </select>
                        (请填写对方的会员登录名)</font></td>
                          </tr>
                          <tr>
                            <td style="background-color:#F6F6F6" align="right" valign="top"><span class="00002">*</span><span class="note"> </span>主题： </td>
                            <td style="background-color:#EEF5F9; height:34"><input name="M_Title" id="M_Title" size="55" maxlength="64" />                            </td>
                          </tr>
                          <tr>
                            <td style="background-color:#F6F6F6" align="right" valign="top"><span class="00002">*</span><span class="note"> </span>正文： </td>
                            <td style="background-color:#EEF5F9">
                              <textarea name="M_Info" cols="53" rows="10" id="M_Info"></textarea>
                              <br /><font color="#999999">（本留言系统不支持html代码，请不要在文本框中输入html代码）</font><br />
                             </td>
                          </tr>
                         <tr><td style="background-color:#F6F6F6"></td>
                            <td style="background-color:#EEF5F9">
                              <input name="SendMeConact" type="checkbox" id="SendMeConact" value="checkbox" />
                            发送我的联系方式<br>
                            <a href="user_company_modi.aspx#a2" target="_blank">检查我的联系信息是否有误</a> </td>
                          </tr>
                          <tr>
                            <td style="background-color:#F6F6F6" align="right" valign="top">&nbsp;</td>
                            <td style="background-color:#EEF5F9">&nbsp;</td>
                          </tr>
                          <tr>
                            <td style="background-color:#F6F6F6" align="right" valign="top">&nbsp;</td>
                            <td style="background-color:#EEF5F9"><table style="width:100%">
                                <tr>
                                  <td>附件一：</td>
                                  <td>
                                      <asp:FileUpload ID="fileA" runat="server" /></td>
                                </tr>
                                <tr>
                                  <td style="height: 23px">附件二：</td>
                                  <td style="height: 23px">
                                      <asp:FileUpload ID="fileB" runat="server" /></td>
                                </tr>
                                <tr>
                                  <td>附件三：</td>
                                  <td>
                                      <asp:FileUpload ID="fileC" runat="server" /></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td style="background-color:#F6F6F6" align="right" valign="top">&nbsp;</td>
                            <td style="background-color:#EEF5F9">·附件文件 只能为<span class="00002"> .gif .jpg .rar .zip .doc .xls .txt </span>格式的文件<br>
                        ·单个附件大小不得超过 <span class="00002">1024KB</span> <br>
                        ·如果您的附件过大这可能会需要一段比较长的时间，请耐心等待。</td>
                          </tr>
                          <tr>
                            <td style="background-color:#F6F6F6" align="right" valign="top">&nbsp;</td>
                            <td style="background-color:#EEF5F9">
                                <div style="width:300px" align="center">
                                <br />
                                <asp:Button id="Submit" runat="server" Text=" 发送 " />&nbsp;
                                <input type="reset" value=" 重填 " name="reset" /></div>
                            </td>
                        </tr>
          </table></td>
        </form>
      </tr>
    </table></td>
  </tr>
</table>
<%Page_Loaded()%>
</html>
