JumboTCMS_src/JumboTCMS.DAL/TemplateEngineDAL.cs

(开头部分) 97KB

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

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

using System;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using System.Xml;
using System.Web;
using JumboTCMS.Utils;
using JumboTCMS.Entity;
using JumboTCMS.DBUtility;
using JumboTCMS.API.Discuz.Toolkit;
namespace JumboTCMS.DAL
{
    /// <summary>
    /// 生成html主文件
    /// </summary>
    public class TemplateEngineDAL : Common
    {
        public TemplateEngineDAL()
        {
            base.SetupSystemDate();
            this.MainChannel = new JumboTCMS.DAL.Normal_ChannelDAL().GetEntity("0");
            this.Lang = new JumboTCMS.Utils.LanguageHelp().GetEntity("cn");
        }
        public TemplateEngineDAL(string _channelid)
        {
            base.SetupSystemDate();
            if (_channelid == string.Empty)
                _channelid = "0";
            
            this.MainChannel = new JumboTCMS.DAL.Normal_ChannelDAL().GetEntity(_channelid);
            this.Lang = new JumboTCMS.Utils.LanguageHelp().GetEntity(this.MainChannel.LanguageCode);
            //_Channel = Channel;

        }
        public JumboTCMS.Entity.Normal_Channel MainChannel;//页面频道实体
        public JumboTCMS.Entity.Normal_Channel ThisChannel;//模块频道实体
        private string _pagetitle, _pagekeywords, _pagedescription, _pagenav;
        private bool m_isHtml;
        private Dictionary<string, object> m_lang;
        /// <summary>
        /// 页面默认标题
        /// </summary>
        public string PageTitle
        {
            get { return this._pagetitle; }
后面还有 1723 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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