把 网址之家 设为首页

张家门诊祖传秘方

  网通站

电信站

晏婴影院

免费影院

免费影院

网络电视

独播剧场

济南影院 天天基金网   设为首页
 
百度首页   怎样赚大钱  创业好项目    千元创业展  最新私服(都市网络)  网速测试

便民服务:开心网  手机铃声下载 游戏下载 更多. [龙翔战队]招募    起凡三国争霸、三国群雄战队队员(需考核)、魔兽真三国无双战队队员。联系QQ:503160752;联系电话:15253408357

娱乐休闲

音乐 mp3聊天网址
游戏网址宽带影视
游戏外挂游戏下载
软件下载爱情交友
幽默笑话动漫卡通
硬件资讯文学小说
搜索引擎网上购物
军事资讯BT 下载
电视电台人才招聘
天下足球 NBA 篮球
体育资讯论坛-bbs
科技 IT数码产品
娱乐明星星座命理
桌面壁纸手机通讯
男士女性美女帅哥
两性健康交通地图
医疗保健招商加盟
新闻报刊地方服务
网络电视 视频网媒
汽车资讯艺术爱好
英语学习各地大学
银行保险财经股票
域名主机少年儿童
博客相册营养美食
考试培训宠物花鸟
各行各业家庭理财
国外网址论文&考研
图铃贺卡电子邮箱
杀毒&黑客天气预报
FLASH欣赏房产装修
政府组织网页制作
法律站点编程设计
美容减肥生活品牌
彩票博彩时装时尚
mp3 搜索旅游网址
     
WAP 网址 网络游戏
齐鲁名站导航
新 浪
百度搜索
网易邮箱
深圳之窗
上海热线
中华英才网
联众世界
淘 宝
当当网上商城
济南信息港
搜 狐
Google搜索
21CN
凤 凰 网
广州视窗
武汉热线
中国联通
百度空间
12530彩铃
手机铃声下载
网 易
中央电视台
新浪邮箱
新 华 网
卓越网上购物
中 彩 网
1元抢拍购物
湖南卫视
中国万网
商机在线创业
腾讯QQ
MSN中国
雅虎邮箱
人 民 网
中 华 网
中 国 人
驱动之家
携程旅行网
招商银行
QQ163音乐网
TOM
中国移动
搜狐邮箱
中国政府网
中国新闻网
中国同学录
太平洋电脑网
瑞星杀毒
工商银行
慧聪游戏夺宝

济南市兴隆庄阳光贝贝幼儿园,诚招幼儿教师两名,招聘条件:学前教育专业,中专以上文凭,年龄20-35,有意者请联系王老师:13853189760

 找语伴练口语 折扣机票酒店 中国移动飞信 MTV欣赏 相声大全 限时在线杀毒

齐鲁实用酷站精选

网 吧

 闪QQ吧 中国电子地图  在线拍照 在线MTV  魔力盒电子像册 网吧主页源码网  

电 影

