public string Getbanner(object Banner_type, object banner_field, object Banner_ID, object Banner_Image) { string title = list_pro.Loadtitle(_cat_seo_url); if (title.Length == 0) { title = pro_detail.Loadtitle(_cat_seo_url); } var _configs = cf.Config_meta(); if (_configs != null && _configs.ToList().Count > 0) { if (title.Length == 0) { title = _configs.ToList()[0].CONFIG_TITLE; } } string s = ""; if (Utils.CIntDef(Session["home"]) == 0) { s += "<h1 style='position: fixed;left: 999999px;'>" + title; } if (Utils.CIntDef(Session["home"]) == 0) { s += "</h1>"; } s += fun.Getbanner(Banner_type, banner_field, Banner_ID, Banner_Image, title); return(s); }
public void Loadtitle() { try { Lbtitle.Text = list_pro.Loadtitle(_cat_seo_url); } catch (Exception) { throw; } }
public void Loadtitle() { try { if (_cat_seo_url.Contains("san-pham-yeu-thich")) { Lbtitle.Text = "Sản phẩm yêu thích"; } else { Lbtitle.Text = list_pro.Loadtitle(_cat_seo_url); } } catch (Exception) { throw; } }
private void LoadTitle() { string s = list_pro.Loadtitle(_cat_seo_url); lbTitle.Text = lbTitle2.Text = " ngành " + s; }