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

📄 manage_list.aspx

📁 最好用的站点内容管理系统 全部源代码都有
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" Inherits="manage_Templet_Manage_List" ContentType="text/html" Codebehind="Manage_List.aspx.cs" %>
<!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>
    <title></title>
    <link href="../../sysImages/<%Response.Write(NetCMS.Config.UIConfig.CssPath()); %>/css/css.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" type="text/javascript" src="../../configuration/js/Prototype.js"></script>
    <script language="JavaScript" type="text/javascript" src="../../configuration/js/Public.js"></script>
</head>
<body>
  <table width="100%" border="0" cellpadding="0" cellspacing="0"  class="toptable">
    <tr>
      <td width="57%" class="sysmain_navi"  style="PADDING-LEFT: 14px" Height="30">模板管理</td>
      <td width="43%"  class="topnavichar"  style="PADDING-LEFT: 14px" ><div align="left">位置导航:<a href="../main.aspx" target="sys_main" class="list_link">首页</a><img alt="" src="../../sysImages/folder/navidot.gif" border="0" />模板管理</div></td>
    </tr>
  </table>
<div id="addfiledir" runat="server"></div>
<table width="98%" align="center" border="0" cellpadding="0" cellspacing="0">
    <tr> 
     <td><div id="File_List" runat="server"></div></td>
   </tr>
</table>
<br />  
 <table width="100%" border="0" cellpadding="8" cellspacing="0" class="copyright_bg" style="height: 76px" align="center">
   <tr>
     <td align="center"><label id="copyright" runat="server" />
    </td>
   </tr>
</table>
<form id="Templetslist" action="" runat="server" method="post">
     <input type="hidden" name="Type" />
     <input type="hidden" name="Path"/>
     <input type="hidden" name="ParentPath" />
     <input type="hidden" name="OldFileName" />
     <input type="hidden" name="NewFileName" />
     <input type="hidden" name="filename" />
     <input type="hidden" name="Urlx" />
</form>
</body>
<script language="javascript" type="text/javascript">
function ListGo(Path,ParentPath)
{
    var dir = location.href;
    var arr_dir  = dir.split("/");
    var url = "";
    var dirDumm = "<% Response.Write(NetCMS.Config.UIConfig.dirDumm); %>";
    for (var i=0;i<arr_dir.length;i++)
    {
	    if(i<3)
		    url+=arr_dir[i]+"/";
    }
    if(dirDumm!="")
        url += dirDumm+"/Manage/Templet/Manage_List.aspx";
    else
        url += "Manage/Templet/Manage_List.aspx";
    tempurl = url+'?Path='+Path+'&ch=<%Response.Write(Request.QueryString["ch"]); %>&ParentPath='+ParentPath;
    self.location=tempurl;
	//document.Templetslist.Path.value=Path;
	//document.Templetslist.ParentPath.value=ParentPath;
	//document.Templetslist.submit();
}
function EditFolder(path,filename)   
{
	var ReturnValue='';
	ReturnValue=prompt('修改的名称:',filename.replace(/'|"/g,''));
	if ((ReturnValue!='') && (ReturnValue!=null))
	{
	    self.location.href='?Type=EidtDirName&ch=<%Response.Write(Request.QueryString["ch"]); %>&Path='+path+'&OldFileName='+filename+'&NewFileName='+ReturnValue;
	    //document.Templetslist.Type.value="EidtDirName";
	    //document.Templetslist.Path.value=path;
	    //document.Templetslist.OldFileName.value=filename;
	    //document.Templetslist.NewFileName.value=ReturnValue;
	    //document.Templetslist.submit();
	}
	else
	{
	    if(ReturnValue!=null)
	    {
	        alert('请填写要更名的名称');
	    }    
	}
}
function EditFile(path,filename)   
{
	var ReturnValue='';
	ReturnValue=prompt('修改的名称:',filename.replace(/'|"/g,''));
	if ((ReturnValue!='') && (ReturnValue!=null))
	{
	    self.location.href='?Type=EidtFileName&ch=<%Response.Write(Request.QueryString["ch"]); %>&Path='+path+'&OldFileName='+filename+'&NewFileName='+ReturnValue;
	    //document.Templetslist.Type.value="EidtFileName";
	    //document.Templetslist.Path.value=path;
	    //document.Templetslist.OldFileName.value=filename;
	    //document.Templetslist.NewFileName.value=ReturnValue;
	    //document.Templetslist.submit();
	}
	else
	{
	    if(ReturnValue!=null)
	    {
	        alert('请填写要更名的名称');
	    }    
	}
}
function DelDir(path)
{
    if(confirm('确定删除此文件夹以及此文件夹下所有文件吗?'))
    {
	    self.location.href='?Type=DelDir&Path='+path;
	    //document.Templetslist.Type.value="DelDir";
	    //document.Templetslist.Path.value=path;
	    //document.Templetslist.submit();
    }
}
function DelFile(path,filename)
{
    if(confirm('确定删除此文件吗?'))
    {
	    self.location.href='?Type=DelFile&ch=<%Response.Write(Request.QueryString["ch"]); %>&Path='+path+'&filename='+filename;
	    //document.Templetslist.Type.value="DelFile";
	    //document.Templetslist.Path.value=path;
	    //document.Templetslist.filename.value=filename;
	    //document.Templetslist.submit();
    }
}
function AddDir(path)
{
	var ReturnValue='';
	var filename='';
	ReturnValue=prompt('要添加的文件夹名称',filename.replace(/'|"/g,''));
	if ((ReturnValue!='') && (ReturnValue!=null))
	{
	    self.location.href='?Type=AddDir&ch=<%Response.Write(Request.QueryString["ch"]); %>&Path='+path+'&filename='+ReturnValue;
	    //document.Templetslist.Type.value="AddDir";
	    //document.Templetslist.Path.value=path;
	    //document.Templetslist.filename.value=ReturnValue;
	    //document.Templetslist.submit();
	}
	else
	{
	    if(ReturnValue!=null)
	    {
	        alert('请填写要添加的文件夹名称');
	    }    
	}
}
function UpFile(path,type)
{
    var WWidth = (window.screen.width-500)/2;
    var Wheight = (window.screen.height-150)/2;
    window.open ("../../configuration/system/Upload.aspx?Path="+path+"&ch=<%Response.Write(Request.QueryString["ch"]); %>&UpfilesType="+type, '文件上传', 'height=150, width=500, top='+Wheight+', left='+WWidth+', toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no'); 
}
</script>
</html>

⌨️ 快捷键说明

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