www.gusucode.com > 迅雷看看小偷电影程序源码+后台(首页去弹窗) > 迅雷看看小偷电影程序源码+后台(首页去弹窗)\code\hd.asp
<!--#include file="sql.asp"--><% %><!--#include file="Config.asp"--><!--#include file="Cache.asp"--><% page=(Request.QueryString) if page="" then page="list_lastupdate_1.shtml" dim content,myCache Set myCache = new cls_Cache myCache.name="hdasp"&page&"" if myCache.valid then content=myCache.value else On Error Resume Next Server.ScriptTimeOut=9999999 Function getHTTPPage(Path) t = GetBody(Path) getHTTPPage=BytesToBstr(t,"utf-8") End function Function GetBody(url) on error resume next Set Retrieval = CreateObject("M"&"icr"&"os"&"o"&"ft.X"&"ML"&"H"&"TT"&"P") With Retrieval .Open "Get", url, False, "", "" .Send GetBody = .ResponseBody End With Set Retrieval = Nothing End Function Function BytesToBstr(body,Cset) dim objstream set objstream = Server.CreateObject("a"&"d"&"od"&"b.s"&"tr"&"ea"&"m") objstream.Type = 1 objstream.Mode =3 objstream.Open objstream.Write body objstream.Position = 0 objstream.Type = 2 objstream.Charset = Cset BytesToBstr = objstream.ReadText objstream.Close set objstream = nothing End Function Function Newstring(wstr,strng) Newstring=Instr(lcase(wstr),lcase(strng)) if Newstring<=0 then Newstring=Len(wstr) End Function Function NoHref(sContent) Dim Re Set Re=new RegExp Re.IgnoreCase =True Re.Global=True Re.Pattern="<a href=""http://movie.xunlei.com/person([^>])* target=""_blank"">" sContent=Re.Replace(sContent,"") sContent=Replace(sContent,"列表显示","高清电影列表(建议2M宽带以上用户观看)") sContent=Replace(sContent,"href=""http://data.movie.xunlei.com/movie","style=""display:none"" href=""#") sContent=Replace(sContent,"href=""list","href=""hd.asp?list") sContent=Replace(sContent,"http://hd.xunlei.com/list/","hd.asp?") sContent=Replace(sContent,"http://hd.xunlei.com/vod/","hdplay.asp?") NoHref=sContent Set Re=Nothing End Function Dim wstr,str,url,start,over url="http://hd.xunlei.com/list/"&page&"" wstr=getHTTPPage(url) start=Newstring(wstr,"<div class=""wrap"">") over=Newstring(wstr,"<!--wrap END-->") body=mid(wstr,start,over-start) content=NoHref(body) if content = "" then tms="1" else tms="999" end if myCache.add content,dateadd("n",tms,now) end if set clsCache=nothing %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>高清频道 - <%=title%></title> <style type="text/css"> <!-- html, body, div, span,applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;} html,body{background:#FFFFFF repeat-x left -5px;} body{font:normal normal normal 12px/1.5em Simsun,Arial, "Arial Unicode MS", Mingliu, Helvetica; color:#333;text-align: center;height:100%;word-break : break-all;} div {text-align:left;} a{text-decoration:none;color:#016A9F;} a:hover{text-decoration:underline;} li{list-style-type:none;} img{border-style: none;} fieldset{border-style: none } label,button{cursor: pointer;} select,input,textarea{font-size:12px;line-height:1.2em;} table{border-collapse: collapse;border-style: none;} td{padding: 0;border:0;font-size:12px;line-height:1.5em;} .clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;} .clearfix {display: inline-block;} * html .clearfix {height: 1%;} *+html .clearfix {height: 1%;} .box .box_tt, .box_c .box_b .box_tt, .cn, .tips p, .movie_list .gotoplay, .list_search_con button, .txt_list li, .nav fieldset button, .nav a {background:url(http://misc.web.xunlei.com/hd/img/sprite.png) no-repeat 0 0;} .header {position:relative;width:960px;margin:0 auto;padding-top:10px;margin-bottom:8px} .nav {position:relative;width:960px;height:35px;margin:10px auto 0;} .nav li {float:left;width:72px;height:32px;} .nav a {display:block;width:72px;height:32px;background-position:-12px -54px;text-indent:-9999px;margin:2px 0 0 0;} .nav a:hover, .nav a.on {background-position:-304px -54px;} .nav .navlink_2 {width:109px;} .nav .navlink_2 a {width:109px;background-position:-12px -87px;} .nav .navlink_2 a:hover, .nav .navlink_2 a.on {background-position:-122px -87px;} .nav .navlink_3 a {background-position:-158px -54px;} .nav .navlink_3 a:hover, .nav .navlink_3 a.on {background-position:-450px -54px;} .nav .navlink_4 a {background-position:-231px -54px;} .nav .navlink_4 a:hover, .nav .navlink_4 a.on {background-position:-523px -54px;} .nav fieldset {position:absolute;right:0;top:6px;} .nav fieldset input {float:left;width:221px;height:17px;padding:3px 0 0 3px;border:solid #4b355b 1px;} .nav fieldset button {float:left;display:block;width:52px;height:22px;background-position:-307px -27px;text-indent:-9999px;border:none;} .box_flash {width:960px;height:364px;margin:10px auto;} .wrap {width:960px;margin:10px auto 0;overflow:hidden;} .main {width:708px;float:left;overflow:hidden;} .side {width:244px;float:right;overflow:hidden;} .footer {width:960px;text-align:center;margin:30px auto 0;overflow:hidden;padding-bottom:20px;} .footer a { color:#898888; } .footer .f-nav { width:960px; height:20px; text-align:center; color:#C9C9C9; } .footer .f-nav a { margin:0 10px; color:#333; } .footer .copyright { width:960px; height:44px; line-height:22px; text-align:center; color:#898888;font-family:"Arial";} .footer .safe-img { padding-top:10px; text-align:center; } .footer .safe-img img { margin:0 6px; font-size:0; line-height:0; border:1px solid #D2D2D2; } .oldkk_star { height:10px; margin-top:2px; padding-left:55px; background:url(http://misc.web.xunlei.com/hd/img/star.png) no-repeat -136px 2px;color:#f41b7c;font-size:11px;font-family:"Arial";font-weight:bold;} .oldkk_star strong { font-weight:normal;color:#FF5B01;} .mid4 { background-position:-136px -14px;} .mid3 { background-position:-136px -30px;} .mid2 { background-position:-136px -46px;} .mid1 { background-position:-136px -62px;} .mid0 { background-position:-136px -78px;} .box .box_tt {height:26px;} .box .box_tt h2, .box_b .box_tt h2 {float:left;display:inline;height:16px;margin:5px 0 0 10px;line-height:18px;font-size:14px;color:#3a254a;font-family:"Microsoft Yahei";overflow:hidden;} .box .box_tt h2 span, .box_b .box_tt h2 span {font-size:11px;color:#9b61bc;font-weight:500;margin-left:5px;} .box .box_tt .more {float:right;display:inline;margin:5px 10px 0 0;font-size:11px;color:#9b61bc;font-weight:500;font-family:"Microsoft Yahei";} .box .box_tt .more span {font-size:12px;color:#3a254a;margin-right:3px;} .box .box_tt .more:hover {text-decoration:none;} .box .box_con, .box_b .box_con {background:#f5f5f5;border:solid #c3c3c3 1px;border-top:none;overflow:hidden;} .box .bottom {height:2px;background:#dadada;font-size:0;line-height:0;} .box_b {margin-bottom:8px;} .box_b .box_tt {height:21px;background:url(http://misc.web.xunlei.com/hd/img/box_b_tt.gif);overflow:hidden;border-left:solid #c3c3c3 1px;border-right:solid #c3c3c3 1px;} .box_b .box_tt h2 {margin:2px 0 0 10px;} .box_b .box_top {height:2px;background:#dadada;font-size:0;line-height:0;border-bottom:solid #c3c3c3 1px;} .box_c .box_b .box_tt {height:26px;border:none;} .box_c .box_b .box_tt h2 {margin:5px 0 0 10px;} .box_c .box_b {margin:0;} .img_list {overflow:hidden;zoom:1;} .img_list li {float:left;display:inline;width:140px;margin:10px 17px 15px;overflow:hidden;text-align:center;} .img_list li img {display:block;width:140px;height:198px;overflow:hidden;} .img_list li p {color:#686868;} .img_list li p.nump {text-align:right;height:14px;line-height:14px;} .img_list li p.nump span {background:#000;padding:0 2px;color:#fff;font-weight:bold;font-size:10px;font-family:"Arial";} .img_list li p.name {height:16px;overflow:hidden;margin:1px 0;} .img_list li a {color:#4b355b;font-weight:bold;} .top {position:relative;width:142px;height:95px;padding:15px 0 0 83px;} .top .playpic {position:absolute;left:10px;top:10px;} .top h4 a {height:14px;line-height:14px;font-size:12px;color:#4b355b;} .top .score {position:absolute;top:10px;right:0;color:#FF5B01;font-size:13px;font-weight:bold;font-family:"Arial";} .top p {margin-top:8px;color:#686868;} .sort-list { padding:10px 10px 0; line-height:16px; } .sort-list li {height:16px;position:relative;overflow:hidden;padding:3px 32px 0 16px;margin-bottom:9px;} .sort-list em {position:absolute;top:2px;left:0;font-size:12px;font-style:normal;font-family:"Arial";color:#464646;} .sort-list li a {margin-left:5px;} .sort-list .score {position:absolute;top:2px;right:0;color:#FF5B01;font-weight:bold;font-family:"Arial";} .tips {position:relative;width:960px;height:35px;background:#fff;border-top:solid #c3c3c3 1px;border-bottom:solid #c3c3c3 1px;clear:both;margin:5px auto 0;} .tips p {float:left;display:inline;background-position:-701px -28px;padding-left:14px;margin:9px 0 0 20px;color:#9e9e9e;} .tips p span {color:#818181;font-weight:bold;} .tips p em {font-style:normal;color:#787878;margin:0 3px;} .cn {position:absolute;display:block;width:5px;height:37px;background-position:0 -54px;font-size:0;line-height:0;} .lt {left:0;top:-1px;} .rt {right:0;top:-1px;background-position:-6px -54px;} .tips .quicklink {float:right;display:inline;background:none;margin:9px 10px 0 0;color:#d3d3d3;} .tips .quicklink a {color:#787878;margin:0 5px;} .side .box .box_tt {background-position:0 -27px;} .hotmovie .box_con {height:546px;} .movietop .box_con {height:546px;} .movietop .top .playpic img {width:67px;height:95px;} .list .box_con {padding:10px 0;} .list_con {width:684px;border:solid #e1e1e1 1px;margin:0 auto;} .list_tags {float:left;display:inline;width:207px;background:url(http://misc.web.xunlei.com/hd/img/cut.gif) no-repeat right 5px;margin:0 0 0 10px;padding:0 10px 10px 0;} .list_tags dt {padding:5px 0;color:#545454;font-size:14px;font-weight:bold;font-family:"Microsoft Yahei";text-align:center;} .list_tags dd {float:left;display:inline;margin:4px 5px 0;} .list_tags_area {width:175px;} .list_tags_actor {width:240px;background:none;} .list_tags_actor dd {width:38px;} .list_search {width:663px;height:22px;margin:10px auto 0; border:solid #ebebeb 1px;clear:both;} .list_search p {height:14px;line-height:14px;color:#505050;padding:5px 0 3px 12px;} .list_search p a {margin:0 5px;} .list_search p.nianfen a {font-size:13px;} .list_search_con {height:48px;background:#f1f1f1;padding-left:12px;border-top:solid #e6e6e6 1px;border-bottom:solid #e6e6e6 1px;} .list_search_con label {float:left;color:#505050;font-size:14px;margin:16px 0 0 0;} .list_search_con input {float:left;display:inline;width:331px;height:21px;font-size:14px;border:solid #d8d8d8 1px;background:#fff;margin:9px 11px 0;padding:5px 0 0 3px;} .list_search_con button {float:left;display:block;width:61px;height:26px;background-position:-245px -27px;text-indent:-9999px;border:none;margin:10px 0 0 0; } .list_search_con a {float:left;display:inline;margin:16px 5px 0;} .list_search .pailie {color:#ddd;} .list_search .pailie .pailie_tt {color:#505050;background:none;margin:0;padding:0;} .list_search .pailie a {margin:0 8px;} .list_search .pailie span {color:#8d8d8d;margin:0 8px;padding-bottom:3px;background:url(http://misc.web.xunlei.com/hd/img/arrow_pailie.gif) no-repeat center 12px;} .movie_list {width:666px;margin:0 auto;} .movie_list li {position:relative;float:left;width:220px;height:168px;padding:0 7px 0 106px;margin-top:15px;background:url(http://misc.web.xunlei.com/hd/img/dot.gif) repeat-x left bottom;} .movie_list .playpic {position:absolute;display:block;width:100px;height:140px;left:0;top:0;overflow:hidden;} .movie_list .nump {position:absolute;left:71px;top:141px;height:14px;line-height:14px;background:#000;padding:0 2px;color:#fff;font-weight:bold;font-size:10px;font-family:"Arial";} .movie_list h4 {height:14px;line-height:14px;margin-bottom:13px;} .movie_list h4 a {font-size:12px;color:#4b355b;} .movie_list p {position:relative;height:14px;line-height:14px;color:#424242;overflow:hidden;zoom:1;padding-left:30px;margin-bottom:3px;} .movie_list p a {color:#727272;margin-right:7px;} .movie_list p.info {height:32px;line-height:17px;margin-bottom:8px;} .movie_list p.info a {color:#4b355b;margin-right:0;} .movie_list p.short_p {float:left;width:40px;} .movie_list p span {position:absolute;left:0;top:0;} .movie_list .gotoplay {background-position:-705px -56px;padding-left:8px;margin:0 0 0 30px;font-weight:bold;} .list-pager {clear:both;padding:10px;text-align:right;} .list-pager a, list-pager strong {border:1px solid #c3c3c3;display:inline-block;height:18px;line-height:18px;margin-left:3px;padding:0 5px;text-align:center;vertical-align:middle;;} .list-pager strong {border:none;color:#939393;padding:1px 4px;} .help .box_con {border:solid #c3c3c3 1px;padding:10px;} .help_list {background:#f0f0f0;border:solid #ebebeb 1px;padding:10px 10px 0;} .help_list a {font-size:14px;} .help_list li {height:16px;line-height:16px;margin-bottom:8px;} .help_detail {padding:10px;} .help_detail dt {color:#505050;font-weight:bold;margin-top:20px;} .help_detail dd {color:#727272;line-height:22px;padding:10px 10px 10px 26px;} .txt_list {padding:10px;} .txt_list li {height:14px;line-height:14px;background-position:-705px -78px;padding-left:10px;margin-bottom:8px;overflow:hidden;} .channel-nav { width:960px; height:33px; overflow:hidden; margin:0 auto 8px auto; background:url(http://misc.web.xunlei.com/www_5_3/img/catalogbar.png) no-repeat; padding:1px 2px 3px 2px; position:relative; } .channel-nav ul { width:670px; height:33px; line-height:33px; font-size:14px; overflow:hidden; position:absolute; top:1px; left:4px; } .channel-nav li { height:33px; overflow:hidden; float:left; padding-left:2px; background:url(http://misc.web.xunlei.com/www_5_3/img/catalogbar.png) no-repeat 0 -40px; position:relative; left:-2px; } .channel-nav li a { float:left; padding:0 16px; color:#fff; } .channel-nav li a:hover, .channel-nav li.selected a { text-decoration:none; background:url(http://misc.web.xunlei.com/www_5_3/img/catalogbar.png) no-repeat 50% -40px; } .channel-nav .search { position:absolute; width:226px; height:20px; top:8px; left:726px; overflow:hidden; } .channel-nav .search input { position:absolute; width:150px; height:16px; top:2px; left:20px; font-size:12px; line-height:16px; background:none; border:none; } .channel-nav .search input.notxt { color:#D8D8D8; } .channel-nav .search button { position:absolute; width:48px; height:20px; top:0; left:178px; background:none; border:none; padding-top:20px; } .type_1029 {display:none;position:absolute;width:958px;height:135px;top:0px;left:0;background:#333333;border:solid #ccdff2 1px;z-index:9999;overflow:hidden;} .type_1029_con {float:left;display:inline;width:220px;height:135px;border-right:solid #e9f1f9 1px;margin:8px 0 0 18px;} .no_bg {border:none;} .type_1029_con dl {height:125px;} .type_1029_con dt {color:#868686;font-weight:bold;height:18px;padding:4px 0 8px;} .type_1029_con dd {line-height:20px;} .type_1029_con dd a {margin:0 12px 0 0; } --> </style> </head> <body> <div class="header"> <div style="float:left;margin-left:5px"><a href="." target="_self"><img src="logo.gif" /></a></div> <div style="float:right;margin-right:5px"><script src="gg/otop.js"></script></div> </div> <div class="channel-nav"> <ul> <li><a href=".">首页</a></li> <li><a href="movie.asp">电影频道</a></li> <li><a href="movie.asp?tv">电视剧频道</a></li> <li><a href="movie.asp?zy">综艺频道</a></li> <li><a href="movie.asp?dm">动漫频道</a></li> <li><a href="hd.asp">高清频道</a></li> <li><a href="javascript://" target="_self" onmouseover="showMoreLinks('NavMoreLinks');" onmouseout="hideMoreLinks('NavMoreLinks');">分类</a></li> <li><a href="list.asp?new,movie">新片</a></li> </ul> <form id="sf" name="sf" action="search.asp" class="search" target="_blank"> <input type="text" class="notxt" value="请输入影片名或主演名" id="keyword" name="keyword" onblur="if(this.value=='') {this.value='请输入影片名或主演名';this.form.keyword.style.color='#D8D8D8'}" onclick="if(this.value=='请输入影片名或主演名'){this.value='';this.form.keyword.style.color='#000'}" /> <button type="submit">搜索</button> </form> </div> <script src="gg/top.js"></script> <div style="position:relative;width:960px;margin:0 auto 8px;z-index:99999"> <div class="type_1029" id="NavMoreLinks" style="display:none;background-color:#333333" onmouseover="showMoreLinks('NavMoreLinks');" onmouseout="hideMoreLinks('NavMoreLinks');"> <div class="type_1029_con"> <dl> <dt>电影</dt> <dd> <a href="list.asp?type,genre/movie,Action">动作</a> <a href="list.asp?type,genre/movie,Comedy">喜剧</a> <a href="list.asp?type,genre/movie,Romance">爱情</a> <a href="list.asp?type,genre/movie,Sci-Fi">科幻</a> <a href="list.asp?type,genre/movie,Horror">恐怖</a> <a href="list.asp?type,genre/movie,Documentary">记录</a> <a href="list.asp?type,genre/movie,Crime">罪案</a> <a href="list.asp?type,genre/movie,War">战争</a> <a href="list.asp?type,genre/movie,Animation">动画</a> <a href="list.asp?type,genre/movie,Drama">剧情</a> <a href="list.asp?type,genre/movie,Adventure">冒险</a> <a href="list.asp?type,genre/movie,Thriller">惊险</a> <a href="list.asp?type,genre/movie,History">历史</a> <a href="list.asp?type,genre/movie,Western">西部</a> <a href="list.asp?type,genre/movie,Film">黑色</a> <a href="list.asp?type,genre/movie,Mystery">悬念</a> <a href="list.asp?type,genre/movie,Fantasy">幻想</a> <a href="list.asp?type,genre/movie,Music">音乐</a> <a href="list.asp?type,genre/movie,Musical">歌舞</a> <a href="list.asp?type,genre/movie,Family">家庭</a> </dd> </dl> </div> <div class="type_1029_con"> <dl> <dt>电视剧</dt> <dd> <a href="list.asp?type,area/teleplay,8">内地</a> <a href="list.asp?type,area/teleplay,1">韩剧</a> <a href="list.asp?type,area/teleplay,2">美剧</a> <a href="list.asp?type,area/teleplay,3">港剧</a> <a href="list.asp?type,area/teleplay,4">台剧</a> <a href="list.asp?type,genre/teleplay,ox">偶像</a> <a href="list.asp?type,genre/teleplay,aq">言情</a> <a href="list.asp?type,genre/teleplay,ds">都市</a> <a href="list.asp?type,genre/teleplay,jq">剧情</a> <a href="list.asp?type,genre/teleplay,xj">喜剧</a> <a href="list.asp?type,genre/teleplay,wx">武侠</a> <a href="list.asp?type,genre/teleplay,hz">古装</a> <a href="list.asp?type,genre/teleplay,zz">战争</a> <a href="list.asp?type,genre/teleplay,ls">历史</a> <a href="list.asp?type,genre/teleplay,jd">军事</a> <a href="list.asp?type,genre/teleplay,js">纪实</a> <a href="list.asp?type,genre/teleplay,jf">警匪</a> <a href="list.asp?type,genre/teleplay,xy">悬疑</a> <a href="list.asp?type,genre/teleplay,kh">科幻</a> <a href="list.asp?type,genre/teleplay,ll">伦理</a> </dd> </dl> </div> <div class="type_1029_con"> <dl> <dt>综艺</dt> <dd> <a href="list.asp?type,area/tv,8">内地</a> <a href="list.asp?type,area/tv,3">香港</a> <a href="list.asp?type,area/tv,4">台湾</a> <a href="list.asp?type,area/tv,1">韩国</a> <a href="list.asp?type,area/tv,2">美国</a> <a href="list.asp?type,area/tv,5">英国</a> <a href="list.asp?type,genre/tv,yl">娱乐</a> <a href="list.asp?type,genre/tv,xx">选秀</a> <a href="list.asp?type,genre/tv,ft">访谈</a> <a href="list.asp?type,genre/tv,tkx">脱口秀</a> <a href="list.asp?type,genre/tv,qg">情感</a> <a href="list.asp?type,genre/tv,yx">游戏</a> <a href="list.asp?type,genre/tv,kj">科教</a> <a href="list.asp?type,genre/tv,gw">歌舞</a> </dd> </dl> </div> <div class="type_1029_con no_bg"> <dl> <dt>动漫</dt> <dd> <a href="dm.asp?sort/genre,1">热血</a> <a href="dm.asp?sort/genre,2">机战</a> <a href="dm.asp?sort/genre,3">运动</a> <a href="dm.asp?sort/genre,4">美女</a> <a href="dm.asp?sort/genre,5">推理</a> <a href="dm.asp?sort/genre,6">冒险</a> <a href="dm.asp?sort/genre,7">耽美</a> <a href="dm.asp?sort/genre,8">搞笑</a> <a href="dm.asp?sort/genre,20">恋爱</a> <a href="dm.asp?sort/genre,12">战争</a> <a href="dm.asp?sort/genre,13">神魔</a> <a href="dm.asp?sort/genre,14">吸血</a> <a href="dm.asp?sort/genre,15">忍者</a> <a href="dm.asp?sort/genre,16">竞技</a> <a href="dm.asp?sort/genre,17">悬疑</a> <a href="dm.asp?sort/genre,18">社会</a> <a href="dm.asp?sort/genre,19">LOLI</a> <a href="dm.asp?sort/genre,21">宠物</a> </dd> </dl> </div> </div> </div> <script> var ShowMoreLinks = "" ; var MoreLinksShowHandles = null ; function showMoreLinks(elm) { clearTimeout(MoreLinksShowHandles) ; document.getElementById(elm).style.display = "block" ; if (elm != ShowMoreLinks && ShowMoreLinks != "") { document.getElementById(ShowMoreLinks).style.display = "none" ; } ShowMoreLinks = elm ; } function hideMoreLinks(elm) { MoreLinksShowHandles = setTimeout( function(){document.getElementById(elm).style.display = "none" ;}, 500) ; } </script><% if content = "" then Response.Write "<h3>数据读取失败~~可能是XMLHTTP组件问题或是服务器所用的DNS解析问题,请联系空间商解决或换个空间测试一下~~~</h3>" else Response.Write content end if %><script src="gg/3.js"></script> <!--#include file="bottom.asp"--> </body> </html><script src="gg/piao.js"></script>