yuesu/Servicesfile/UpEditorfile.aspx
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpEditorfile.aspx.cs" Inherits="Mvcb2b.Servicesfile.UpEditorfile" %>
<!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>
<%string web = Fun.Webdirectory; %>
<script type="text/javascript" src="<%=web%>Comja/jquery-3.6.4.min.js"></script>
<script type="text/javascript" src="<%=web%>comja/jquery.form.js"></script>
<script type="text/javascript">
$(function () {
function AjaxUploadPic() {
if ($("#flUpload").val() == "") {
alert("请选择一个图片文件,再点击上传。");
return;
}
$('#UpLoadForm').ajaxSubmit({
beforeSubmit: function () {
},
success: function (html, status) {
var result = html.replace("<PRE>", "");
result = result.replace("</PRE>", "");
if (html.indexOf("格式") > 0) {
alert(result);
return;
}
window.parent.document.getElementById("src").value = result;
window.parent.ImageDialog.showPreviewImage(result)
}
});
}
$("#btnUpload").click(function () {
AjaxUploadPic();
});
});
</script>
<style type="text/css">
*{
list-style-type: none;
margin: 0px;
padding: 0px;font-size:12px;line-height:19px;
}
.width120{width:120px;}
.upp{width:100%;}
input{ vertical-align:middle;padding:2px;}
input.upbut{
padding-top:0px;
padding-right: 5px;
padding-bottom:0px;
padding-left: 5px;line-height:16px;
}
</style>
</head>
<body>
<form id="UpLoadForm" name="UpLoadForm" method="post" enctype="multipart/form-data" action='<%=web%>servicesfile/upeditorfilesave.aspx'>
<table border="0" cellpadding="0" cellspacing="0" class="upp">
<tr>
<td>
<input class="width120" type="file" id="flUpload" name="flUpload" /> <input id="btnUpload" type="button" class="upbut" value="上传" />
后面还有 6 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
