<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" CodeBehind="sendjx.aspx.vb" Inherits="b2bNet.Products_sendjx" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=AppConst.SiteName%>-<%=AppConst.SiteTitle%></title>
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<script type="Text/JavaScript" language="javascript">
function check_msg(){
	if (document.MSG.fromname.value==""){
		alert("您的姓名不能为空！")
		document.MSG.fromname.focus();
		return false;
	}
	if (document.MSG.from.value==""){
		alert("您的Email地址不能为空！")
		document.MSG.from.focus();
		return false;
	}
	if (document.MSG.object.value==""){
		alert("主要内容不能为空！")
		document.MSG.object.focus();
		return false;
	}
	MSG.submit();
	MSG.action="sendjx_msg.aspx";
	MSG.Submit_send.disabled=true;
	MSG.Submit_send.value='正在发送,请稍等...';
}
</script>
</head>
<body>
<!--#include file="~/Templets/Top.aspx"-->
<table style="background-color:#CCCCCC; width:980" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td style="background-color:#FFFFFF; height:22" class="00003"><table style="width:100%"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td style="background-color:#FFFFFF; width:1%"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/home.gif" /></td>
          <td style="background-color:#FFFFFF; width:99%">您当前位置:<a href="<%=AppConst.SiteUrl%>" target="_blank"><%=AppConst.SiteName%></a> &gt; <a href="index.html">产品展厅</a> &gt; 留言询价</td>
        </tr>
    </table></td>
  </tr>
</table>
<table style="width:980" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td style="height:4"></td>
  </tr>
</table>
<table  border="0" align="center" cellpadding="0" cellspacing="0" style="width:980px">
      <tr>
        <td style="background-color:<%=AppConst.Skincolor%>; height:24"><div align="center" style="color:#ffffff;font-size:16px"><b>留 言 询 价 单</b></div></td>
      </tr>
</table><table style="background-color:#FFFFFF; width:980"  border="0" align="center" cellpadding="4" cellspacing="1">
          <form name="MSG" method="post" onSubmit="return check_msg();">
            <tr>
              <td style="background-color:#F5F5F5; height:20; width:29%"><div align="right"><B>发送给</b>：</div></td>
              <td style="width:71%"><%=rs("M_name").Value%>
                  <input type="hidden" name="to" value="<%=rs("M_email").Value%>" />
				  <input type="hidden" name="toname" value="<%=rs("M_name").Value%>" /></td>
            </tr>
            <tr>
              <td style="background-color:#F5F5F5; height:20"><div align="right"><B>询价的信息</b>：</div></td>
              <td><%=rs1("P_name").Value%></td>
            </tr>
<tr>
              <td style="background-color:#F5F5F5; height:20"><div align="right"><strong>您的姓名：</strong></div></td>
              <td><input name="fromname" type="text" id="fromname" value="<%=rs_date("M_name").Value%>" />
              *</td>
            </tr>
            <tr>
              <td style="background-color:#F5F5F5; height:20"><div align="right"><strong>您的Email地址：</strong></div></td>
              <td><input name="from" type="text" id="from" value="<%=rs_date("M_email").Value%>" size="35" />
              *</td>
            </tr>
            <tr>
              <td style="background-color:#F5F5F5; height:20"><div align="right"><strong>您的电话：</strong></div></td>
              <td><input name="M_tel" type="text" id="M_tel" value="<%=rs_date("M_tel").Value%>" size="20" /></td>
            </tr>
            <tr>
              <td style="background-color:#F5F5F5; height:20"><div align="right"><strong>您的通讯地址：</strong></div></td>
              <td><input name="M_adder" type="text" id="M_adder" value="<%=rs_date("M_adder").Value%>" size="35" /></td>
            </tr>
            <tr>
              <td style="background-color:#F5F5F5; height:20"><div align="right"><strong>主题：</strong></div></td>
              <td><input name="title_t" type="text" id="title_t" value="我对您在<%=AppConst.SiteName%>发布的&#8220;<%=rs1("P_name").Value%>&#8221;很感兴趣" size="55" />
              <input name="title" type="hidden" id="title" value="<%=rs1("P_name").Value%>" />
              <input name="id" type="hidden" id="id" value="<%=rs1("id").Value%>" />
			  <input name="puid" type="hidden" value="<%=rs1("P_userid").Value%>" />
			   <input name="M_userid" type="hidden"  value="<%=AppConst.CookieUserID%>" /></td>
            </tr>
			
            <tr>
              <td style="background-color:#F5F5F5; height:20"><div align="right"><strong>主要内容：</strong></div></td>
              <td><textarea name="object" cols="40" rows="8" id="object"></textarea>
              *</td>
            </tr>
            <tr>
              <td style="background-color:#F5F5F5; height:20"><div align="right"></div></td>
              <td><input type="submit" name="Submit_send" value=" 发送 " /></td>
            </tr>
          </form>
        </table>
<table style="width:980"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td style="background-color:#FFFFFF; height:38" colspan="3"><font color="#666666">以上信息由企业自行提供，并由企业负责信息内容的真实性、准确性和合法性。<%=AppConst.SiteName%>对此不承担任何保证责任。</font></td>
  </tr>
  <tr>
    <td style="background-color:#FFFFFF; height:21; width:23%"><img src="../images/left_sort.gif" width="11" height="12" /> <a href="<%=AppConst.SiteUrl%>" class="Font14b">返回<%=AppConst.SiteName%>首页</a></td>
    <td style="background-color:#FFFFFF">&nbsp;</td>
    <td style="background-color:#FFFFFF; width:8%"><img src="../images/up_home.gif" width="11" height="11" /> <a href="#" class="Font14b">回到页首</a> </td>
  </tr>
</table>
<!--#include file="~/Templets/botton.aspx"-->
</body>
<%Page_Loaded()%>
</html>
