VideoHome.Web/App_Code/Common.cs
(开头部分) 25KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using myfilm.Entity;
using myfilm.Vod;
using Common;
using ThoughtWorks.QRCode.Codec;
using Maticsoft.DBUtility;
namespace myfilm.Web.admin.App_Code
{
public class CommonHeaderOrFooter : PageBase
{
public static string GGLeftOrRihgt(object id, object type)
{
string r = "";
if (type.ToString() == "left")
{
r = DbHelperSQL.GetSingle(@"select AdJS from [T_ColumnAd] where
[classText]=(SELECT top 1 KMClassId from T_CourseInfo where CourseId=(select top 1 CourseId from T_CourseInfoChaptersDownList where Id='" + id + "' )) and [TypeId]=9 order by addtime desc ") + "";
}
if (type.ToString() == "right")
{
r = DbHelperSQL.GetSingle(@"select AdJS from [T_ColumnAd] where
[classText]=(SELECT top 1 KMClassId from T_CourseInfo where CourseId=(select top 1 CourseId from T_CourseInfoChaptersDownList where Id='" + id + "' )) and [TypeId]=10 order by addtime desc ") + "";
}
return r;
}
public static string GGLeftOrRihgtZJ(object id, object type)
{
string r = "";
if (type.ToString() == "left")
{
r = DbHelperSQL.GetSingle(@"select AdJS from [T_ColumnAd] where
[classText]=(SELECT top 1 KMClassId from T_CourseInfo where CourseId=(select top 1 CourseId from T_CourseInfoChapters where CICId='" + id + "' )) and [TypeId]=9 order by addtime desc ") + "";
}
if (type.ToString() == "right")
{
r = DbHelperSQL.GetSingle(@"select AdJS from [T_ColumnAd] where
[classText]=(SELECT top 1 KMClassId from T_CourseInfo where CourseId=(select top 1 CourseId from T_CourseInfoChapters where CICId='" + id + "' )) and [TypeId]=10 order by addtime desc ") + "";
}
return r;
}
public static string GGLeftOrRihgt_byCourseId(object id, object type)
{
string r = "";
后面还有 352 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
