<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Admin_xunjialist" %>
<%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="inc/admin_style.css" rel="stylesheet" type="text/css" /><link href="inc/style.css" rel="stylesheet" type="text/css" />
<title><%=AppConst.SiteName%></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<script type="Text/JavaScript" language="javascript">
function selectall(){
	for(i=0;i!=document.news.elements.length;i++){
		document.news.elements[i].checked=!document.news.elements[i].checked;
	}
}
</script>
</head>

<body>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="height:20"><table style="height:22; width:100%" border="0" cellpadding="0" cellspacing="1">
      <tr class="topbg">
        <td style="height:22" align="center" class="topbg"><strong>留 言 询 价 列 表</strong></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table style="width:100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="height:29; width:33%">&nbsp;</td>
        <td style="width:24%">&nbsp;</td>
        <td style="width:43%"><form name="form1" method="get" action="" style="margin:0px;">
          搜索：
          <input name="keyword" type="text" id="keyword" size="40" />
                <input type="submit" name="Submit" value="搜索" />
        </form>
        </td>
      </tr>
    </table>
    <table style="width:100%"  border="0" cellpadding="2" cellspacing="1" class="border">
      <tr>
        <td style="height:5" colspan="7"></td>
        </tr>
      <tr class="Title">
        <td style="height:22; width:9%" align="center"><strong>I D</strong></td>
        <td style="width:33%" align="center"><strong>信息标题</strong></td>
        <td style="width:18%" align="center"><strong>发信人EMAIL</strong></td>

        <td style="width:15%" align="center"><strong>收信人EMAIL</strong></td>
        <td style="width:16%" align="center"><strong>时 间</strong></td>
        <td style="width:9%"><div align="center"><strong>操 作</strong></div></td>
      </tr>
	  <form method="get" name="news">
	  <%dim num=0 : do while not rs.eof andalso num<rs.pagesize%>
      <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
        <td style="height:22" align="center"><%=rs("ID").Value%></td>
        <td>
		<a href="<%=GetDetailUrl(rs("I_id").Value, Iif(IsTrue(Rs("S_type").Value), "info", "products"))%>" target="_blank"><%=rs("title").Value%></a>
		</td>
        <td align="center"><%=rs("Formemail").Value%></td>
        <td align="center"><%=rs("toemail").Value%></td>
        <td align="center"><%=rs("s_date").Value%></td>
        <td><table style="width:88%"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr align="center"><td style="width:33%"><a href="Admin_xunjiaedit.aspx?id=<%=rs("id").Value%>"><img src="images/A_edit_B.gif" alt="编辑新闻" width="20" height="19" border="0" /></a></td>
            <td style="width:33%"><input type="checkbox" name="id" value="<%=rs("id").Value%>" class="box1" /></td>
          </tr>
        </table></td>
      </tr>
	  <%num=num+1 : rs.movenext() : loop%> 
      <tr>
        <td style="height:22" colspan="7"><div align="right"><input type="button" name="Submit22" value="反选" onclick="selectall()" />
            <input type="submit" name="Submit2" value="删除所选" /></div></td>
        </tr></form>
    </table></td>
 </tr>
</table>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td style="height:22"><%=Pagination(rs.pagecount,IsNull(Request("page"),1),rs.recordcount,rs.pagesize)%></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
