<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_products_manage_passed" Codebehind="products_manage_passed.aspx.vb" %>

<!--@@#include file="inc/Admin_fun.aspx"-->
<!--@@#include file="inc/Admin_conn.aspx"-->
<!--代码：[摘要]  Const PurviewLevel = "Products"  checklogin()'--...-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/style.css" rel="stylesheet" type="text/css" />
<link href="inc/admin_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" src="inc/title.js"></script>
<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" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width:25"><div align="center"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/gojump01.gif" width="16" height="16" /></div></td>
        <td><a href="products_manage_passed.aspx">已审产品</a> | <a href="products_manage_nopass.aspx">待审产品</a> | <a href="products_manage_tuijian.aspx">推荐产品</a> | <a href="products_manage_hot.aspx">热门产品</a></td>
        <td style="width:400"><table style="width:400"  border="0" align="right" cellpadding="2" cellspacing="0">
          <form name="form1" method="get" action="products_manage_search.aspx">
            <tr>
              <td style="height:25"><div align="right">搜索关键字：</div></td>
              <td><div align="center">
                  <input name="keyword" type="text" id="keyword" size="30" />
              </div></td>
              <td><input type="submit" name="Submit" value="  搜索 " /></td>
            </tr>
          </form>
        </table></td>
      </tr>
    </table><table style="width:100%"  border="0" cellpadding="2" cellspacing="1" class="border">
      <tr class="Title">
        <td style="height:22; width:40"><div align="center"><strong>ID</strong></div></td>
        <td><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></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>
	  <form method="get" name="news">
	  <% For pagei As Integer = 1 To rs.pagesize : If rs.eof Or pagei > rs.pagesize Then Exit For%>
      <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
        <td style="height:22; width:40"><div align="center"><%=rs("ID").Value%></div></td>
        <td><a href="products_manage_edit.aspx?id=<%=rs("id").Value%>" title="<%=rs("c_name").Value%>"><%=rs("P_name").Value%></a></td>
        <td style="width:100"><div align="center">
              <%IF rs("p_smallpic").Value<>"" THEN%>
              <img src="<%=AppConst.SiteUrl%>/upload/info/<%=rs("p_smallpic").Value%>" alt="<%=rs("c_name").Value%>" width="25" height="25" style="cursor:hand " onmouseover="this.width=60;this.height=60" onmouseout="this.width=25;this.height=25" />
              <%ELSE%>
              <font color="#cccccc">无图</font>
              <%end if%>
        </div></td>
        <td style="width:100" align="center"><a href="<%=GetCompanyUrl()%>" target="_blank" title="查看该用户的企业网站"><%=rs("P_Userid").Value%></a></td>
        <td style="width:100" align="center"><%if rs("P_from").Value="" then%>未知<%else%><%=rs("P_from").Value%><%end if%></td>
        <td style="width:100" align="center"><%=String.Format("{0:yyyy年MM月dd日}", rs("datatime").Value)%></td>
        <td style="width:100"><table style="width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr align="center">
            <td style="width:33%"><a href="products_manage_set.aspx?id=<%=rs("id").Value%>&page=<%=LngPage%>">设置</a></td>
            <td style="width:33%"><a href="products_manage_edit.aspx?id=<%=rs("id").Value%>&page=<%=LngPage%>">修改</a></td>
            <td style="width:33%"><input type="checkbox" name="id" value="<%=rs("id").Value%>" class="box1" /></td>
          </tr>
		 
        </table></td>
      </tr>
	  <%rs.movenext() : Next%> 
      <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)%></td>
  </tr>
</table>
<!--@@#include file="copyright.aspx"-->
</body>
</html>
<!--代码：[摘要]   RS.close:set rs=nothing  '---------------------...-->
