<!--#include file="conn.asp" -->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp" -->
<!--'#include file="char.inc"-->
<!--#include file="chkuser.asp" -->

<%
if not(request.cookies(eChsys)("ManageKEY")="super" or request.cookies(eChsys)("KEY")="super") then
	Show_Err("对不起，您的后台管理权限不够操作！")
	response.end
else
	if css="1" or request.cookies(eChsys)("purview")="99999" then
		%>
<html><head>
<title><%=copyright%><%=version%>&nbsp;<%=ver%> - CSS 编辑</title>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="site.css">
<body topmargin="0">

<table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#FFD9D9" align=center>
<tr>
	<td height="30"> 
		<table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#FFD9D9">
		<tr class="TDtop">
			<td height=25 class="TDtop" align="center">┊专业设置<B></B> ┊ </td>
		</tr>
		<tr bgcolor=ffffff> 
			<td valign=top> 
		
				<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFCC99" style="border-collapse: collapse">
			
				<tr> 
					<td width="97%" height="23" align="center"><table width="517" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
 
  <tr> 
    <td height="44" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><IMG height=5 src="images/block.gif" width=1></td>
        </tr>
      </table> 
      <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
        <tr bgcolor="f1f1f1"> 
          <td width="9%"> 
            <div align="center">专业名称</div></td>
         
        
		
          <td width="9%"> 
            <div align="center">修改删除</div></td>
        </tr>
        <%set rs=server.CreateObject("adodb.recordset")
		  rs.Open "select * from wygkzhuanye order by id",conn,1,1
		  dim paixu
		  if rs.EOF and rs.BOF then
		  response.Write "<div align=center><font color=red>还没有专业</font></center>"
		  paixu=0
		  else
		  do while not rs.EOF
		  %>
        <form name="form1" method="post" action="savezhuanye.asp?action=edit&id=<%=int(rs("id"))%>">
          <tr bgcolor="#FFFFFF"> 
            <td> 
              <div align="center"> 
                <input name="menuname" class="wenbenkuang" type="text" id="menuname" size="12" value="<%=trim(rs("menuname"))%>">
              </div></td>
			  
			
       
            
            <td> 
              <div align="center"> 
                <input type="submit" name="Submit" value="修改" class="go-wenbenkuang">
                <a href="savezhuanye.asp?id=<%=int(rs("id"))%>&action=del" onClick="return confirm('您确定进行删除操作吗？')"><font color=red>删</font></a> 
              </div></td>
          </tr>
        </form>
        <%rs.MoveNext
          loop
          paixu=rs.RecordCount
          end if%>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><IMG height=5 src="images/block.gif" width=1></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<br>
<table width="517" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
  <tr> 
    <td height="20" bgcolor="f1f1f1"> 
      <div align="center"><font color="#000000">添加新专业</font></div>
    </td>
  </tr>
  <tr> 
    <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><IMG height=5 src="images/block.gif" width=1></td>
        </tr>
      </table> 
      <table width="99%" border="0" align="center" cellpadding="1" cellspacing="0">
        <tr> 
          <td width="9%"> <div align="center">专业名称</div></td>
		
          <td width="9%">
<div align="center">确定操作</div></td>
        </tr>
        <form name="form1" method="post" action="savezhuanye.asp?action=add">
          <tr> 
            <td> <div align="center"> 
                <input name="menuname2" type="text" class="wenbenkuang" id="menuname2" size="12">
              </div></td>
			              
          
            <td><div align="center"> 
                <input type="submit" name="Submit3" value="添加" class="go-wenbenkuang">
              </div></td>
          </tr>
        </form>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><IMG height=5 src="images/block.gif" width=1></td>
        </tr>
      </table> 
    </td>
  </tr>
</table></td>
				</tr>
				<tr> 
					<td width="97%" align="center"><br>
&nbsp;				  </td>
				</tr>
				<tr>
					<td height=25 class="TDtop" align="center"> 
									</td>
				</tr>
				
			  </table>
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</body>
</html>
<!--#include file="Admin_Bottom.asp"-->
	<%else
			Show_Err("对不起，该功能已经被超级系统管理员关闭，您没有权限操作！")
			response.end
	end if
end if%>