<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_User_guest_xunjia" %>
<%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 TableMouseOverB(Obj,strtitle){
	Obj.style.backgroundColor='#f7f7f7';
	Obj.title=strtitle;
}
function TableMouseOutB(Obj){
	Obj.style.backgroundColor='';
}
//提示信息
function Working(URL,Msg){
	if(confirm(Msg)){
		window.location=URL;
	}
}
//反选复选框
//反选ＩＤ复选框
function selectAllCheckBox(obj)
{
	if(obj.length)
	{
		for(var i=0;i<obj.length;i++)
		{
			obj[i].checked=!obj[i].checked
		}
	}else{
		
		obj.checked=!obj.checked
	}
}
//操作提示
function WorkSubmit(send){
	if(confirm("您确定要进行您现在的操作吗？")){
		form.action="User_guest_action.aspx?send="+send+"";
		form.submit();
		}
}

</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="00002"><%=cplytj()%></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>
            <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008"><table style="width:100%"  border="0" cellpadding="3" cellspacing="1">
              <form name="form" method="Post">
                <tr style="background-color:#F0F0F0" align="center">
                  <td style="height:26; width:7%"><strong>编号</strong></td>
                  <td style="width:39%"><strong> 主题 </strong></td>
                  <td style="width:24%"><strong>时间</strong></td>
                  <td style="width:16%"><strong>发件人</strong></td>
                  <td style="width:8%"><strong>状态</strong></td>
                  <td style="width:6%"><strong>选择</strong></td>
                </tr>
              <%Dim i = 0 : Do While Not Rs.EOF AndAlso i < Rs.PageSize%>
                <tr style="background-color:#FFFFFF" align="center" onmouseover="TableMouseOverB(this,'')" onmouseout="TableMouseOutB(this)">
                  <td style="height:27; width:7%" align="center"><%=(i + 1) + (IsNull(Request("page"), 1) - 1) * rs.Pagesize%></td>
                  <td style="width:39%" align="left"><a href="product_guestbook_view.aspx?id=<%=rs("id").Value%>"><%=rs("Title").Value%></a> </td>
                  <td style="width:24%" align="center"><%=rs("s_date").Value%></td>
                  <td align="center"><%=Rs("formname").Value%></td>
                  <td style="width:8%" align="center"><%If IsTrue(Rs("M_Read").Value) Then%><span class=""note"">已读</span><%Else %><Font Color=""#FF0000"">未读</Font><%End If%></td>
                  <td style="width:6%" align="center"><input name="id" type="checkbox" id="id" value="<%=Rs("Id").Value%>" /></td>
                </tr>
              <%i = i + 1 : Rs.MoveNext() : Loop%>
                <tr style="background-color:#F9F9F9" align="right">
                  <td style="height:27" colspan="6"><table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td style="width:75%">&nbsp;</td>
                        <td style="width:25%" align="right"><input name="Submit" type="button" class="textbord" value="反选" onclick="selectAllCheckBox(form.id)" />
                            <input name="Submit2" type="button" class="textbord" value="删除所选" onclick="WorkSubmit('3');" /></td>
                      </tr>
                  </table></td>
                </tr>
              </form>
            </table>
              <table style="width:100%"  border="0" cellspacing="0" cellpadding="3">
                <tr>
                  <td><%=Pagination(rs.pagecount,IsNull(Request("page"),1),rs.recordcount,rs.pagesize,"")%></td>
                </tr>
              </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
</body>
<%Page_Loaded()%>
</html>