<% pStr = "private, no-cache, must-revalidate" Response.ExpiresAbsolute = #2000-01-01# Response.AddHeader "pragma", "no-cache" Response.AddHeader "cache-control", pStr x = ClientIPAuth() szPath = "../" dim szUserName, iUserType, iUserLevel, iDiscount, iAccount, iPurchase_Mode, WBuser,WBuserIPClass,WBuserTTime,LookTime,CanLookTime LookTime=hour(now()) if(LookTime < 6 ) then CanLookTime=1 else CanLookTime=0 end if szClientIP = Request.ServerVariables("REMOTE_ADDR") szSQL = "SELECT * FROM WBIP" rsData.Open szSQL,con,1,1 do while not rsData.EOF if IPAddrToInt(szClientIP) >= IPAddrToInt(rsData("WBIP_ID0")) and IPAddrToInt(szClientIP) <= IPAddrToInt(rsData("WBIP_ID1")) then WBuser=rsData("NDID") WBuserIPClass=rsData("IP_CLASS") WBuserTTime=rsData("TTime") if DateDiff("d",now(),WBuserTTime) < 0 then Response.Write "-1004" Response.End end if exit do end if rsData.MoveNext loop rsData.Close function GetUserInfo(iUserID) if Len(iUserID) = 0 and WBuser="" then Response.Write "-1001" Response.End end if iUnit = Clng(Session("Option_Unit_Point")) szSQL = "SELECT UserName,Status,PayMode,Discount,Account,Purchase_Mode,Account_UseMode,LastCheckDate FROM CusTomer WHERE CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if not rsData.EOF then if rsData("Status") = 0 then Response.Write "-1008" Response.End end if szUserName = rsData("UserName") iUserType = rsData("PayMode") iDiscount = rsData("Discount") iAccount = rsData("Account") iPurchase_Mode = rsData("Purchase_Mode") iUseMode = rsData("Account_UseMode") iLastCheckDate = rsData("LastCheckDate") if IsNull(iLastCheckDate) then iLastCheckDate=now() end if else Response.Write "-1006" Response.End end if rsData.Close if iPlayerType = 1 then szSQL = "SELECT CusTomer_Group.CusTomer_ID, Channel_Group.UserType " szSQL = szSQL & "FROM (CusTomer_Group LEFT JOIN Channel_Group ON CusTomer_Group.Group_ID=Channel_Group.Group_ID) " szSQL = szSQL & "INNER JOIN GroupInfo ON CusTomer_Group.Group_ID=GroupInfo.Group_ID " szSQL = szSQL & "WHERE CusTomer_Group.CusTomer_ID=" & iUserID & " AND Channel_Group.UserType=2 AND GroupInfo.AdminType=0" rsData.Open szSQL,con,1,3 if rsData.EOF then Response.Write "-1007" Response.End end if rsData.Close end if szSQL = "SELECT MAX(GroupInfo.Level_ID) AS Level_ID " szSQL = szSQL & "FROM CusTomer_Group,GroupInfo " szSQL = szSQL & "WHERE CusTomer_Group.Group_ID=GroupInfo.Group_ID " szSQL = szSQL & "AND CusTomer_Group.CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if not rsData.EOF then iUserLevel = rsData("Level_ID") if IsNull(iUserLevel) or iUserLevel = "" then iUserLevel = 1 rsData.Close szSQL = "SELECT ConSume_Time,Prog_ID,ConSume_Date FROM ConSume WHERE CusTomer_ID=" & iUserID & " ORDER By ConSume_ID Desc" rsData.Open szSQL,con,1,3 if not rsData.EOF then iConSume_Date=rsData("ConSume_Date") if DateDiff("s",iLastCheckDate,iConSume_Date) <> 0 then iGame= rsData("Prog_ID") iConSume_Time=rsData("ConSume_Time") iConSume_Date=rsData("ConSume_Date") rsData.Close szSQL = "SELECT Price FROM GamePrice WHERE Prog_ID=" & iGame & " ORDER By Price_ID Desc" rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") end if rsData.Close szSQL = "SELECT PlayTime FROM ProgInfo WHERE Prog_ID=" & iGame rsData.Open szSQL,con,1,3 if not rsData.EOF then szPlayTime = rsData("PlayTime") iTimeHour = Mid(szPlayTime, 1, 2) iTimeMin = Mid(szPlayTime, 3, 2) iTimeSec = Mid(szPlayTime, 5, 2) if rsData("PlayTime") <> "000000" then iGameTime = Clng(iTimeHour * 3600 + iTimeMin * 60 + iTimeSec) end if end if rsData.Close szSQL = "SELECT Account,LastCheckDate FROM CusTomer WHERE CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if not rsData.EOF and iGameTime>0 then if iUserType = 0 then NowCount = (iDiscount*iGamePrice/100)*(iConSume_Time/iGameTime) rsData("LastCheckDate")= iConSume_Date rsData("Account")=iAccount-(NowCount/iUnit) rsData.Update end if end if rsData.Close else rsData.Close end if else rsData.Close end if end function function CheckRight(iGameID) szSQL = "SELECT IDN FROM CusTomer_Group WHERE Group_ID>0 AND CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if rsData.EOF then Response.Write "-1003" Response.End end if rsData.Close szSQL = "SELECT ProgLevel FROM v_proginfo WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGameLevel = rsData("ProgLevel") rsData.Close if iGameLevel > iUserLevel then Response.Write "-1007" Response.End end if if WBuser<>"" and iGameLevel > WBuserIPClass and CanLookTime=0 then Response.Write "-1005" Response.End end if end function function CheckPoint(iGameID, iCurrentPoint) szSQL = "SELECT Price FROM v_pro_price WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") rsData.Close if iGamePrice * iDiscount / 100 > iCurrentPoint then Response.Write "-1002" Response.End end if end function function CheckMonth(iGameID, iUserID, iUnitValue) szSQL = "SELECT Price FROM v_pro_price WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") rsData.Close if iGamePrice * iDiscount / 100 > iCurrentPoint then szSQL = "SELECT Account,LastCheckDate FROM CusTomer WHERE CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if not rsData.EOF then iAccount = rsData("Account") szCheckDate = rsData("LastCheckDate") if DateDiff("d", szCheckDate, now) >= 30 or szCheckDate = "" or IsNull(szCheckDate) then if iAccount < iUnitValue then Response.Write "-1002" Response.End else if IsNull(szCheckDate) then szCheckDate = now elseif szCheckDate = "" then szCheckDate = now else szCheckDate = DateAdd("d", 30, szCheckDate) end if rsData("account") = iAccount - iUnitValue rsData("LastCheckDate") = szCheckDate rsData.Update end if end if end if rsData.Close end if end function function CheckFlux(iGameID, iCurrentFlux) szSQL = "SELECT FileLen FROM v_proginfo WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGameLen = rsData("FileLen") rsData.Close szSQL = "SELECT Price FROM v_pro_price WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") rsData.Close if iGameLen * iGamePrice > iCurrentFlux * 1024 * 1024 / 8 then Response.Write "-1002" Response.End end if end function function CheckHour(iGameID, iCurrentHour) szSQL = "SELECT PlayTime FROM v_proginfo WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then szPlayTime = rsData("PlayTime") iTimeHour = Mid(szPlayTime, 1, 2) iTimeMin = Mid(szPlayTime, 3, 2) iTimeSec = Mid(szPlayTime, 5, 2) if rsData("PlayTime") <> "000000" then iGameTime = Clng(iTimeHour * 3600 + iTimeMin * 60 + iTimeSec) end if rsData.Close szSQL = "SELECT Price FROM v_pro_price WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") rsData.Close if (iGameTime / 3600) * iGamePrice > iCurrentHour then Response.Write "-1002" Response.End end if end function ////////////////////////////////////////////////////////////// iGameID = Encode(Request.QueryString("id")) bRefresh = Encode(Request.QueryString("rf")) iPlayerType = Encode(Request.QueryString("PlayerType")) '区分LIVE和VOD iUserID = Session("CusTomer_ID") iEmbedMode = Encode(Request.QueryString("EmbedMode")) iSendType = Encode(Request.QueryString("SendType")) 'if Len(iSendType) = 0 then iSendType = 1 if Len(iEmbedMode) = 0 then iEmbedMode = 1 if Len(iPlayerType) = 0 then iPlayerType = 2 if Session("Option_RegMode") = 2 and Len(iUserID) = 0 or WBuser<>"" then iUserID = 2 szSQL = "SELECT CusTomer_ID FROM CusTomer WHERE UserName='" & WBuser & "'" rsData.Open szSQL,con,1,3 if not rsData.EOF then iUserID = rsData("CusTomer_ID") rsData.Close end if x = GetUserInfo(iUserID) if iPurchase_Mode = 0 then if iPlayerType = 1 then iChannelPrice = 0 szSQL = "SELECT Price FROM Channel WHERE Channel_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iChannelPrice = rsData("Price") rsData.Close if iChannelPrice > 0 then if iUserType = 1 then iUnitValue = Clng(Session("Option_Unit_Month")) x = CheckMonth(iGameID, iUserID, iUnitValue) else if iAccount <= 0 then Response.Write "-1002" Response.End end if end if end if end if if iPlayerType = 2 then if iUserType = 0 then szPayFlag = "按点次付费" iUnitValue = Clng(Session("Option_Unit_Point")) iCurrentPoint = iAccount * iUnitValue x = CheckPoint(iGameID, iCurrentPoint) elseif iUserType = 1 then szPayFlag = "按整月付费" iUnitValue = Clng(Session("Option_Unit_Month")) x = CheckMonth(iGameID, iUserID, iUnitValue) elseif iUserType = 2 then szPayFlag = "按流量付费" iUnitValue = Clng(Session("Option_Unit_MB")) iCurrentFlux = iAccount * iUnitValue x = CheckFlux(iGameID, iCurrentFlux) elseif iUserType = 3 then szPayFlag = "按时间付费" iUnitValue = Clng(Session("Option_Unit_Hour")) iCurrentHour = iAccount * iUnitValue x = CheckHour(iGameID, iCurrentHour) end if end if end if if iPlayerType = 2 then x = CheckRight(iGameID) '检查节目级别 szSQL = "SELECT ProgName,FileName,FileType,PlayTime,Type_ID FROM v_proginfo WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then szProgName = rsData("ProgName") szUrl = rsData("FileName") szFileType = rsData("FileType") szPlayTime = rsData("PlayTime") iTypeID = rsData("Type_ID") end if rsData.Close if szPlayTime <> "000000" or szFileType = "asf" or szFileType = "wmv" or szFileType = "wma" then if bRefresh = "1" then szErrorMsg = "onLoad='window.opener.window.location.reload();'" else Response.Redirect "consume.asp?ProgID=" & iGameID & "&TypeID=" & iTypeID & "&CusTomerID=" & iUserID & "&UserName=" & szUserName & "&URL=" & URLEncode(szUrl) end if szProg_GUID = GetProgramGUID(iGameID) szSQL = "SELECT Part_No,Prog_ID FROM v_proginfo WHERE Prog_GUID='" & szProg_GUID & "' ORDER BY Part_No ASC" rsData.Open szSQL,con,1,3 szParmProgName = szProgName if not rsData.EOF then if rsData.RecordCount = 1 then szParmProgName = szParmProgName elseif rsData.RecordCount = 2 then do while not rsData.EOF if rsData("Prog_ID") = Clng(iGameID) then if rsData("Part_No") = 1 then szParmProgName = szParmProgName & " - 上集" if rsData("Part_No") = 2 then szParmProgName = szParmProgName & " - 下集" exit do end if rsData.MoveNext loop elseif rsData.RecordCount = 3 then do while not rsData.EOF if rsData("Prog_ID") = Clng(iGameID) then if rsData("Part_No") = 1 then szParmProgName = szParmProgName & " - 上集" if rsData("Part_No") = 2 then szParmProgName = szParmProgName & " - 中集" if rsData("Part_No") = 3 then szParmProgName = szParmProgName & " - 下集" exit do end if rsData.MoveNext loop else do while not rsData.EOF if rsData("Prog_ID") = Clng(iGameID) then szParmProgName = szParmProgName & " - 第 " & rsData("Part_No") & " 集" exit do end if rsData.MoveNext loop end if end if rsData.Close szParmPlayMode = "1" szParmPlayModeValue = iGameID szServerAddr = "1.1.1.1" end if if iPlayerType = 1 then szServerAddr = Request.ServerVariables("SERVER_NAME") szSQL = "SELECT Channel_IPAddr.MultiIP_Addr " szSQL = szSQL & "FROM Channel_IPAddr " szSQL = szSQL & "INNER JOIN HostIPList ON Channel_IPAddr.HostIP_ID=HostIPList.HostIP_ID " szSQL = szSQL & "WHERE HostIPList.IpAddr='" & szServerAddr & "' AND Channel_IPAddr.Channel_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then szMultiIPAddr = rsData("MultiIP_Addr") rsData.Close if Len(iSendType) = 0 then szSQL = "SELECT SendType FROM Channel WHERE Channel_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iSendType = rsData("SendType") rsData.Close if iSendType = 0 then iSendType = 1 '如果为组+单就选择单播 end if szParmPlayMode = iSendType if iSendType < 2 then szParmPlayModeValue = szMultiIPAddr end if Response.Write "" %><% pStr = "private, no-cache, must-revalidate" Response.ExpiresAbsolute = #2000-01-01# Response.AddHeader "pragma", "no-cache" Response.AddHeader "cache-control", pStr x = ClientIPAuth() szPath = "../" dim szUserName, iUserType, iUserLevel, iDiscount, iAccount, iPurchase_Mode, WBuser,WBuserIPClass,WBuserTTime,LookTime,CanLookTime LookTime=hour(now()) if(LookTime < 6 ) then CanLookTime=1 else CanLookTime=0 end if szClientIP = Request.ServerVariables("REMOTE_ADDR") szSQL = "SELECT * FROM WBIP" rsData.Open szSQL,con,1,1 do while not rsData.EOF if IPAddrToInt(szClientIP) >= IPAddrToInt(rsData("WBIP_ID0")) and IPAddrToInt(szClientIP) <= IPAddrToInt(rsData("WBIP_ID1")) then WBuser=rsData("NDID") WBuserIPClass=rsData("IP_CLASS") WBuserTTime=rsData("TTime") if DateDiff("d",now(),WBuserTTime) < 0 then Response.Write "-1004" Response.End end if exit do end if rsData.MoveNext loop rsData.Close function GetUserInfo(iUserID) if Len(iUserID) = 0 and WBuser="" then Response.Write "-1001" Response.End end if iUnit = Clng(Session("Option_Unit_Point")) szSQL = "SELECT UserName,Status,PayMode,Discount,Account,Purchase_Mode,Account_UseMode,LastCheckDate FROM CusTomer WHERE CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if not rsData.EOF then if rsData("Status") = 0 then Response.Write "-1008" Response.End end if szUserName = rsData("UserName") iUserType = rsData("PayMode") iDiscount = rsData("Discount") iAccount = rsData("Account") iPurchase_Mode = rsData("Purchase_Mode") iUseMode = rsData("Account_UseMode") iLastCheckDate = rsData("LastCheckDate") if IsNull(iLastCheckDate) then iLastCheckDate=now() end if else Response.Write "-1006" Response.End end if rsData.Close if iPlayerType = 1 then szSQL = "SELECT CusTomer_Group.CusTomer_ID, Channel_Group.UserType " szSQL = szSQL & "FROM (CusTomer_Group LEFT JOIN Channel_Group ON CusTomer_Group.Group_ID=Channel_Group.Group_ID) " szSQL = szSQL & "INNER JOIN GroupInfo ON CusTomer_Group.Group_ID=GroupInfo.Group_ID " szSQL = szSQL & "WHERE CusTomer_Group.CusTomer_ID=" & iUserID & " AND Channel_Group.UserType=2 AND GroupInfo.AdminType=0" rsData.Open szSQL,con,1,3 if rsData.EOF then Response.Write "-1007" Response.End end if rsData.Close end if szSQL = "SELECT MAX(GroupInfo.Level_ID) AS Level_ID " szSQL = szSQL & "FROM CusTomer_Group,GroupInfo " szSQL = szSQL & "WHERE CusTomer_Group.Group_ID=GroupInfo.Group_ID " szSQL = szSQL & "AND CusTomer_Group.CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if not rsData.EOF then iUserLevel = rsData("Level_ID") if IsNull(iUserLevel) or iUserLevel = "" then iUserLevel = 1 rsData.Close szSQL = "SELECT ConSume_Time,Prog_ID,ConSume_Date FROM ConSume WHERE CusTomer_ID=" & iUserID & " ORDER By ConSume_ID Desc" rsData.Open szSQL,con,1,3 if not rsData.EOF then iConSume_Date=rsData("ConSume_Date") if DateDiff("s",iLastCheckDate,iConSume_Date) <> 0 then iGame= rsData("Prog_ID") iConSume_Time=rsData("ConSume_Time") iConSume_Date=rsData("ConSume_Date") rsData.Close szSQL = "SELECT Price FROM GamePrice WHERE Prog_ID=" & iGame & " ORDER By Price_ID Desc" rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") end if rsData.Close szSQL = "SELECT PlayTime FROM ProgInfo WHERE Prog_ID=" & iGame rsData.Open szSQL,con,1,3 if not rsData.EOF then szPlayTime = rsData("PlayTime") iTimeHour = Mid(szPlayTime, 1, 2) iTimeMin = Mid(szPlayTime, 3, 2) iTimeSec = Mid(szPlayTime, 5, 2) if rsData("PlayTime") <> "000000" then iGameTime = Clng(iTimeHour * 3600 + iTimeMin * 60 + iTimeSec) end if end if rsData.Close szSQL = "SELECT Account,LastCheckDate FROM CusTomer WHERE CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if not rsData.EOF and iGameTime>0 then if iUserType = 0 then NowCount = (iDiscount*iGamePrice/100)*(iConSume_Time/iGameTime) rsData("LastCheckDate")= iConSume_Date rsData("Account")=iAccount-(NowCount/iUnit) rsData.Update end if end if rsData.Close else rsData.Close end if else rsData.Close end if end function function CheckRight(iGameID) szSQL = "SELECT IDN FROM CusTomer_Group WHERE Group_ID>0 AND CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if rsData.EOF then Response.Write "-1003" Response.End end if rsData.Close szSQL = "SELECT ProgLevel FROM v_proginfo WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGameLevel = rsData("ProgLevel") rsData.Close if iGameLevel > iUserLevel then Response.Write "-1007" Response.End end if if WBuser<>"" and iGameLevel > WBuserIPClass and CanLookTime=0 then Response.Write "-1005" Response.End end if end function function CheckPoint(iGameID, iCurrentPoint) szSQL = "SELECT Price FROM v_pro_price WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") rsData.Close if iGamePrice * iDiscount / 100 > iCurrentPoint then Response.Write "-1002" Response.End end if end function function CheckMonth(iGameID, iUserID, iUnitValue) szSQL = "SELECT Price FROM v_pro_price WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") rsData.Close if iGamePrice * iDiscount / 100 > iCurrentPoint then szSQL = "SELECT Account,LastCheckDate FROM CusTomer WHERE CusTomer_ID=" & iUserID rsData.Open szSQL,con,1,3 if not rsData.EOF then iAccount = rsData("Account") szCheckDate = rsData("LastCheckDate") if DateDiff("d", szCheckDate, now) >= 30 or szCheckDate = "" or IsNull(szCheckDate) then if iAccount < iUnitValue then Response.Write "-1002" Response.End else if IsNull(szCheckDate) then szCheckDate = now elseif szCheckDate = "" then szCheckDate = now else szCheckDate = DateAdd("d", 30, szCheckDate) end if rsData("account") = iAccount - iUnitValue rsData("LastCheckDate") = szCheckDate rsData.Update end if end if end if rsData.Close end if end function function CheckFlux(iGameID, iCurrentFlux) szSQL = "SELECT FileLen FROM v_proginfo WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGameLen = rsData("FileLen") rsData.Close szSQL = "SELECT Price FROM v_pro_price WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") rsData.Close if iGameLen * iGamePrice > iCurrentFlux * 1024 * 1024 / 8 then Response.Write "-1002" Response.End end if end function function CheckHour(iGameID, iCurrentHour) szSQL = "SELECT PlayTime FROM v_proginfo WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then szPlayTime = rsData("PlayTime") iTimeHour = Mid(szPlayTime, 1, 2) iTimeMin = Mid(szPlayTime, 3, 2) iTimeSec = Mid(szPlayTime, 5, 2) if rsData("PlayTime") <> "000000" then iGameTime = Clng(iTimeHour * 3600 + iTimeMin * 60 + iTimeSec) end if rsData.Close szSQL = "SELECT Price FROM v_pro_price WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iGamePrice = rsData("Price") rsData.Close if (iGameTime / 3600) * iGamePrice > iCurrentHour then Response.Write "-1002" Response.End end if end function ////////////////////////////////////////////////////////////// iGameID = Encode(Request.QueryString("id")) bRefresh = Encode(Request.QueryString("rf")) iPlayerType = Encode(Request.QueryString("PlayerType")) '区分LIVE和VOD iUserID = Session("CusTomer_ID") iEmbedMode = Encode(Request.QueryString("EmbedMode")) iSendType = Encode(Request.QueryString("SendType")) 'if Len(iSendType) = 0 then iSendType = 1 if Len(iEmbedMode) = 0 then iEmbedMode = 1 if Len(iPlayerType) = 0 then iPlayerType = 2 if Session("Option_RegMode") = 2 and Len(iUserID) = 0 or WBuser<>"" then iUserID = 2 szSQL = "SELECT CusTomer_ID FROM CusTomer WHERE UserName='" & WBuser & "'" rsData.Open szSQL,con,1,3 if not rsData.EOF then iUserID = rsData("CusTomer_ID") rsData.Close end if x = GetUserInfo(iUserID) if iPurchase_Mode = 0 then if iPlayerType = 1 then iChannelPrice = 0 szSQL = "SELECT Price FROM Channel WHERE Channel_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iChannelPrice = rsData("Price") rsData.Close if iChannelPrice > 0 then if iUserType = 1 then iUnitValue = Clng(Session("Option_Unit_Month")) x = CheckMonth(iGameID, iUserID, iUnitValue) else if iAccount <= 0 then Response.Write "-1002" Response.End end if end if end if end if if iPlayerType = 2 then if iUserType = 0 then szPayFlag = "按点次付费" iUnitValue = Clng(Session("Option_Unit_Point")) iCurrentPoint = iAccount * iUnitValue x = CheckPoint(iGameID, iCurrentPoint) elseif iUserType = 1 then szPayFlag = "按整月付费" iUnitValue = Clng(Session("Option_Unit_Month")) x = CheckMonth(iGameID, iUserID, iUnitValue) elseif iUserType = 2 then szPayFlag = "按流量付费" iUnitValue = Clng(Session("Option_Unit_MB")) iCurrentFlux = iAccount * iUnitValue x = CheckFlux(iGameID, iCurrentFlux) elseif iUserType = 3 then szPayFlag = "按时间付费" iUnitValue = Clng(Session("Option_Unit_Hour")) iCurrentHour = iAccount * iUnitValue x = CheckHour(iGameID, iCurrentHour) end if end if end if if iPlayerType = 2 then x = CheckRight(iGameID) '检查节目级别 szSQL = "SELECT ProgName,FileName,FileType,PlayTime,Type_ID FROM v_proginfo WHERE Prog_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then szProgName = rsData("ProgName") szUrl = rsData("FileName") szFileType = rsData("FileType") szPlayTime = rsData("PlayTime") iTypeID = rsData("Type_ID") end if rsData.Close if szPlayTime <> "000000" or szFileType = "asf" or szFileType = "wmv" or szFileType = "wma" then if bRefresh = "1" then szErrorMsg = "onLoad='window.opener.window.location.reload();'" else Response.Redirect "consume.asp?ProgID=" & iGameID & "&TypeID=" & iTypeID & "&CusTomerID=" & iUserID & "&UserName=" & szUserName & "&URL=" & URLEncode(szUrl) end if szProg_GUID = GetProgramGUID(iGameID) szSQL = "SELECT Part_No,Prog_ID FROM v_proginfo WHERE Prog_GUID='" & szProg_GUID & "' ORDER BY Part_No ASC" rsData.Open szSQL,con,1,3 szParmProgName = szProgName if not rsData.EOF then if rsData.RecordCount = 1 then szParmProgName = szParmProgName elseif rsData.RecordCount = 2 then do while not rsData.EOF if rsData("Prog_ID") = Clng(iGameID) then if rsData("Part_No") = 1 then szParmProgName = szParmProgName & " - 上集" if rsData("Part_No") = 2 then szParmProgName = szParmProgName & " - 下集" exit do end if rsData.MoveNext loop elseif rsData.RecordCount = 3 then do while not rsData.EOF if rsData("Prog_ID") = Clng(iGameID) then if rsData("Part_No") = 1 then szParmProgName = szParmProgName & " - 上集" if rsData("Part_No") = 2 then szParmProgName = szParmProgName & " - 中集" if rsData("Part_No") = 3 then szParmProgName = szParmProgName & " - 下集" exit do end if rsData.MoveNext loop else do while not rsData.EOF if rsData("Prog_ID") = Clng(iGameID) then szParmProgName = szParmProgName & " - 第 " & rsData("Part_No") & " 集" exit do end if rsData.MoveNext loop end if end if rsData.Close szParmPlayMode = "1" szParmPlayModeValue = iGameID szServerAddr = "1.1.1.1" end if if iPlayerType = 1 then szServerAddr = Request.ServerVariables("SERVER_NAME") szSQL = "SELECT Channel_IPAddr.MultiIP_Addr " szSQL = szSQL & "FROM Channel_IPAddr " szSQL = szSQL & "INNER JOIN HostIPList ON Channel_IPAddr.HostIP_ID=HostIPList.HostIP_ID " szSQL = szSQL & "WHERE HostIPList.IpAddr='" & szServerAddr & "' AND Channel_IPAddr.Channel_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then szMultiIPAddr = rsData("MultiIP_Addr") rsData.Close if Len(iSendType) = 0 then szSQL = "SELECT SendType FROM Channel WHERE Channel_ID=" & iGameID rsData.Open szSQL,con,1,3 if not rsData.EOF then iSendType = rsData("SendType") rsData.Close if iSendType = 0 then iSendType = 1 '如果为组+单就选择单播 end if szParmPlayMode = iSendType if iSendType < 2 then szParmPlayModeValue = szMultiIPAddr end if Response.Write "" %>独播剧场 3GP电影下载网  

