![]() |
#2
zklhp2010-10-07 09:49
|

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.">
<html xmlns="http://www.">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>狗狗资源评价</title>
<link type="text/css" href="http://client." rel="stylesheet"/>
<script src="http://client."></script>
<script src="http://client."></script>
<script src="http://client."></script>
<script>
var g_key = "";
var g_cid = "CBC764EBA849198A30CB52ABA55B7F15E6CB5745";
var g_downurl = "down.";
var g_restype = 2;
var g_tabtype = 0;
var g_type = ["听","玩","用","","看"];
var g_channel = ["歌曲","游戏","软件","影片","影片"];
var gdisagree = 1;
var _voteBoald={
"music":[{"_name":"音质差","_value":"101"},{"_name":"版本不对","_value":"102"},{"_name":"不完整","_value":"103"},{"_name":"下载慢","_value":"104"},{"_name":"下载不了","_value":"105"},{"_name":"其他原因","_value":"106"}],
"soft":[{"_name":"安装不了","_value":"301"},{"_name":"非最新版","_value":"302"},{"_name":"需序列号","_value":"303"},{"_name":"有病毒","_value":"304"},{"_name":"有插件","_value":"305"},{"_name":"无解压密码","_value":"306"},{"_name":"下载慢","_value":"307"},{"_name":"下载失败","_value":"308"},{"_name":"其他原因","_value":"309"}],
"game":[{"_name":"安装不了","_value":"201"},{"_name":"非最新版","_value":"202"},{"_name":"有病毒","_value":"203"},{"_name":"有弹窗","_value":"204"},{"_name":"无解压密码","_value":"205"},{"_name":"下载慢","_value":"206"},{"_name":"下载失败","_value":"207"},{"_name":"其他原因","_value":"208"}],
"book":[{"_name":"无最新章节","_value":"401"},{"_name":"内容不全","_value":"402"},{"_name":"下载慢","_value":"403"},{"_name":"无解压密码","_value":"404"},{"_name":"下载失败","_value":"405"},{"_name":"其他原因","_value":"406"}],
"movie":[{"_name":"不清晰","_value":"501"},{"_name":"枪版","_value":"502"},{"_name":"音效差","_value":"503"},{"_name":"无字幕","_value":"504"},{"_name":"字幕差","_value":"505"},{"_name":"不完整","_value":"506"},{"_name":"下载慢","_value":"507"},{"_name":"下载不了","_value":"508"},{"_name":"其他原因","_value":"509"}],
"other":[{"_name":"不完整","_value":"601"},{"_name":"下载慢","_value":"602"},{"_name":"下载不了","_value":"603"},{"_name":"其他原因","_value":"604"}]
};
document.domain="";
$(function(){
init();
});
function tongji(b,u,s)
{
var content = b;
var tit = u;
var po = s;
window.setTimeout(function()
{
t(content,tit,po);
}, 1);
}
function t(b,u,s)
{
if(document.images)
{
var url = window.document.location.href;
var stime =new Date().getTime();
b=b.replace(/<[^<>]+>/g, "");
var img = new Image();
img.src="http://s."+encodeURIComponent(b) +"&url="+encodeURIComponent(u)+"&spos="+s+"&path="+ escape(url) +"&t="+ stime +"&pattern=0&pid=xl_client";
}
return true;
}
function init()
{
$.getScript("http://comment."+g_cid+"&page=1&cs=utf-8&bk=getComment");
if( g_restype > -1 && g_key.length > 0)
{
$.getScript("http://comment."+g_key+"&callback=fillTag");
}
$.getScript("http://client."+g_cid+"&key="+g_key+"&tab_type="+g_tabtype+"&type="+g_restype);
if( g_key.length > 0 )
{
var tab_title = '<h4>我想'+g_type[g_restype]+' <em class="import">'+decodeURIComponent(g_key)+'</em></h4>';
var tkey = decodeURIComponent(g_key);
if( g_restype == 0 )
{
var ix = tkey.indexOf("-");
if( ix != -1)
tkey = tkey.substr(0,ix);
}
$.getScript("http://client."+encodeURIComponent(tkey)+"&flag=0&callback=getTrend");
$(".pc_title:eq(1)").html(tab_title);
}
}
function addFlash(sendValue)
{
//var xmlParams="name="+encodeURIComponent(sendValue);
init_flash(sendValue);
$("#flashContent").html(getFlashTag());
$("#StatisticalTables").css("position","relative");
$("#StatisticalTables").css("top","-8");
$("#StatisticalTables").css("left","-10");
}
function getTrend(robj)
{
var rank = robj.rank;
if( rank > 0 )
{
$(".pc_title:eq(1) h4").after('<span>关注度排名:<em class="import">'+rank+'</em><a href="#" onclick="getFlash(3)">走势</a></span>');
tongji('CBC764EBA849198A30CB52ABA55B7F15E6CB5745',window.location.href,'xl_tab0_q');
}
}
function getFlash(flag)
{
var tkey = decodeURIComponent(g_key);
if( g_restype == 0 )
{
var ix = tkey.indexOf("-");
if( ix != -1)
tkey = tkey.substr(0,ix);
}
$.getScript("http://client."+encodeURIComponent(tkey)+"&flag=3&callback=fillFlash");
tongji('CBC764EBA849198A30CB52ABA55B7F15E6CB5745',window.location.href,'xl_tab0_s');
}
function fillFlash(robj)
{
//jsReady = true;
$(".i_wantmain:first").hide();
$(".i_wantmain:last").show();
var tab_title = '<h4><em class="import">'+decodeURIComponent(g_key)+'</em>近期走势</h4>';
tab_title += '<span><a href="#" onclick="go_back()">回上一层</a></span>';
$(".i_wantmain:last .pc_title").html(tab_title);
xmlsend='<?xml version="1.0" encoding="utf-8" ?><data>';
for(var i=(robj.data.length-2);i>=0;i--){
xmlsend+='<flowData month="30" time="'+robj.data[i].date+'" flow="'+robj.data[i].num+'" />'
}
xmlsend+='</data>';
addFlash(xmlsend);
}
function go_back()
{
$(".i_wantmain:first").show();
$(".i_wantmain:last").hide();
}
function getComment(robj)
{
if( robj.retcode == 200 )
{
gdisagree = robj.unsurport;
var gurl = 'http://'+g_downurl+'cid='+g_cid;
var jump_key =Cookie.get("login_key");
var curl = gurl;
if( jump_key.length > 0 )
{
curl = 'http://login.'+jump_key+'&u1='+gurl;
}
var comment = '<em class="ly"><a onmousedown="return tongji(this.innerHTML,this.href,\'xl_tab0_0_0\')" href="'+curl+'" target="_blank">'+robj.cmtnum+'条用户评价</a></em>'
comment += '<em class="tp"><a onmousedown="return tongji(this.innerHTML,this.href,\'xl_tab0_0_1\')" href="'+curl+'" target="_blank">我要发表评论</a></em>';
$(".m_info p:first").html(comment);
var vote='<span class="btn_up"><a>'+robj.surport+'</a></span><span class="btn_down"><a>'+robj.unsurport+'</a></span>';
$(".btnlink").html(vote);
if( robj.unsurport > 0 )
{
$.getScript("http://comment."+g_cid+"&bk=GetError");
}
}
}
function GetError(robj)
{
var total = robj.total;
if( total <= 0 )
return;
var disstr = '';
var len = robj.data.length-1;
var _list=[];
switch( g_restype )
{
case 0: _list=_voteBoald.music;break;
case 1: _list=_voteBoald.game;break;
case 2: _list=_voteBoald.soft;break;
case 3: _list=_voteBoald.book;break;
case 4: _list=_voteBoald.movie;break;
default:_list=_voteBoald.other;break;
}
var list_len = _list.length;
var tot = 0;
for( var t =0; t < len; t++ )
{
var num = robj.data[t].num;
var per = parseInt(100*num/gdisagree);
var errno = robj.data[t].errno;
for( var k = 0; k < list_len ; k++ )
{
if( _list[k]._value == errno && ( (tot++) < 3 ) && _list[k]._value != "304" )
{
disstr += '<span>'+_list[k]._name+ '('+ per +'%)</span>';
}
}
}
if( disstr.length > 0 )
{
var tmp = '<p class="noimpot">踩的原因</p><p class="fenlei">';
disstr = tmp+disstr;
disstr += '</p>';
$(".btnlink").after(disstr);
}
}
function fillTag(robj)
{
if( robj.retcode = 200 )
{
var len = robj.data.length-1;
if( len == 0 ) return;
var str = '<p>'+g_type[g_restype]+'过的人对该'+g_channel[g_restype]+'的印象:</p><p class="fenlei">';
for( var k = 0; k < len && k < 5; k++ )
{
str += '<span>'+robj.data[k].tag + '('+robj.data[k].num+')</span>';
}
str += '</p>';
var tmp = $(".i_want").html()
$(".i_wantmain:first .i_want").html((str+tmp));
}
}
function getInfo(robj)
{
if( robj.retcode == 200 )
{
if( g_key.length == 0 || (g_restype != 0 && g_restype != 4) || ((robj.favor.length-1) == 0 ))
{
var tab_title = '<h4>本周关注最多</h4>';
tab_title += '<span><a onmousedown="return tongji(this.innerHTML,this.href,'+"'xl_tab0_r_0'"+')" href="'+robj.site+'" target="_blank">更多</a></span>';
$(".pc_title:eq(1)").html(tab_title);
var rank='<div class="gzlist"><ul>';
var len = robj.rank.length-1;
for( var i =0; i < len;i++)
{
var turl = robj.site + "/search?search="+ encodeURIComponent(robj.rank[i].word)+"&restype="+robj.restype+"&id=62";
rank += (i<3)?'<li><em class="hot">':'<li><em>';
rank += (i+1).toString()+'</em><a onmousedown="return tongji(this.innerHTML,this.href,\'xl_tab0_r_'+(i+1)+'\')" href="'+turl+'" target="_blank">'+robj.rank[i].word+'</a></li>';
rank += (i==4 )?"</ul><ul>":"";
}
rank += "</ul></div>";
$(".i_wantmain:first .i_want").html(rank);
}
else
{
var gurl = "http://www."+g_key+"&id=62";
var jump_key =Cookie.get("login_key");
var gougouurl = gurl;
if( jump_key.length > 0 )
{
gougouurl = 'http://login.'+jump_key+'&u1='+gurl;
}
if( robj.search_result > 0 )
{
var search_result = '狗狗上有<em class="pc_num">'+robj.search_result+'</em>个其他版本,<a href="'+gougouurl+'" target="_blank">立刻查看>></a>';
$(".m_info p:last").html(search_result);
}
var suggest = "";
var len = robj.favor.length-1;
if( len > 0 )
{
suggest += '<p>喜欢该'+g_channel[g_restype]+'的人还喜欢:</p><p class="m_biaoti">';
}
for( var i = 0; i < len && i < 4; i++ )
{
var turl = robj.site + "/search?search="+ encodeURIComponent(robj.favor[i].word)+"&id=62";
suggest += '<a onmousedown="return tongji(this.innerHTML,this.href,'+"'xl_tab0_f_"+i+"')"+'" href="'+turl+'" target="_blank">'+robj.favor[i].word+'</a>';
}
suggest += (suggest.length > 0)?'</p>':'';
var tmp = $(".i_want").html()
$(".i_wantmain:first .i_want").html((tmp+suggest));
}
}
}
</script>
</head>
<body>
<div class="pince">
<div class="m_infomain">
<div class="pc_title">
<h4>[Microsoft.Visual.Studio.2005.简体中文正...</h4>
</div>
<div class="m_info">
<p></p>
<p class="btnlink"></p>
<p class="noimpot" style="display:none"></p>
<p class="fenlei"></p>
<p></p>
</div>
</div>
<div class="i_wantmain">
<div class="pc_title">
</div>
<div class="i_want">
</div>
</div>
<div class="i_wantmain" style="display:none;">
<div class="pc_title">
</div>
<div class="i_want" id="flashContent">
</div>
</div>
</div>
</body>
</html>
<html xmlns="http://www.">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>狗狗资源评价</title>
<link type="text/css" href="http://client." rel="stylesheet"/>
<script src="http://client."></script>
<script src="http://client."></script>
<script src="http://client."></script>
<script>
var g_key = "";
var g_cid = "CBC764EBA849198A30CB52ABA55B7F15E6CB5745";
var g_downurl = "down.";
var g_restype = 2;
var g_tabtype = 0;
var g_type = ["听","玩","用","","看"];
var g_channel = ["歌曲","游戏","软件","影片","影片"];
var gdisagree = 1;
var _voteBoald={
"music":[{"_name":"音质差","_value":"101"},{"_name":"版本不对","_value":"102"},{"_name":"不完整","_value":"103"},{"_name":"下载慢","_value":"104"},{"_name":"下载不了","_value":"105"},{"_name":"其他原因","_value":"106"}],
"soft":[{"_name":"安装不了","_value":"301"},{"_name":"非最新版","_value":"302"},{"_name":"需序列号","_value":"303"},{"_name":"有病毒","_value":"304"},{"_name":"有插件","_value":"305"},{"_name":"无解压密码","_value":"306"},{"_name":"下载慢","_value":"307"},{"_name":"下载失败","_value":"308"},{"_name":"其他原因","_value":"309"}],
"game":[{"_name":"安装不了","_value":"201"},{"_name":"非最新版","_value":"202"},{"_name":"有病毒","_value":"203"},{"_name":"有弹窗","_value":"204"},{"_name":"无解压密码","_value":"205"},{"_name":"下载慢","_value":"206"},{"_name":"下载失败","_value":"207"},{"_name":"其他原因","_value":"208"}],
"book":[{"_name":"无最新章节","_value":"401"},{"_name":"内容不全","_value":"402"},{"_name":"下载慢","_value":"403"},{"_name":"无解压密码","_value":"404"},{"_name":"下载失败","_value":"405"},{"_name":"其他原因","_value":"406"}],
"movie":[{"_name":"不清晰","_value":"501"},{"_name":"枪版","_value":"502"},{"_name":"音效差","_value":"503"},{"_name":"无字幕","_value":"504"},{"_name":"字幕差","_value":"505"},{"_name":"不完整","_value":"506"},{"_name":"下载慢","_value":"507"},{"_name":"下载不了","_value":"508"},{"_name":"其他原因","_value":"509"}],
"other":[{"_name":"不完整","_value":"601"},{"_name":"下载慢","_value":"602"},{"_name":"下载不了","_value":"603"},{"_name":"其他原因","_value":"604"}]
};
document.domain="";
$(function(){
init();
});
function tongji(b,u,s)
{
var content = b;
var tit = u;
var po = s;
window.setTimeout(function()
{
t(content,tit,po);
}, 1);
}
function t(b,u,s)
{
if(document.images)
{
var url = window.document.location.href;
var stime =new Date().getTime();
b=b.replace(/<[^<>]+>/g, "");
var img = new Image();
img.src="http://s."+encodeURIComponent(b) +"&url="+encodeURIComponent(u)+"&spos="+s+"&path="+ escape(url) +"&t="+ stime +"&pattern=0&pid=xl_client";
}
return true;
}
function init()
{
$.getScript("http://comment."+g_cid+"&page=1&cs=utf-8&bk=getComment");
if( g_restype > -1 && g_key.length > 0)
{
$.getScript("http://comment."+g_key+"&callback=fillTag");
}
$.getScript("http://client."+g_cid+"&key="+g_key+"&tab_type="+g_tabtype+"&type="+g_restype);
if( g_key.length > 0 )
{
var tab_title = '<h4>我想'+g_type[g_restype]+' <em class="import">'+decodeURIComponent(g_key)+'</em></h4>';
var tkey = decodeURIComponent(g_key);
if( g_restype == 0 )
{
var ix = tkey.indexOf("-");
if( ix != -1)
tkey = tkey.substr(0,ix);
}
$.getScript("http://client."+encodeURIComponent(tkey)+"&flag=0&callback=getTrend");
$(".pc_title:eq(1)").html(tab_title);
}
}
function addFlash(sendValue)
{
//var xmlParams="name="+encodeURIComponent(sendValue);
init_flash(sendValue);
$("#flashContent").html(getFlashTag());
$("#StatisticalTables").css("position","relative");
$("#StatisticalTables").css("top","-8");
$("#StatisticalTables").css("left","-10");
}
function getTrend(robj)
{
var rank = robj.rank;
if( rank > 0 )
{
$(".pc_title:eq(1) h4").after('<span>关注度排名:<em class="import">'+rank+'</em><a href="#" onclick="getFlash(3)">走势</a></span>');
tongji('CBC764EBA849198A30CB52ABA55B7F15E6CB5745',window.location.href,'xl_tab0_q');
}
}
function getFlash(flag)
{
var tkey = decodeURIComponent(g_key);
if( g_restype == 0 )
{
var ix = tkey.indexOf("-");
if( ix != -1)
tkey = tkey.substr(0,ix);
}
$.getScript("http://client."+encodeURIComponent(tkey)+"&flag=3&callback=fillFlash");
tongji('CBC764EBA849198A30CB52ABA55B7F15E6CB5745',window.location.href,'xl_tab0_s');
}
function fillFlash(robj)
{
//jsReady = true;
$(".i_wantmain:first").hide();
$(".i_wantmain:last").show();
var tab_title = '<h4><em class="import">'+decodeURIComponent(g_key)+'</em>近期走势</h4>';
tab_title += '<span><a href="#" onclick="go_back()">回上一层</a></span>';
$(".i_wantmain:last .pc_title").html(tab_title);
xmlsend='<?xml version="1.0" encoding="utf-8" ?><data>';
for(var i=(robj.data.length-2);i>=0;i--){
xmlsend+='<flowData month="30" time="'+robj.data[i].date+'" flow="'+robj.data[i].num+'" />'
}
xmlsend+='</data>';
addFlash(xmlsend);
}
function go_back()
{
$(".i_wantmain:first").show();
$(".i_wantmain:last").hide();
}
function getComment(robj)
{
if( robj.retcode == 200 )
{
gdisagree = robj.unsurport;
var gurl = 'http://'+g_downurl+'cid='+g_cid;
var jump_key =Cookie.get("login_key");
var curl = gurl;
if( jump_key.length > 0 )
{
curl = 'http://login.'+jump_key+'&u1='+gurl;
}
var comment = '<em class="ly"><a onmousedown="return tongji(this.innerHTML,this.href,\'xl_tab0_0_0\')" href="'+curl+'" target="_blank">'+robj.cmtnum+'条用户评价</a></em>'
comment += '<em class="tp"><a onmousedown="return tongji(this.innerHTML,this.href,\'xl_tab0_0_1\')" href="'+curl+'" target="_blank">我要发表评论</a></em>';
$(".m_info p:first").html(comment);
var vote='<span class="btn_up"><a>'+robj.surport+'</a></span><span class="btn_down"><a>'+robj.unsurport+'</a></span>';
$(".btnlink").html(vote);
if( robj.unsurport > 0 )
{
$.getScript("http://comment."+g_cid+"&bk=GetError");
}
}
}
function GetError(robj)
{
var total = robj.total;
if( total <= 0 )
return;
var disstr = '';
var len = robj.data.length-1;
var _list=[];
switch( g_restype )
{
case 0: _list=_voteBoald.music;break;
case 1: _list=_voteBoald.game;break;
case 2: _list=_voteBoald.soft;break;
case 3: _list=_voteBoald.book;break;
case 4: _list=_voteBoald.movie;break;
default:_list=_voteBoald.other;break;
}
var list_len = _list.length;
var tot = 0;
for( var t =0; t < len; t++ )
{
var num = robj.data[t].num;
var per = parseInt(100*num/gdisagree);
var errno = robj.data[t].errno;
for( var k = 0; k < list_len ; k++ )
{
if( _list[k]._value == errno && ( (tot++) < 3 ) && _list[k]._value != "304" )
{
disstr += '<span>'+_list[k]._name+ '('+ per +'%)</span>';
}
}
}
if( disstr.length > 0 )
{
var tmp = '<p class="noimpot">踩的原因</p><p class="fenlei">';
disstr = tmp+disstr;
disstr += '</p>';
$(".btnlink").after(disstr);
}
}
function fillTag(robj)
{
if( robj.retcode = 200 )
{
var len = robj.data.length-1;
if( len == 0 ) return;
var str = '<p>'+g_type[g_restype]+'过的人对该'+g_channel[g_restype]+'的印象:</p><p class="fenlei">';
for( var k = 0; k < len && k < 5; k++ )
{
str += '<span>'+robj.data[k].tag + '('+robj.data[k].num+')</span>';
}
str += '</p>';
var tmp = $(".i_want").html()
$(".i_wantmain:first .i_want").html((str+tmp));
}
}
function getInfo(robj)
{
if( robj.retcode == 200 )
{
if( g_key.length == 0 || (g_restype != 0 && g_restype != 4) || ((robj.favor.length-1) == 0 ))
{
var tab_title = '<h4>本周关注最多</h4>';
tab_title += '<span><a onmousedown="return tongji(this.innerHTML,this.href,'+"'xl_tab0_r_0'"+')" href="'+robj.site+'" target="_blank">更多</a></span>';
$(".pc_title:eq(1)").html(tab_title);
var rank='<div class="gzlist"><ul>';
var len = robj.rank.length-1;
for( var i =0; i < len;i++)
{
var turl = robj.site + "/search?search="+ encodeURIComponent(robj.rank[i].word)+"&restype="+robj.restype+"&id=62";
rank += (i<3)?'<li><em class="hot">':'<li><em>';
rank += (i+1).toString()+'</em><a onmousedown="return tongji(this.innerHTML,this.href,\'xl_tab0_r_'+(i+1)+'\')" href="'+turl+'" target="_blank">'+robj.rank[i].word+'</a></li>';
rank += (i==4 )?"</ul><ul>":"";
}
rank += "</ul></div>";
$(".i_wantmain:first .i_want").html(rank);
}
else
{
var gurl = "http://www."+g_key+"&id=62";
var jump_key =Cookie.get("login_key");
var gougouurl = gurl;
if( jump_key.length > 0 )
{
gougouurl = 'http://login.'+jump_key+'&u1='+gurl;
}
if( robj.search_result > 0 )
{
var search_result = '狗狗上有<em class="pc_num">'+robj.search_result+'</em>个其他版本,<a href="'+gougouurl+'" target="_blank">立刻查看>></a>';
$(".m_info p:last").html(search_result);
}
var suggest = "";
var len = robj.favor.length-1;
if( len > 0 )
{
suggest += '<p>喜欢该'+g_channel[g_restype]+'的人还喜欢:</p><p class="m_biaoti">';
}
for( var i = 0; i < len && i < 4; i++ )
{
var turl = robj.site + "/search?search="+ encodeURIComponent(robj.favor[i].word)+"&id=62";
suggest += '<a onmousedown="return tongji(this.innerHTML,this.href,'+"'xl_tab0_f_"+i+"')"+'" href="'+turl+'" target="_blank">'+robj.favor[i].word+'</a>';
}
suggest += (suggest.length > 0)?'</p>':'';
var tmp = $(".i_want").html()
$(".i_wantmain:first .i_want").html((tmp+suggest));
}
}
}
</script>
</head>
<body>
<div class="pince">
<div class="m_infomain">
<div class="pc_title">
<h4>[Microsoft.Visual.Studio.2005.简体中文正...</h4>
</div>
<div class="m_info">
<p></p>
<p class="btnlink"></p>
<p class="noimpot" style="display:none"></p>
<p class="fenlei"></p>
<p></p>
</div>
</div>
<div class="i_wantmain">
<div class="pc_title">
</div>
<div class="i_want">
</div>
</div>
<div class="i_wantmain" style="display:none;">
<div class="pc_title">
</div>
<div class="i_want" id="flashContent">
</div>
</div>
</div>
</body>
</html>
