<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Company_list" Codebehind="Company_list.aspx.vb" %>
<!--@@#include file="inc/Admin_fun.aspx"-->
<!--@@#include file="inc/Admin_conn.aspx"-->
<!--代码：[摘要]  Const PurviewLevel = "Company"  checklogin()'---...-->
<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>
<script type="Text/JavaScript" language="javascript" src="inc/title.js"></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><%=tjtype%>列表</strong></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table style="width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
          
        <tr>
          <td style="height:27; width:30" align="center"><img src="../<%=AppConst.Skinpath%>/gojump01.gif" width="16" height="16" /></td>
          <td> <a href="Company_list.aspx">全部企业</a>  | 
            <a href="Company_list.aspx?tj=1">首页推荐</a> | 
          <a href="Company_list.aspx?tj=2">人才频道</a>  | 
          <a href="Company_list.aspx?tj=4">商机频道</a>  | 
          <a href="Company_list.aspx?tj=5">产品频道</a>  | 
          <a href="Company_list.aspx?tj=6">企业大全</a>  | 
		  <a href="Company_list.aspx?tj=7">热门推荐</a></td>
          <td style="width:240"><table style="width:240"  border="0" align="right" cellpadding="2" cellspacing="0">
            <form name="form1" method="get" action="Company_Search.aspx">
              <tr>
                <td style="height:25; width:54%"><div align="right">搜索关键字：</div></td>
                <td style="width:29%"><div align="center">
                    <input name="keyword" type="text" id="keyword" size="10" />
                </div></td>
                <td style="width:17%"><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:140"><div align="center"><strong>发布人</strong></div></td>
        <td style="width:100"><div align="center"><strong>法人代表</strong></div>          <div align="center"></div></td>
        <td style="width:170"><div align="center"><strong>管 理 操 作</strong></div></td>
      </tr>
	  <form method="get" name="news">
	  <%Dim pagei : For pagei = 0 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="Company_edit.aspx?id=<%=rs("id").Value%>"><%=rs("C_name").Value%></a><%If Not IsNull(rs("C_tjunit").Value) Then%>|<font color="ff0000">已审</font><%End if%></td>
        <td style="width:100">
        <%If rs("M_Habitus").Value = 3 Then%><div align="center">免费会员</div>
        <%ElseIf rs("M_Habitus").Value = 6 Then%><div align="center"><%=AppConst.SiteNamefw%>会员</div>
        <%ElseIf rs("M_Habitus").Value = 11 Then%><div align="center">金牌会员</div><%End If%></td>
        <td style="width:140"><div align="center"><a href="../<%=AppConst.Userpath%>/chkmember.aspx?user=<%=rs("C_Userid").Value%>&pass=<%=rs("M_password").Value%>" target="_blank"><%=rs("C_Userid").Value%></a> [<a href="Member_jifeng.aspx?page=0&Adduser=<%=rs("C_Userid").Value%>" title="为该会员充积分值">充值</a>]</div></td>
        <td style="width:100"><div align="center"><%=rs("C_Ceo").Value%></div>          <div align="center"></div></td>
        <td style="width:170"><table style="width:170"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td style="width:30"><div align="center"><a href="<%=GetCompanyUrl()%>" target="_blank">查看</a></div></td>
            <td style="width:30"><div align="center"><a href="Company_set.aspx?id=<%=rs("id").Value%>&tj=<%=tj%>&page=<%=LngPage%>">设置</a></div></td>
            <td style="width:30"><div align="center"><a href="Company_edit.aspx?id=<%=rs("id").Value%>&tj=<%=tj%>&page=<%=LngPage%>">修改</a></div></td>
            <td style="width:30"><div align="center"><a href="Company_action.aspx?action=tjpass&id=<%=rs("id").Value%>&tj=<%=tj%>&page=<%=LngPage%>">审核</a></div></td>
            <td style="width:30"><a href="Company_action.aspx?action=esc&id=<%=rs("id").Value%>&tj=<%=tj%>&page=<%=LngPage%>">消荐</a></td>
            <td style="width:20"><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="6"><div align="right"><input type="button" name="Submit22" value="反选" onclick="selectall()" />
		<input name="tj" type="hidden" id="tj" value="<%=tj%>" />
            <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>
<table style="width:100%" border="0">
  <tr>
    <td>注意，删除企业之后会连同该企业的所有数据，包括注册ID，所发布的产品、商机、分类等信息一并删除，而且此删除将不可还原，因此请谨慎操作。“<font color="ff0000">已审</font>”表示的是此企业已经被推荐并且通过推荐审核</td>
  </tr>
</table>
<!--@@#include file="copyright.aspx"-->
</body>
</html>
<!--代码：[摘要]   RS.close:set rs=nothing  '---------------------...-->