using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CY.BLL; using System.Data; using CY.Infrastructure.Common; using CY.Infrastructure.Query; using CY.BLL.Sys; using CY.Model; using CY.BLL.Info; namespace CY.WebForm.Pages.Templet.pingxuan { //吴辉 //企业网站首页_平轩 public partial class CompanyIndex : TempletBasePage { public string MP_QQNumber; Info_ContentBLL bll_Info_ContentBLL = null; Sys_DictionaryBLL bll_Sys_DictionaryBLL = null; Info_SortBLL bll_Info_SortBLL = null; EC_MemberBasicBLL _EC_MemberBasicBLL = null; OA_CorporateClientsBLL _OA_CorporateClientsBLL = null; Info_CompanyAdBLL _Info_CompanyAdBLL = null; Info_FirmBLL _Info_FirmBLL = null; //初始化 public CompanyIndex() { bll_Sys_DictionaryBLL = new Sys_DictionaryBLL(); bll_Info_ContentBLL = new Info_ContentBLL(); bll_Info_SortBLL = new Info_SortBLL(); _EC_MemberBasicBLL = new EC_MemberBasicBLL(); _OA_CorporateClientsBLL = new OA_CorporateClientsBLL(); _Info_CompanyAdBLL = new Info_CompanyAdBLL(); _Info_FirmBLL = new Info_FirmBLL(); } protected void Page_Load(object sender, EventArgs e) { this.Title += "-" + CurrentWeb().Name; if (!IsPostBack) { InitialData(); BindList(); this.TemplateList.InnerHtml = InitialSelectNewsDataInfo(); } } protected string InitialSelectNewsDataInfo() { string SortTypeHtml = "
![]() | " + item.Title.ToString2().JSubString(32, "..") + " |