yuesu/aspxadmin/controls/Updown.ascx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Updown.ascx.cs" Inherits="Mvcb2b.aspxadmin.controls.Updown" %>
<script type="text/javascript">
var editorpathdown = "<%=Webd%>editors/"
$("#filediv3").ready(function() { cfm3(); });
function cfm3() {
newElem = document.getElementById("filediv3");
newElem.innerHTML = "";
var frm = document.createElement("iframe");
frm.setAttribute("name", "ifr3");
frm.setAttribute("id", "ifr3");
var upfile = editorpathdown + "uploadinc/Updown.aspx";
upfile = encodeURIComponent(upfile);
var inputname = "<%=downurl_txt.ClientID %>";
frm.setAttribute("src", editorpathdown + "Uphtml.aspx?input=" + inputname + "&save=" + upfile);
frm.setAttribute("marginwidth", "0");
frm.setAttribute("marginheight", "1");
frm.setAttribute("width", "100%");
frm.setAttribute("height", "25");
frm.setAttribute("scrolling", "no");
frm.setAttribute("border", "0");
frm.setAttribute("frameborder", "0");
/*var frm = document.createElement("<iframe name='ifr' id='ifr' src='' marginwidth='' marginheight='1' width='260' height='25' scrolling='no' border='0' frameborder='0'></iframe>"); //chrome不支持*/
newElem.appendChild(frm);
}
function uperrordown(msg) {
alert(msg);
cfm3();
}
function parentcfm3(downsize,downurl) {
var webd = "<%=Webd%>";
var downfile = "#<%=downurl_txt.ClientID %>";
var downinfo = "#<%=downsize_txt.ClientID %>";
$(downfile).val(downurl); //赋值完
$(downinfo).val(downsize); //赋值完
document.getElementById("downinfo").innerHTML = "文件大小: " + downsize;
document.getElementById("smalldel").innerHTML = '<a onclick="deldown(\'' + downurl + '\');" href="#">删除</a>';
cfm3();
}
function deldown(path) {
if (confirm('确实要删除吗?')) {
$.ajax({
type: "POST",
url: "jquery/deldowninfo.aspx",
dataType: "html",
data: { "p": "" + path + "" }, //p传输的参数
success: function(html) {
if (html != "0") {
alert("文件删除成功")
document.getElementById("<%=downurl_txt.ClientID %>").value = "";
document.getElementById("<%=downsize_txt.ClientID %>").value = "";
document.getElementById("downinfo").innerHTML = "";
}
}, error: function(html) { alert("没有权限!"); }
});
}
}
function showfile(downsize,downurl) {
if (downurl != "") {
后面还有 19 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
