行 84: if (dr["basictype"].ToString() != "4" || (dr["basictype"].ToString() == "4" && (Utils.GetSysInfo("//sysinfo/model/mall").ToString().ToLower() == "true")))行 85: {行 86: num = Utils.StrToInt(DataFactory.GetOnlyValue("select count(1) From " + dr["ModelTable"].ToString() + " where datediff(day,[adddate],getdate())=0"));行 87: Response.Write(string.Format(@"<li title=""{0}"">{3}(新增{1})<span>{2}</span></li>", dr["modelname"].ToString(), dr["modelitem"].ToString(), num > 0 ? "<a href='" + (dr["basictype"].ToString() == "4" ? "../Shop/KS.ShopManage.aspx" : "../Content/KS.ContentManage.aspx") + "?adddate="+DateTime.Now.ToShortDateString()+"&channelid=" + dr["channelid"].ToString() + "' class='has'>" + num + "</a>" : num.ToString(),dr["modelname"].ToString()));行 88: } |