protected void Page_Load(object send, EventArgs e) { if (!Page.IsPostBack) { if (Config.isAdsEnabled()) { // Square Ad - 336x280 // Adult ID : 14 // Non Adult ID : 13 if (this.isAdult) { // adult section this.Script = AdsBLL.Return_Ad_Script(14); } else { // non adult section this.Script = AdsBLL.Return_Ad_Script(13); } } } }
protected void Page_Load(object send, EventArgs e) { if (!Page.IsPostBack) { if (Config.isAdsEnabled()) { // Vertical Ad - 120x240 // Adult ID : 12 // Non Adult ID : 11 if (this.isAdult) { // adult section this.Script = AdsBLL.Return_Ad_Script(12); } else { // non adult section this.Script = AdsBLL.Return_Ad_Script(11); } } } }
protected void Page_Load(object send, EventArgs e) { if (!Page.IsPostBack) { if (Config.isAdsEnabled()) { // Horizontal Ad - 728x90 // Adult ID : 4 // Non Adult ID : 3 if (this.isAdult) { // adult section this.Script = AdsBLL.Return_Ad_Script(4); } else { // non adult section this.Script = AdsBLL.Return_Ad_Script(3); } } } }
protected void Page_Load(object send, EventArgs e) { if (!Page.IsPostBack) { if (Config.isAdsEnabled()) { // Square Ad - 180x150 // Adult ID : 22 // Non Adult ID : 21 if (this.isAdult) { // adult section this.Script = AdsBLL.Return_Ad_Script(22); } else { // non adult section this.Script = AdsBLL.Return_Ad_Script(21); } } } }