yuesu/Servicesfile/Upfile.aspx

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Upfile.aspx.cs" Inherits="Mvcb2b.Servicesfile.Upfile" %>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>上传文件</title>
<style type="text/css">
html{font-size:62.5%;/*16px*62.5%=10px*/}
*{margin:0px;padding:0px;font-size:1.4rem;} #progress{
 border: 1px solid blue;margin-left:auto;margin-right:auto;
 width:100%;
 height:2.0rem;display:none;
 }
#info,#info2{width:100%;margin-left:auto;margin-right:auto;display:none;line-height:1.6rem;text-align:left; }
#bar {
 background:green;
 height:2.0rem;
 width:0%;
 }</style>
 <script type="text/javascript">
     var savefile = "<%=SaveFile%>";
     var webd = "<%=Fun.Webdirectory%>";
     var isandroid=<%=Isandroid%>;
</script>
<script type="text/javascript" src="<%=Fun.Webdirectory%>comja/upfileuser.js"></script>
<%if (1 == 0)
  {%>
   <script type="text/javascript" src="../comja/upfileuser.js"></script>
  <%}%>
 <script type="text/javascript">
     function check() {
         if (document.form1.file2.value == "") {
             alert("上传文件不能为空");
             document.getElementById('info2').style.display = "none";
             document.getElementById('info2').innerHTML = "";
             return false;
         }
         if (IsHtml5() == true) {
             return false;
         }
         else {
             document.getElementById("ishtml5").value = "0";
         }

     }
 </script>
</head>
<body style="padding-top:30px;text-align:center;">
<form id="form1" name="form1" method="post" enctype="multipart/form-data" onsubmit="return check();" action="<%=SaveFile%>">
<input type="hidden"  name="ishtml5" id="ishtml5" value="1"><!--<input type="file" name="file2"  id="file2" accept=".gif,.jpg,.jpeg,.png,.bmp"  value="" style="width:16rem;height:2.1rem;">-->
<input type="file" name="file2"  id="file2" accept=".gif,.jpg,.jpeg,.png,.bmp"  value="" style="width:16rem;height:2.1rem;"><input style="margin-left:3px;width:7.5rem;height:2.1rem;" id="submit1"  type="submit" name="submit1" value="开始上传" >
<div id="info">
文件名:<span id="filename"></span>
<br>文件大小:<span id="filesize"></span><br>
已上传:<span id="fileupinfo"></span>
</div>
<div id="info2">
</div>
<div id="progress"><div id="bar"></div></div>
</form>
后面还有 130 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。