<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Company_star" %>
<%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>
<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_star.aspx?tj=0">未审核</a>  | 
            <a href="Company_star.aspx?tj=1">已审核</a> | 
          <a href="Company_star.aspx">全部企业明星</a>  | 

	  </td>
          <td style="width:240">
            <form name="form1" method="post" action="Company_star.aspx">
              <table style="width:240"  border="0" align="right" cellpadding="2" cellspacing="0">
              <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>
              </table>
            </form>
          </td>
        </tr>
      </table>
      <table style="width:100%"  border="0" cellpadding="2" cellspacing="1" class="border">
	  <form method="post" name="news">
      <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:140"><div align="center"><strong>企业明星职位</strong></td>
        <td style="width:170"><div align="center"><strong>管 理 操 作</strong></div></td>
      </tr>
	  <%	      Dim pagei
        For pagei = 1 To rs.PageSize
            If rs.EOF OrElse 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 rs("star_pass").Value <> 0 then%>|<font color="ff0000"> 已审</font>
                <%end if%></td>
         <td style="width:100"><div align="center"><%=GetMemberTypeName(rs("M_Habitus").Value)%></div></td>
        <td style="width:140" align="center" ><%=rs("star_name").Value%></td>
        <td style="width:140" align="center" ><%=rs("star_post").Value%></td>
        
        <td style="width:170"><table style="width:170"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td ><div align="center"><a href="star_detail.aspx?id=<%=rs("star_id").Value%>" >设置</a></div></td>
            
            <td ><input type="checkbox" name="nid" value="<%=rs("star_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 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,lngpage,rs.recordcount,rs.pagesize)%></td>
  </tr>
</table>
<table style="width:100%" border="0">
  <tr>
    <td>注意，删除企业之后会连同该企业的所有数据，包括注册ID，所发布的产品、商机、分类等信息一并删除，而且此删除将不可还原，因此请谨慎操作。<br>“<font color="ff0000">已审</font>”表示的是此企业已经被推荐并且通过推荐审核</td>
  </tr>
</table>
</body>
</html>
