yuesu/themes/cms01/Userinc/Upallfile.ascx
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
string upurl = "";
if (ViewData["upurl"] != null)
upurl = ViewData["upurl"].ToString();
string inputname = "userlogo";
if (ViewData["inputname"] != null)
inputname = ViewData["inputname"].ToString();
string width = "1200";
if (ViewData["width"] != null)
width = ViewData["width"].ToString();
string extname = "jpg";
if (ViewData["extname"] != null)
extname = ViewData["extname"].ToString();
string type = "8";
if (ViewData["type"] != null)
type = ViewData["type"].ToString();
string table= "0";
if (ViewData["table"] != null)
table = ViewData["table"].ToString();
string fieldname = "picsmall";
if (ViewData["fieldname"] != null)
fieldname = ViewData["fieldname"].ToString();
ViewData["upurl"] = upurl;
ViewData["inputname"] = inputname;
ViewData["idname"] = inputname + "up"; //up一定要加,不然跟其他重复冲突
ViewData["width"] = width;
ViewData["extname"] = extname;
ViewData["table"] = table;
ViewData["type"] = type;
%>
<script type="text/javascript">
if (editorpath ==undefined)
{
var editorpath = '<%=ViewData["Webd"]%>editors/';
}
$('#filediv<%=ViewData["idname"]%>').ready(function(){cfm<%=ViewData["idname"]%>();});
function cfm<%=ViewData["idname"]%>() {
var newElem = document.getElementById("filediv<%=ViewData["idname"]%>");
newElem.innerHTML = "";
var frm = document.createElement("iframe");
frm.setAttribute("name", "ifr<%=ViewData["idname"]%>");
frm.setAttribute("id", "ifr<%=ViewData["idname"]%>");
var upfile = editorpath + "uploadinc/Upmvc.aspx?idname=<%=ViewData["idname"]%>&w=<%=ViewData["width"]%>&type=<%=ViewData["type"]%>&extname=<%=ViewData["extname"]%>";
upfile = encodeURIComponent(upfile);
var inputname = "<%=ViewData["inputname"]%>";
frm.setAttribute("src", editorpath + "UphtmlAll.aspx?input=" + inputname + "&save=" + upfile);
frm.setAttribute("marginwidth", "0");
frm.setAttribute("marginheight", "1");
frm.setAttribute("width", "100%");
frm.setAttribute("height", "21");
frm.setAttribute("scrolling", "no");
frm.setAttribute("border", "0");
frm.setAttribute("frameborder", "0");
newElem.appendChild(frm);
}
后面还有 151 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
