Exemplo n.º 1
0
        /// <summary>
        /// 获取版块的广告信息
        /// </summary>
        /// <param name="forumid"></param>
        public void GetForumAds(int forumid)
        {
            headerad   = Advertisements.GetOneHeaderAd("", forumid);
            footerad   = Advertisements.GetOneFooterAd("", forumid);
            pagewordad = Advertisements.GetPageWordAd("", forumid);
            doublead   = Advertisements.GetDoubleAd("", forumid);
            floatad    = Advertisements.GetFloatAd("", forumid);

            if (forumid > 0)
            {
                postleaderboardad = Advertisements.GetOnePostLeaderboardAD("", forumid);
            }
        }