/// <summary>
 /// 获得首页内容
 /// </summary>
 /// <returns></returns>
 public string GetSiteDefaultPage()
 {
     string pId = string.Empty;
     string _pagestr = string.Empty;
     //得到首页的默认模板:方案组ID/主题ID/模板内容
     JumboTCMS.DAL.Normal_TemplateDAL dal = new JumboTCMS.DAL.Normal_TemplateDAL();
     dal.GetTemplateContent("0", ref pId, ref _pagestr);
     this.IsHtml = site.IsHtml;
     this.PageNav = site.Name + "&nbsp;&raquo;&nbsp;首页";
     this.PageTitle = site.Name + " - " + site.Description + site.TitleTail;
     this.PageKeywords = site.Keywords;
     this.PageDescription = site.Description;
     ReplacePublicTag(ref _pagestr);
     ReplaceChannelClassLoopTag(ref _pagestr);
     ReplaceContentLoopTag(ref _pagestr);
     ExcuteLastHTML(ref _pagestr);
     return _pagestr;
 }
 /// <summary>
 /// 获得频道页内容(频道ID只能从外部传入,不支持跨频道)
 /// </summary>
 /// <returns></returns>
 public string GetSiteChannelPage()
 {
     using (DbOperHandler _doh = new Common().Doh())
     {
         string _pagestr = string.Empty;
         string TempId = this.MainChannel.TemplateId.ToString();
         string pId = string.Empty;
         //得到模板方案组ID/主题ID/模板内容
         JumboTCMS.DAL.Normal_TemplateDAL dal = new JumboTCMS.DAL.Normal_TemplateDAL();
         dal.GetTemplateContent(TempId, ref pId, ref _pagestr);
         this.IsHtml = PageIsHtml();
         this.PageNav = "<a href=\"" + Go2Site(site.IsHtml) + "\" class=\"home\"></a>&nbsp;&raquo;&nbsp;" + this.MainChannel.Title;
         this.PageTitle = this.MainChannel.Title + "_" + site.Name + site.TitleTail;
         this.PageKeywords = site.Keywords;
         this.PageDescription = JumboTCMS.Utils.Strings.SimpleLineSummary(this.MainChannel.Info);
         ReplacePublicTag(ref _pagestr);
         ReplaceChannelTag(ref _pagestr, this.MainChannel.Id.ToString());
         ReplaceChannelClassLoopTag(ref _pagestr);
         ReplaceContentLoopTag(ref _pagestr);
         ExcuteLastHTML(ref _pagestr);
         return _pagestr;
     }
 }