⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 typemanage.asp

📁 文学网采用飞翔网的内核和界面作了较大程度的修改和美化 主要功能有: 1、界面美化 2、增加网文周榜和推荐作品 3、增加每个栏目图片和栏目的导读 4、增加推荐作品和会员文集 5、增加会员个人管理中心 6
💻 ASP
字号:

<!--#include file="const.asp"-->
<!--#include file="articleconn.asp"-->
 <%
IF not(Session("KEY")="super") THEN
	response.redirect "error.asp?id=065"
	response.end
END IF
%>
<%
dim rs,tsql
dim rst 
%> 

<html>
<head>
<title>寂寞百合----&gt;栏目管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
<!--
a:link       { text-decoration: underline; color: #000000; font-family: 宋体 }
a:visited    { text-decoration: underline; color: #000000; font-family: 宋体 }
a:hover      { text-decoration: underline; color: #cc0000 }
body {font-family: "宋体"; font-size: 9pt;line-height: 12pt;}
table {font-family: "宋体"; font-size: 9pt;line-height: 12pt;}
-->
</style>
</head>
<body bgcolor="#C0C0C0" text="#000000">
<TABLE cellSpacing=0 borderColorDark=#ffffff cellPadding=0  width="80%" align=center border=1 bordercolor="#454545">
  <tr> 
          
    <td align="center" width="532"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse">
        <tr>
                <td class="aq" align="center" width="522">
      
                
            <table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="519" height="78">
              <tr><% set rst=server.CreateObject("ADODB.RecordSet")
                  rst.open "select * from type",conn,1 
                  if rst.EOF then 
                  response.write "没有栏目:(" 
                  else 
                  %>
                                
                            
                <td width="517" height="25"  colspan="5"> 
                  <font color="#FF0000"><b>栏目管理</b></font></td>                                                                             
          </tr>
                  <tr>
                            <td width="45" height="18"> 
                              <div align="center">ID号</div> 
                    </td> 
                            <td width="102" height="18"> 
                              <div align="center">栏目名</div> 
                    </td> 
                            <td width="106" height="18"> 
                              <div align="center">版主</div> 
                    </td> 
                            <td width="124" height="18"> 
                              <div align="center">创建时间</div> 
                    </td> 
                            <td width="132" height="18"> 
                              <div align="center">删除</div> 
                    </td> 
                  </tr>
                  <%do while NOT rst.EOF%> 
                  <tr>
                    
                <td width="45" align="center" height="18"><%=rst("typeid")%></td> 
                    
                <td width="102" align="center" height="18"><%=rst("type")%></td> 
                    
                <td width="106" align="center" height="18"><%=rst("admin")%></td> 
                    
                <td width="124" align="center" height="18"><%=rst("typetime")%></td> 
                    
                <td width="132" align="center" height="18"><font color="#000000"> 
                  <a href="deltype.asp?typeid=<%=rst("typeid")%>&caozuo=del"> 
                  <font color="#FF0000">删除</font></a></font></td> 
                  </tr>
                  <% 
                  rst.MoveNext 
                  loop 
	              end if 
                  rst.close
				  conn.close
				  set srt=nothing
				  set conn=nothing
                  %>  

                </table>
      
                </td>
              </tr>
            </table>
          </td>
        </tr>
        </table>
    
          
<table width="80%" border="0" align="center">
  <tr>
                <td align="center" width="50%">&nbsp;<font color="#FF0000"><b>增  
                  加 栏 目</b></font></td> 
                <td align="center">&nbsp;<font color="#FF0000"><b>修 改 栏 目</b></font></td> 
              </tr>
              <tr>
                <td>&nbsp;<form METHOD=POST ACTION="typeadd.asp">
                  <table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="98%" cellpadding="0" height="60">
          <tr>
                        <td width="43%" height="29" align="center">栏 目 名 称 :</td> 
            <td width="57%" height="29" align="center"> 
            <input type="hidden" name=method1 value="added"> 
                            <input type=text name=typename class="smallInput" size="16" style="border: 1px solid #000000"></td>
          </tr>
          <tr>
                        <td width="43%" height="31" align="center">版    主:</td>
            <td width="57%" height="31" align="center">  
                            <input type=text name=banzhu class="smallInput" size="16" style="border: 1px solid #000000"></td>
          </tr>
          <tr>
            <td width="43%" height="31" align="center">
            <p align="right">  
                            <input type=submit value=增加 class="smallInput" name="add" style="border: 1px solid #000000"></td>
            <td width="57%" height="31" align="center">
            <p align="left">&nbsp;<input type="reset" name="Reset" value="取消" class="smallInput" style="border: 1px solid #000000">
            </td>
          </tr>
        </table></form>
        </td>
                <td align="center">         <form METHOD=POST ACTION="typechang.asp">
                  <table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="98%" height="80">
          <tr> <input type="hidden" name=change value="modify"> 
                        <td width="46%" align="center" height="28">原栏目ID号:</td>
            <td width="54%" align="center" height="28">  
                            <input type=text name=typeid class="smallInput" size="16" style="border: 1px solid #000000"></td>
          </tr>
          <tr>
                        <td width="46%" align="center" height="26">修改后名称:</td>
            <td width="54%" align="center" height="26">  
                            <input type=text name=typename1 class="smallInput" size="16" style="border: 1px solid #000000"></td>
          </tr>
          <tr>
                        <td width="46%" align="center" height="26">版   主:</td>
            <td width="54%" align="center" height="26">  
                            <input type=text name=banzhu class="smallInput" size="16" style="border: 1px solid #000000"></td>
          </tr>
          <tr>
            <td width="46%" align="center" height="20">
            <p align="right">  
                            <input type=submit value=修改 class="smallInput" name=changetype style="border: 1px solid #000000"></td>
            <td width="54%" align="center" height="20">
            <input type="reset" name="Reset" value="取消" class="smallInput" style="border: 1px solid #000000; float:left"></td>
          </tr>
        </table></form>
        </td>
              </tr>
            </table>
              
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -