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

📄 admin_bbsftp.asp

📁 主要实现三大功能:记录统计功能、账号控制功能、文件上载自动校验功能
💻 ASP
字号:

<%
if request("index")=1 then
call index
elseif request("css")=1 then
call css
elseif request("left")=1 then
call left
elseif request("manage")=1 then
call main
else
call gototop
end if
%>
<% sub main()%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft FrontPage 5.0">
<meta HTTP-EQUIV="Content-Type" content="text/html; charset=gb2312">
<link href=css.css rel=STYLESHEET type=text/css>
<title>BBSFTP Web配置管理</title>
<style>
.navPoint
	{
	font-family: Webdings;
	font-size:9pt;
	color:white;
	cursor:hand;
	}
p{
	font-size:9pt;
}
</style>
<script>
function switchSysBar(){
	if (switchPoint.innerText==3){
		switchPoint.innerText=4
		document.all("frmTitle").style.display="none"
	}
	else{
		switchPoint.innerText=3
		document.all("frmTitle").style.display=""
	}
}
</script></head>
<body scroll="no" style="MARGIN: 0px">
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>
<td id="frmTitle" name="frmTitle" nowrap valign="middle" align="center">
<IFRAME id="BoardTitle" name="main" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 200; Z-INDEX: 2" scrolling="no" frameborder="0" src="admin_bbsftp.asp?left=1"></IFRAME>

    <td style="width:10pt" background="images/manage/admin_bg_1.gif">

	<table cellspacing="0" cellpadding="0" border="0" height="100%">
      <tr><td style="height:100%" onclick="switchSysBar()"><span class="navPoint" id="switchPoint" title="关闭/打开左栏">3</span>
    </table>

	</td><td style="width:100%">
	<IFRAME id="frmright" name="BoardList" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1" scrolling="auto" frameborder="0" src="admin_bbsftp.asp?index=1"></IFRAME>
	</tr></table>
</body>

</html>
<% end sub 
sub css()
%>
BODY{
FONT-SIZE: 12px;
COLOR: #000000;
FONT-FAMILY:  宋体;
background-color: #fafafa; 
		scrollbar-3dlight-color:595959;
	        scrollbar-arrow-color:ffffff;
	        scrollbar-base-color:CFCFCF;
	        scrollbar-darkshadow-color:FFFFFF;
	        scrollbar-face-color:CFCFCF;
	        scrollbar-highlight-color:FFFFF;
	        scrollbar-shadow-color:595959
}
	<!--
	a:visited {  color: #663366; text-decoration: none }
	a:hover {  color: #ff6666; text-decoration: none }
	a:active {  color: #999966; text-decoration: none }
	a:link { color: #3333dd; text-decoration: none }
	td {  font-size: 9pt; color: #222222}
	-->
<%end sub
sub index()
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href=css.css rel=STYLESHEET type=text/css>
</head>

<body bgcolor="#eeeeee" text="#000000">
<div align="center">
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>BBSFTP Web配置管理管理系统</p>
  <p>&nbsp;</p>
  <p>版权所有:<a href="#" target="_blank">瑞克</a></p>
  
</div>
<%
Response.Write "<table align='center'><tr><td align='center'><a href='http://redcheek.net/bbs/list.asp?boardid=6&page=1'><font color=blue>FTP中心(bbsftp for dvbbs sp2)</font> </a></td></tr>"
Response.Write "<tr><td align='center'>版权所有: <a href='http://redcheek.net'><font color=#990099>紫雨轩工作室</font></a>    程序设计: <a href='http://rick.crazyasp.com/default.asp'><font color=blue>rick</font></a>    插件(<a href='http://redcheek.net/bbsftp'><font color=red>bbsftp v1.4</font></a>)</td></tr></table>"

%>
</body>
</html>

<%end sub
sub gototop()
%>
<html>
<head>
<script LANGUAGE="VBScript">
<!--
Sub window_onload

on error resume next

parent.window.navigate "admin_bbsftp.asp?manage=1"

if err then 
'alert(err.description)
window.navigate "admin_bbsftp.asp?manage=1"
end if
end sub
-->
</script></head>
<body onload="window_onload">
</body></html>
<%end sub
sub left()%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<STYLE type=text/css>BODY {
	BACKGROUND: #799ae1; MARGIN: 0px; FONT: 9pt 宋体
}
TABLE {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
TD {
	FONT: 12px 宋体
}
IMG {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
A {
	FONT: 12px 宋体; COLOR: #215dc6; TEXT-DECORATION: none
}
A:hover {
	COLOR: #428eff
}
.sec_menu {
	BORDER-RIGHT: white 1px solid; BACKGROUND: #d6dff7; OVERFLOW: hidden; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid
}
.menu_title {
	
}
.menu_title SPAN {
	FONT-WEIGHT: bold; LEFT: 8px; COLOR: #215dc6; POSITION: relative; TOP: 2px
}
.menu_title2 {
	
}
.menu_title2 SPAN {
	FONT-WEIGHT: bold; LEFT: 8px; COLOR: #428eff; POSITION: relative; TOP: 2px
}
</STYLE>
<SCRIPT language=javascript>
function menuShow(obj,maxh,obj2)
{
  if(obj.style.pixelHeight<maxh)
  {
    obj.style.pixelHeight+=maxh/20;
	obj.filters.alpha.opacity+=5;
	obj2.background="images/manage/title_bg_hide.gif";
    if(obj.style.pixelHeight==maxh/10)
	  obj.style.display='block';
	myObj=obj;
	myMaxh=maxh;
	myObj2=obj2;
	setTimeout('menuShow(myObj,myMaxh,myObj2)','5');
  }
}
function menuHide(obj,maxh,obj2)
{
  if(obj.style.pixelHeight>0)
  {
    if(obj.style.pixelHeight==maxh/20)
	  obj.style.display='none';
    obj.style.pixelHeight-=maxh/20;
	obj.filters.alpha.opacity-=5;
	obj2.background="images/manage/title_bg_show.gif";
	myObj=obj;
	myMaxh=maxh
	myObj2=obj2;
	setTimeout('menuHide(myObj,myMaxh,myObj2)','5');
  }
  else
    if(whichContinue)
	  whichContinue.click();
}
function menuChange(obj,maxh,obj2)
{
  if(obj.style.pixelHeight)
  {
    menuHide(obj,maxh,obj2);
	whichOpen='';
	whichcontinue='';
  }
  else
    if(whichOpen)
	{
	  whichContinue=obj2;
      whichOpen.click();
	}
	else
	{
	  menuShow(obj,maxh,obj2);
	  whichOpen=obj2;
	  whichContinue='';
	}
}
</SCRIPT>

<SCRIPT lanuage="Javascript">
var tt='start';
var ii='start';
function turnit(ss,bb) {

  if (ss.style.display=="none") {
    if(tt!='start') tt.style.display="none";
    if(ii!='start') ii.src="dian.gif";
    ss.style.display="";
    tt=ss;
    ii=bb;
    bb.src="ball.gif";
  }
  else {
    ss.style.display="none"; 
    bb.src="dian.gif";
  }
}

function openWindow(url) {
  popupWin = window.open(url, 'new_page', 'width=400,height=410,scrollbars')
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0" bgcolor="#FF9800">
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=left border=0> 
<TBODY>
  <TR>
    <TD vAlign=top>
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
          <TD vAlign=bottom height=42><IMG height=38 
            src="images/manage/title.gif" width=158> 
</TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title onmouseover="this.className='menu_title2';" 
          onmouseout="this.className='menu_title';" 
          background="images/manage/title_bg_quit.gif" 
            height=25><SPAN><a href="admin_bbsftp.asp?index=1" target="BoardList"><B>首页</B></A>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="admin_index.asp" target="_parent"><B>返回</B></A></SPAN> 
            </TD>
          </TR></TBODY></TABLE>&nbsp; 
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title id=menuTitle1 
          onmouseover="this.className='menu_title2';" 
          onclick=menuChange(menu1,180,menuTitle1); 
          onmouseout="this.className='menu_title';" 
          background="images/manage/title_bg_show.gif" 
            height=25><SPAN>BBSFTP配置管理</SPAN> </TD>
          </TR>
        <TR>
          <TD>
            <DIV class=sec_menu id=menu1 
            style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158px; HEIGHT: 0px">
                <TABLE style="POSITION: relative; TOP: 10px" cellSpacing=0 
            cellPadding=0 width=135 align=center>
                  <TBODY>
                  	<TR> 
                      <TD height=20><a href="admin_bbsftpftp.asp" target="BoardList">Ftp配置管理</a></TD>
                    </TR>
                    <TR> 
                      <TD height=20><a href="admin_bbsftpusercfg.asp" target="BoardList">用户配置(角色)管理</a></TD>
                    </TR>
                    
                    <TR> 
                      <TD height=20><a href="admin_bbsftpipaccess.asp" target="BoardList">IP访问规则管理</a></TD>
                    </TR>
                    <TR> 
                      <TD height=20><a href="admin_bbsftpdiraccess.asp" target="BoardList">文件路径访问规则</a></TD>
                    </TR>
                    <TR> 
                      <TD height=20><a href="admin_bbsftpinifile.asp" target="BoardList">插件参数配置</a></TD>
                    </TR>
                    <TR> 
                      <TD height=20><a href="admin_bbsftpuser.asp" target="BoardList">FTP论坛用户管理</a></TD>
                    </TR>
                    <TR> 
                      <TD height=20><a href="admin_bbsftpupload.asp" target="BoardList">FTP上传文件管理</a></TD>
                    </TR>
                    <TR> 
                      <TD height=20><a href="admin_bbsftpdownload.asp" target="BoardList">FTP下载文件管理</a></TD>
                    </TR>
                  </TBODY>
                </TABLE>
              </DIV></TD></TR></TBODY></TABLE>&nbsp; 
     
      <SCRIPT language=javascript>
  var whichOpen="";
  var whichContinue='';
      </SCRIPT>
       
  
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title id=menuTitle6 
          onmouseover="this.className='menu_title2';" 
          onclick=menuChange(menu6,60,menuTitle6); 
          onmouseout="this.className='menu_title';" 
          background="images/manage/title_bg_show.gif" 
            height=25><SPAN>系统信息</SPAN> </TD>
          </TR>
        <TR>
          <TD>
            <DIV class=sec_menu id=menu6 
            style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158px; HEIGHT: 0px"> 
                <TABLE style="POSITION: relative; TOP: 10px" cellSpacing=0 
            cellPadding=0 width=135 align=center>
                  <TBODY>
                    <TR> 
                      <TD height=20> <p style="line-height: 200%"><A onfocus=this.blur(); 
                  href="mailto:badcopy2002@hotmail.com" target=_blank>版权所有:瑞克</A> </TD>
                    </TR>
                    <TR> 
                      <TD height=20> <p style="line-height: 200%"><a onFocus=this.blur(); 
                  href="http://rick.9126.com" target=_blank>技术支持:紫雨轩</a> </TD>
                    </TR>
                  </TBODY>
                </TABLE>
              </DIV></TD></TR></TBODY></TABLE>
      &nbsp;&nbsp; 
      <table border="0" WIDTH="100%" HEIGHT="20%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0" bgcolor="#799AE1"><tr>
<td></td>
</tr></table>   
<SCRIPT language=javascript>
//显示控制菜单
menuChange(menu1,180,menuTitle1)
</SCRIPT>
</body>   
</html>
<%end sub%>

⌨️ 快捷键说明

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