JumboTCMS_src/JumboTCMS.WebFile/plus/download.aspx

(开头部分) 3KB

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

<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="download.aspx.cs" Inherits="JumboTCMS.WebFile.Plus._download" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>资源下载</title>
<script type="text/javascript" src="../_libs/jquery.tools.pack.js"></script>
<script type="text/javascript" src="../_data/global.js"></script>
<script type="text/javascript">if (top==self)top.location='<%=Referer %>';</script>
<script type="text/javascript">
var tipinfo = "<%=TipInfo %>";
function DownloadProgress(bytesLoaded,bytesTotal){
	$('#progressBar').html('下载进度: '+GetSizeType(bytesLoaded)+' / '+GetSizeType(bytesTotal));
}
function DownloadComplete(){
	$.ajax({
		type:		"get",
		dataType:	"json",
		data:		"oper=ajaxDownCount&id=<%=id %>&addit=1&cType=<%=ChannelType %>&time="+(new Date().getTime()),
		url:		site.Dir+ "ajax/content.aspx",
		error:		function(XmlHttpRequest,textStatus, errorThrown){if(XmlHttpRequest.responseText!=""){alert(XmlHttpRequest.responseText);}},
		success:	function(d){
			top.JumboTCMS.Popup.hide("alert('资源下载完成');");
		}
	});
}
function DownloadCancel(){
	top.JumboTCMS.Popup.hide("alert('下载停止');");
}
function DownloadIOError(){
    $('#progressBar').html("文件读取有误");
}
function DownloadSecurityError(){
    $('#progressBar').html("安全沙箱冲突");
}
function DownloadOtherError(error){
    $('#progressBar').html(error);
}

function GetSizeType(size)
{
	if (size < 1024)
		return ((size * 100) / 100).toFixed(2) + " 字节";
	if (size < 1048576)
		return ((size / 1024 * 100) / 100).toFixed(2) + " KB";
	if (size < 1073741824)
		return ((size / 1048576 * 100) / 100).toFixed(2) + " M";
	return ((size / 1073741824 * 100) / 100).toFixed(2) + " G";
}
</script>
<style type="text/css">
body{margin:0;padding:0;}
#body{margin:0 auto;width:260px;}
#swfDiv{}
#progressBar{margin:0 auto;width:200px;text-align:center;font-size:12px;height:16px;line-height:16px;}
</style>
</head>
<body>
<div id="body">
    <div id="swfDiv"></div>
后面还有 27 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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