新聞動態(tài)
寤虹瓚浠峰€艱鐨勬紨鍙樺ぇ鑷寸粡鍘嗕簡鍝嚑涓樁孌?/a>
摘要:錛?錛夊疄鐢ㄥ緩絳戝闃舵錛岃拷姹傞€傜敤銆佸潥鍥恒€佺編瑙傜殑寤虹瓚錛涳紙2錛夎壓鏈緩絳戝闃舵錛岃寤虹瓚涓?鍑濆浐鐨勯煶涔?錛涳紙3錛夋満鍣ㄥ緩絳戝闃舵錛屾妸寤虹瓚鐪嬩綔"浣忎漢鐨勬満鍣?錛涳紙4錛夌┖闂村緩絳戝闃舵錛岃璇嗗埌"絀洪棿鏄緩絳戠殑涓昏"錛涳紙5錛夌幆澧冨緩絳戝闃舵錛岃涓哄緩絳戞槸鐜鐨勭瀛﹀拰鑹?/>
<link type="text/css" rel="stylesheet" href="/css/common.css" />
<link type="text/css" rel="stylesheet" href="/css/public.css?rand=12" />
<link type="text/css" rel="stylesheet" href="/css/yl.css" />
<script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/js/public.js?rand=1"></script>
<script type="text/javascript" src="/js/user.js?rand=5"></script><link href="/css/thickbox.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/js/thickbox.js"></script>
<script type="text/javascript">
getWikiStatus();
function sendweibo(){
var id='743214';
var url=location.href;
var title=$('#texts').val();
$.post('/info/sendweibo',{title:title,url:url,id:id},function(data){
var data=eval("("+data+")");
if(data==-1){
location.href="http://passport.zhulong.com/user/login?redirecturl="+location.href;
return;
}
if(data==0){
tb_remove();
reviewSuccess('杞挱鎴愬姛');
var num=$('#zb').text();
num=parseInt(num)+1;
$('#zb').text(num);
}
else
{
$('#comment_error_message').html('杞彂澶辮觸');
}
});
}
function setwiki(filed,type,num)
{
var url='/info/' + filed;
var id='743214';
//var title="寤虹瓚浠峰€艱鐨勬紨鍙樺ぇ鑷寸粡鍘嗕簡鍝嚑涓樁孌?;
$.post(url,{id:id,aid:9572898,author_name:'',class_id:112,title:'',type:type},function(data){
var data=eval("("+data+")");
if(data==-1)
{
location.href="http://passport.zhulong.com/user/login?redirecturl="+location.href;
return;
}
if(filed=='addwiki' && data==0){
if(type==1){
$('#likenum1').html(Number($('#likenum1').html())+1);
$('#likenum').html(Number($('#likenum').html())+1);
$('#like1').show();
$('#like').hide();
}else{
$('#sjnum').html(Number($('#sjnum').html())+1);
$('#sjnum1').html(Number($('#sjnum1').html())+1);
$('#sj1').show();
$('#sj').hide();
}
}else if(filed=='delwiki' && data==0){
if(type==1){
$('#likenum1').html(Number($('#likenum1').html())-1);
$('#likenum').html(Number($('#likenum').html())-1);
$('#like').show();
$('#like1').hide();
}else{
$('#sjnum').html(Number($('#sjnum').html())-1);
$('#sjnum1').html(Number($('#sjnum1').html())-1);
$('#sj').show();
$('#sj1').hide();
}
}
});
}
function getWikiStatus(filed,type)
{
var id=743214;
$.post('/info/getWikiStatus',{id:id},function(data){
var data=eval("("+data+")");
if(data.sj>0){
$('#sj1').show();
$('#sj').hide();
}
if(data.like>0){
$('#like1').show();
$('#like').hide();
}
});
}
//鍒楄〃
function gethoutusers(){
var request_url = 'http://passport.zhulong.com/'
var likeId = $(".zhul_user_addhot").attr("likeid");
var type = $(".zhul_user_addhot").attr("type");
var weiboUrl = $(".zhul_user_addhot").attr("weiboUrl");
$.getJSON(request_url+"openjson/getUserForHot?ajax=1&callback=?",{type:type,likeId:likeId,flag:1,page:1,pagecount:10},function(result){
//console.debug(result.data);
if(result.num <=10){
str='<ul class="zhul_user_yhlist">';
for(var v in result.data){
str+='<li><a href='+weiboUrl+'u'+result['data'][v]['uid']+' target="_blank"><img src="'+result['data'][v]['avatar']+'" height="30" width="30" align="absmiddle" title="'+result['data'][v]['username']+'
錛?錛夊疄鐢ㄥ緩絳戝闃舵錛岃拷姹傞€傜敤銆佸潥鍥恒€佺編瑙傜殑寤虹瓚錛?/span>
錛?錛夎壓鏈緩絳戝闃舵錛岃寤虹瓚涓?鍑濆浐鐨勯煶涔?錛?/span>
錛?錛夋満鍣ㄥ緩絳戝闃舵錛屾妸寤虹瓚鐪嬩綔"浣忎漢鐨勬満鍣?錛?/span>
錛?錛夌┖闂村緩絳戝闃舵錛岃璇嗗埌"絀洪棿鏄緩絳戠殑涓昏"錛?/span>
錛?錛夌幆澧冨緩絳戝闃舵錛岃涓哄緩絳戞槸鐜鐨勭瀛﹀拰鑹烘湳銆?/span>
標(biāo)簽:寤虹瓚浠峰€艱鐨勬紨鍙樺ぇ鑷寸粡鍘嗕簡鍝嚑涓樁孌?/>