<!--#include file="check.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎</title>
<link href="images/main.css" rel="stylesheet" type="text/css" media="all" />
</head>
<!--#include file="top.asp"-->
<div id="systime"><p id="servertime"></p></div>
<div id="mainBody" >

<div class="space">&nbsp;</div>



<script language="javascript">
try{
    var nav="H01";
    var subnav="L0101";
	
    document.getElementById(nav).className="current";
    document.getElementById(subnav).className="first current";
    document.getElementById(subnav).parentNode.parentNode.style.display="block";

}catch(e){
	document.getElementById("H01").className="current";
}
</script>

</head>
<body style="margin: 0px">


<div class="space">&nbsp;</div>
 
<fieldset >
<legend>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;欢迎登陆&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</legend>
<br>
<TABLE width="100%" class="tablesorter listtable" id="adp-baseinfo">
  <THEAD>





<table class="listtable">
  <thead>
    <tr>
      <th scope="col">通道ID</th>
	  <th scope="col">通道名称</th>
            <th scope="col">通道1类别</th>
            <th scope="col">目前状态</th>
    </tr>
  </thead>
  <tbody> 


                        <%
			  	Set Rs=GrateRs("select * from H_plist order by state,paixu",1)


		   Rs.PageSize=100
		   if not Rs.eof then 
		   If Nowpage=0 then Nowpage=1
		   Rs.AbsolutePage=Nowpage 
		   i=1
		   do while not Rs.eof and i<=Rs.pagesize


			  %>
<%if i mod 2 =0 then%>
         <tr class="listtr1" >
<%else%>
         <tr class="listtr2" >
<%end IF%>

                                <td><%=rs("id")%></td>
                                <td><%=rs("Pname")%></td>
<td><%=rs("psort")%></td>
                  <td><%
				  if rs("state")=1 then
				  response.Write("<font color=red>已关闭</font>")
				  elseif rs("state")=0 then
				  response.Write("<font color=green>已开启</font>")
				  end if%></td>

                              </tr>

                        <%
						i=i+1
	 Rs.movenext
	 loop
	 end if
	 %>

                            &nbsp;</div></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>


	
  </TBODY>
</TABLE>
<br>
</fieldset>
<br>
<br>


			</tr>

		</table>
</body>
</html>
<%
call DBConnEnd
%>