JumboTCMS_src/JumboTCMS.WebFile/plus/download.aspx.cs

(开头部分) 5KB

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

/*
 * 程序名称: JumboTCMS(将博内容管理系统通用版)
 * 
 * 程序版本: 7.x
 * 
 * 程序作者: 子木将博 (QQ:791104444@qq.com,仅限商业合作)
 * 
 * 版权申明: http://www.jumbotcms.net/about/copyright.html
 * 
 * 技术答疑: http://forum.jumbotcms.net/
 * 
 */

using System;
using System.Data;
using System.Web;
using JumboTCMS.Utils;
using JumboTCMS.Common;
namespace JumboTCMS.WebFile.Plus
{
    public partial class _download : JumboTCMS.UI.UserCenter
    {
        public string Referer = "";
        public int NO = 0;
        public string UserChecked = "0";
        public string FileUrl = "";
        public string FileTitle = "";
        public string TipInfo = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            Referer = site.Home;
            if (Request.ServerVariables["HTTP_REFERER"] != null)
            {
                if (!Request.ServerVariables["HTTP_REFERER"].ToString().StartsWith("http://" + Request.ServerVariables["Server_Name"].ToString()))
                    Referer = Request.ServerVariables["HTTP_REFERER"].ToString();
            }
            if (Cookie.GetValue(site.CookiePrev + "user") == null)
            {
                Response.Write("<script type=\"text/javascript\" src=\"../_data/global.js\"></script>\r\n");
                Response.Write("<script type=\"text/javascript\">top.location.href='../passport/login.aspx?refer='+encodeURIComponent(top.location);</script>\r\n");
                Response.End();
            }
            User_Load("", "html");
            id = Str2Str(q("id"));
            ChannelId = Str2Str(q("ChannelId"));
            ChannelType = q("ChannelType");
            string _modulelist2 = JumboTCMS.Utils.XmlCOM.ReadConfig("~/_data/config/site", "ModuleList2");
            if (!_modulelist2.Contains("." + ChannelType + "."))
            {
                Response.Write("请不要恶意修改提交参数!");
                Response.End();
            }
            if (id == "0")
            {
                Response.Write("请不要恶意修改提交参数!");
                Response.End();
            }
            NO = Str2Int(q("NO"));
            bool _showfileinfo = false;
            doh.Reset();
后面还有 64 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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