文 学

起点  榕树下  小说阅读网   潇湘书院   红袖添香   中国人史纲 更多>>

游 戏

侠盗猎车5密籍  17173  新浪游戏  经典小游戏  小游戏  中国游戏中心 更多>>

下 载

天空软件   华军软件   霏凡软件站   新浪下载   太平洋下载 绿色下载 更多>>
军 事 中华网军事   新浪军事   新华网军事   铁血军事   千龙军事 更多>>

音 乐

QQ163音乐网    mp3下载    要听音乐   天籁之音   yymp3   百度MP3 更多>>
邮 箱 新浪邮箱  TOM邮箱  雅虎邮箱  163邮箱  126邮箱  21CN邮箱  Hotmail 更多>>
视 频 优酷网   酷溜网   邀我视频   六间房   OpenV视屏   爆米花网 更多>>
Flash 闪吧  动漫FLASH欣赏  FLASH游戏  3839游戏  flash休闲游戏  去看游戏 更多>>

新 闻

新浪新闻   搜狐新闻   新华网  联合早报  百度新闻  山西新闻网 更多>>

社 区

百度贴吧   天涯社区   泡泡社区   搜狐社区   猫扑   西祠胡同 更多>>

证 券

东方财富网  证券之星  搜狐财经  和讯  新浪财经  华夏基金 更多>>

交 友

世纪佳缘  中国交友中心  知己交友网  嫁我网  MSN交友频道  百合网 更多>>
图 铃 乐乐图铃   无限铃声   彩酷图铃   九千图铃   七城图铃 更多>>
聊 天 碧聊   新浪UC聊天   网易聊天   Skype聊天 更多>>
博 客 百度空间   MSN空间   博客网   新浪博客   51博客   QQ空间 更多>>
银 行 工商银行  招商银行  农业银行  建设银行  中国银行  广发  中信  交行 更多>>
体 育 新浪体育  CCTV体育  搜狐体育  鲨威体坛  ESPN中文网  NBA中文网 更多>>
购 物 eBay易趣  no5化妆品商城  当当网  卓越网  我爱打折 更多>>
手 机 新浪手机  友人网  手机之家  泡泡手机  手机大玩家  易趣二手手机 更多>>
人 才 中华英才   前程无忧   精英招聘网   智联招聘   中国人才热线  厦门人才网 更多>>
汽 车 太平洋汽车  爱卡汽车  新浪汽车  汽车之家  中国汽车网  宝马汽车 更多>>
酷 站 蚂蚁社区  狗仔网  父母  春晚开门  魅惑之都  铁流网 更多>>
健 康 三九健康 寻医问药网 高血压血脂网 糖尿病康复网 白发脱发网 鼻炎咽炎网 更多>>
学 习 爱词霸  大耳朵英语  英语听力室  网页教学网  驾驶员考试 更多>>
实用查询: IP地址  手机号码  天气预报  邮编电话  航班  列车时刻  在线翻译  地图  万年历  体彩  福彩  股票 各地移动 更多..
常用软件: WinRAR  RealPlayer  腾讯QQ  迅雷  Media Player  紫光拼音  千千静听  百度搜霸  王码五笔   PPLive  傲游  更多..
地方服务: 北京 上海 天津 重庆 江苏 浙江 广西 广东 山东 湖南 四川 河北 河南 湖北 辽宁 吉林 黑龙江 山西 港澳台 更多..
游戏专题: 魔兽世界  劲乐团  泡泡堂  街头篮球  梦幻西游  CS  热血江湖  劲舞团  魔兽争霸  疯狂赛车  红色警戒 浩方 传奇 征途
武林外传 极品飞车 跑跑卡丁车  连连看  冒险岛  问道  化妆游戏  惊天动地  神泣 棋牌 休闲游戏  QQ幻想  做饭游戏  更多..
综合搜索引擎
关键字:   百度  google mp3  歌词  图片  贴吧  知道  新闻
站内  词典  地图  文档  搜藏  雅虎  百科  搜狗

公安报警岗亭 报警电话:110