コード例 #1
0
 public string FormatItem(int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height)
 {
     var objBanners = new BannerController();
     return objBanners.FormatBanner(VendorId,
                                    BannerId,
                                    BannerTypeId,
                                    BannerName,
                                    ImageFile,
                                    Description,
                                    URL,
                                    Width,
                                    Height,
                                    Convert.ToString(Settings["bannersource"]),
                                    PortalSettings.HomeDirectory,
                                    Convert.ToString(Settings["bannerclickthroughurl"]));
 }
コード例 #2
0
 public string FormatItem( int vendorId, int bannerId, int bannerTypeId, string bannerName, string imageFile, string description, string url, int width, int height )
 {
     BannerController objBanners = new BannerController();
     return objBanners.FormatBanner( vendorId, bannerId, bannerTypeId, bannerName, imageFile, description, url, width, height, Convert.ToString( PortalSettings.BannerAdvertising == 1 ? "L" : "G" ), PortalSettings.HomeDirectory );
 }
コード例 #3
0
 public string FormatItem(int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height)
 {
     var objBanners = new BannerController();
     return objBanners.FormatBanner(VendorId, BannerId, BannerTypeId, BannerName, ImageFile, Description, URL, Width, Height, PortalId == -1 ? "G" : "L", PortalSettings.HomeDirectory);
 }