C4D和AE制作炸LOGO
//更新教程信息并且获取专辑合集数据
$.get('/video/addcount?YjFjYVlVV2R6b01RQnNNdEJHaEdkM2VQdXBCRFZNeUc4djUwZ2I5VlViemVKSW00='+pagedata.thisid,function(pdata){
MY_UID=pdata.my_uid;
if(pdata.create_bar==0 && MY_UID==pagedata.author){$('#create_bar').show();}
//if(MY_UID>0){$('#uploadbutton').fadeIn(300);}
if(pdata.collection==0){
$('.packagenumtip').hide();
}else{
$('.description a').eq(0).css('color','#fff');
$('.packagenumtip').show();
$('.packagenumtip b').html(pdata.collection)
}
if(pdata.follow==0){
$('#follow_button').html($LANG.COMMON_FOLLOW_TEXT);//关注
}else{
$('#follow_button').html($LANG.COMMON_FOLLOW_CANNELTEXT);//取消关注
}
if(pdata.comment_count>0){
$('#comment_count').html(pdata.comment_count);
}
$('#flower_count').html(pdata.flower_count);
$('#egg_count').html(pdata.egg_count);
$('#play_count').html(pdata.play_count.replace('次播放',''));
$('#today_play_count').html(pdata.today_play_count);
$('.today_look_count').html(pdata.today_count);
$('.lookcount').html(pdata.look_count);
$('.look').html('<span>'+$LANG.VIDEO_PLAY_HITS_JS+' :</span>'+pdata.play_count2+' 次');
$("#content_title").html(':'+flvname[1]);
//加载百度分享
var skinrst=1;
//window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":skinrst==9?"0":"1","bdSize":"16"},"share":{"bdSize":16}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='https://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
},'json');
$('.wailian').on('click',function(){
layer.open({
type: 1 //Page层类型
,area: ['auto', 'auto']
,title: "外链分享"
,shade: [0.5, '#000'] //遮罩透明度
,maxmin: false //允许全屏最小化
,anim: 1 //0-6的动画形式,-1不开启
,content:'<div style="width:420px;height:200px;padding:20px;border:1px solid #E6E6E6;background-color:#FFF"><p>视频外链地址(<a href="http://wpa.qq.com/msgrd?v=3&uin=7482142&site=qq&menu=yes" target="_blank">帮助?点我</a>):<br></p><div class="item" style=" margin-top: 10px;color:#555;font-size:14px"><span class="label">flash地址:</span> <input type="text" class="form_input form_input_s" id="link2" value="http://player.linecg.com/MzQwOTQ.swf" style="width:260px;padding:5px 8px;line-height:20px;font-size:12px;box-shadow:inset 1px 1px 3px #c3c3c3;border:1px solid #999;outline:0;vertical-align:middle;margin-left:10px"></div><div class="item" style="color:#555;font-size:12px;margin-top:15px"><span class="label">HTML代码:</span> <input type="text" class="form_input form_input_s" id="link2" value="<embed src="http://player.linecg.com/MzQwOTQ.swf" allowFullScreen="true" quality="high" width="580" height="500" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>" style="width:260px;padding:5px 8px;line-height:20px;font-size:12px;box-shadow:inset 1px 1px 3px #c3c3c3;border:1px solid #999;outline:0;vertical-align:middle;margin-left:10px"></div></div>'
});
})
var pakid = 28547 ;
var vidid = 35093 ;
function show_download_list(){
if(MY_UID>0){
$('#d-block').hide();
$('#d-block-jie').show();
$.post(
'./getJifen.html',{pakid:pakid,vidid:vidid,'get':1},function(json){
json = eval('('+json+')');
$('#d-block').show();
$('#d-block-jie').hide();
$('#download-cre').text(json['cre']);
$('#need-cre').text(json['jifen']);
if(json['is_buy']){
$('#is_buy').text('您今日已经下载过该专辑,24小时内下载本专辑内容不再扣除下载币');
}
}
);
$('.video_download_list').show();
}else{
login();
}
}
function downloadvideo(v){
var vidid = v ;
if(MY_UID>0){
$.post(
'./getJifen.html',{pakid:pakid,vidid:vidid,geturl:1},function(json){
if(json['status'] == 1){
location.href=json['info'];
return false;
}else{
alert(json['info']);
}
show_download_list();
}
)
}else{
login();
}
}
function close_video_download_list(){
$('.video_download_list').hide();
}