<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="tuzh_pri.asp"-->
<!--#include file = "../setup.asp"-->
<!--#include file="../connadmin.asp"-->
<%
If Request.Form<>"" Then
shower=HX_Replace(request("shower"))
showyi=HX_Replace(request("showyi"))
conn.execute("update erkind set show=false where show=true")
conn.execute("update yikind set show=false where show=true")
for i=1 to request.form("shower").count
conn.execute("update erkind set show="& isnumeric(request.form("shower")(i)) &" where erid="&cint(request.form("shower")(i)))
next
for i=1 to request.form("showyi").count
conn.execute("update yikind set show="& isnumeric(request.form("showyi")(i)) &" where yiid="&cint(request.form("showyi")(i)))
next
end if
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="../img/css.css">
<title><%=site_name%></title>
<style type=text/css>
body  {
SCROLLBAR-FACE-COLOR: #9CC5D7;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; 
SCROLLBAR-SHADOW-COLOR: #006699; 
SCROLLBAR-3DLIGHT-COLOR: #006699; 
SCROLLBAR-ARROW-COLOR: #330000; 
SCROLLBAR-TRACK-COLOR: #E2F3F1; 
SCROLLBAR-DARKSHADOW-COLOR: #ffffff;}
</style>
</head>
<body>
<table class="border" width="98%" border="0" align="center" cellpadding="1" cellspacing="0">
  <tr> 
    <td height="565" align="center" valign="top" class="bg_low"> <table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td align="center" valign="middle" class="bgtop"><font color="#FFFFFF"><b>栏目结构分布图</b></font> 
          </td>
        </tr>
      </table>
      <br /> 
      <form name="form1" method="post"  action="">
      <table border="0" cellpadding="0" cellspacing="0" bordercolor="#85B8CD">
        <tr> 
<%set rs=server.createobject("ADODB.recordset")
sql="select * from yikind"
rs.open sql,conn,1,1
do while not rs.eof
	if rs("show")=true then 
	mark="true"
	end if
%>
          <td valign="top"> <table border="1" align="left" cellpadding="2" cellspacing="1" bordercolor="#468DAC">
              <tr> 
                <td width="162" align="center" valign="top" bgcolor="#468DAC"><font size="3" color="#FFFFFF" ><%=rs("yiname")%> ID:<%=rs("yiid")%></font></td>
              </tr>
	<%set rs2=server.createobject("ADODB.recordset")
	sql="select * from erkind where yiid="&rs("yiid")
	rs2.open sql,conn,1,1
	do while not rs2.eof
		if rs2("show")=true then 
		mark2="true"
		else
		mark2="fase"
		end if

		%>
              <tr>
                <td align="center" valign="top" bgcolor="#85B8CD"><%=rs2("ername")%> ID:<%=rs2("erid")%> </td>
              </tr>
              <%rs2.movenext
		loop
		rs2.close%>
            </table></td>
          <%rs.movenext
loop
rs.close%>
        </tr>
      </table>
      <br /> 
       
	  </form><br>
	  注：调用大类，查看大类ID，调用小类，查看小类ID,如 yiid=12，erid=30。</td>
  </tr>
</table>
</body>
</html>