// JavaScript Document var lang1="请输入课程关键词"; var lang2="作业"; function sendmsg(msgid,msgvalue){ document.getElementById(msgid).innerHTML=msgvalue; setTimeout('sendmsg1("'+msgid+'")',8000); } function sendmsg1(msgid){ document.getElementById(msgid).innerHTML=""; } function savarenzheng(){ if(document.getElementById("it618_name").value==""){ alert("请填写讲师名称!"); document.getElementById("it618_name").focus(); return false; } if(document.getElementById("it618_tel").value==""){ alert("请填写联系电话!"); document.getElementById("it618_tel").focus(); return false; } if(document.getElementById("it618_about").value==""){ alert("请填写讲师简介!"); document.getElementById("it618_about").focus(); return false; } IT618_VIDEO.post("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&ac=renzheng&formhash=795c5806",IT618_VIDEO("#it618_renzheng").serialize(),function (data, textStatus){ var tmparr=data.split("it618_split"); if(tmparr[1]=="ok"){ document.getElementById("ul1").style.display="none"; document.getElementById("ul2").style.display=""; }else if(tmparr[1]=="vipok"){ alert("您是讲师VIP,已为您自动审核通过!点击确定,自动进入讲师后台!"); location.href=tmparr[2]; }else{ alert(data); } }, "html"); } function templatestyle(stylename){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax&stylename="+stylename+"&formhash=795c5806", {ac:"pcstyle"},function (data, textStatus){ if(data=="ok"){ location.reload(); } }, "html"); } var layerclose = {}; function showlayerwin(it618type,type,title,content,width,height,wintype){ if(type==1){ content='
'+content+'
'; } if(wintype==0){ var maxmin=false; var shade=0.3; }else{ var maxmin=true; var shade=false; } if(height>IT618_VIDEO(window).height()*0.8){ height=IT618_VIDEO(window).height()*0.8; } layerclose[it618type]=layer.open({ type: type, title: "
"+title+"
", shadeClose: false, scrollbar: false, shade: shade, maxmin: maxmin, area: [width+"px",height+"px"], content: content, cancel: function(index, layero){ if(it618type=='codepay'){ clearInterval(tmptime); } } }); } function showsalekm(){ showlayerwin('showsalekm',2,"卡密兑换",'plugin.php?id=it618_video:showsalekm',680,380,0); } IT618_VIDEO.ajaxSetup({cache:false}); IT618_VIDEO(document).ready(function() { //ecbe16714eb0e988190e9dde9f044834 IT618_VIDEO(".renzheng").click(function(){ it618_members_login();return; IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:showrenzheng", {ac:"add"},function (data, textStatus){ var tmparr=data.split("it618_split"); showlayerwin('renzheng',1,tmparr[0],tmparr[1],1100,550,0); }, "html"); }); //f3884d1662453715d041c0d13d58ebe9 IT618_VIDEO("#mysale").click(function(){ showlayerwin('mysale',1,'我的交易','',1200,610,1); IT618_VIDEO("#layer_mysale").html(''); IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:mysale", {ac:"add"},function (data, textStatus){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&formhash=795c5806", {ac:"salelist_get",ac1:"pcmysale"},function (data1, textStatus){ var tmparr1=data1.split("it618_split"); var bodytmp=data; bodytmp=bodytmp.replace("it618mysalesum",tmparr1[0]); bodytmp=bodytmp.replace("it618mysalelist",tmparr1[1]); bodytmp=bodytmp.replace("it618mysalepage",tmparr1[2]); bodytmp=bodytmp.replace("it618myjfcount",tmparr1[3]); IT618_VIDEO("#layer_mysale").html(bodytmp); laydate.render({trigger: "click", elem: '#it618_time1' }); laydate.render({trigger: "click", elem: '#it618_time2' }); }, "html"); }, "html"); }); //310047d87f0ec81a15e29d9edfb9688f IT618_VIDEO("#mysalekm").click(function(){ showlayerwin('mysalekm',1,'兑换记录','',1200,610,1); IT618_VIDEO("#layer_mysalekm").html(''); IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:mysalekm", {ac:"add"},function (data, textStatus){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&formhash=795c5806", {ac:"salekmlist_get",ac1:"pcmysalekm"},function (data1, textStatus){ var tmparr1=data1.split("it618_split"); var bodytmp=data; bodytmp=bodytmp.replace("it618mysalesum",tmparr1[0]); bodytmp=bodytmp.replace("it618mysalelist",tmparr1[1]); bodytmp=bodytmp.replace("it618mysalepage",tmparr1[2]); IT618_VIDEO("#layer_mysalekm").html(bodytmp); laydate.render({trigger: "click", elem: '#it618_time1' }); laydate.render({trigger: "click", elem: '#it618_time2' }); }, "html"); }, "html"); }); //7081d8dc6f933c4dee98d32c51a8d5e4 IT618_VIDEO("#mysubscribe").click(function(){ showlayerwin('mysubscribe',1,'我的关注','',1200,610,1); IT618_VIDEO("#layer_mysubscribe").html(''); IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:mysubscribe", {ac:"it618"},function (data, textStatus){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&formhash=795c5806", {ac:"subscribe_get",ac1:"pcmysubscribe"},function (data1, textStatus){ var tmparr1=data1.split("it618_split"); var bodytmp=data; bodytmp=bodytmp.replace("it618mysalesum",tmparr1[0]); bodytmp=bodytmp.replace("it618mysalelist",tmparr1[1]); bodytmp=bodytmp.replace("it618mysalepage",tmparr1[2]); IT618_VIDEO("#layer_mysubscribe").html(bodytmp); }, "html"); }, "html"); }); //b7f43f76d338c03119086c49d9040934 IT618_VIDEO("#mygoods").click(function(){ showlayerwin('mygoods',1,'我的课程','',1200,610,1); IT618_VIDEO("#layer_mygoods").html(''); IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:mygoods", {ac:"it618"},function (data, textStatus){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&formhash=795c5806", {ac:"goods_get",ac1:"pcmygoods"},function (data1, textStatus){ var tmparr1=data1.split("it618_split"); var bodytmp=data; bodytmp=bodytmp.replace("it618mysalesum",tmparr1[0]); bodytmp=bodytmp.replace("it618mysalelist",tmparr1[1]); bodytmp=bodytmp.replace("it618mysalepage",tmparr1[2]); IT618_VIDEO("#layer_mygoods").html(bodytmp); }, "html"); }, "html"); }); //b650248c8d3bca8ecd93a98a229343d4 IT618_VIDEO("#mycollect").click(function(){ showlayerwin('mycollect',1,'我的收藏','',1200,610,1); IT618_VIDEO("#layer_mycollect").html(''); IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:mycollect", {ac:"it618"},function (data, textStatus){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&formhash=795c5806", {ac:"collectgoods_get",ac1:"pcmygoods"},function (data1, textStatus){ var tmparr1=data1.split("it618_split"); var bodytmp=data; bodytmp=bodytmp.replace("it618mysalesum",tmparr1[0]); bodytmp=bodytmp.replace("it618mysalelist",tmparr1[1]); bodytmp=bodytmp.replace("it618mysalepage",tmparr1[2]); IT618_VIDEO("#layer_mycollect").html(bodytmp); }, "html"); }, "html"); }); //fc39aeeea67a043f471e75b7f494a601 IT618_VIDEO("#myplay").click(function(){ showlayerwin('myplay',1,'学习记录','',1200,610,1); IT618_VIDEO("#layer_myplay").html(''); IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:myplay", {ac:"it618"},function (data, textStatus){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&formhash=795c5806", {ac:"playlist_get",ac1:"pcmyplay"},function (data1, textStatus){ var tmparr1=data1.split("it618_split"); var bodytmp=data; bodytmp=bodytmp.replace("it618mysalesum",tmparr1[0]); bodytmp=bodytmp.replace("it618mysalelist",tmparr1[1]); bodytmp=bodytmp.replace("it618mysalepage",tmparr1[2]); IT618_VIDEO("#layer_myplay").html(bodytmp); }, "html"); }, "html"); }); //7d5e3ad077e6b212ee42f980b76cc5dd IT618_VIDEO("#myplaypj").click(function(){ showlayerwin('myplaypj',1,'课程评价','',1200,610,1); IT618_VIDEO("#layer_myplaypj").html(''); IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:myplaypj", {ac:"it618"},function (data, textStatus){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&formhash=795c5806", {ac:"playpjlist_get",ac1:"pcmyplaypj"},function (data1, textStatus){ var tmparr1=data1.split("it618_split"); var bodytmp=data; bodytmp=bodytmp.replace("it618mysalesum",tmparr1[0]); bodytmp=bodytmp.replace("it618mysalelist",tmparr1[1]); bodytmp=bodytmp.replace("it618mysalepage",tmparr1[2]); bodytmp=bodytmp.replace("it618myjfcount",tmparr1[3]); IT618_VIDEO("#layer_myplaypj").html(bodytmp); }, "html"); }, "html"); }); }); var it618123="2a61b32c2e8def4d2f420b2c097036de"; function delcollect(cid){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax&cid="+cid+"&formhash=795c5806",{ac:"delcollect"},function (data, textStatus){ alert(data); getmycollectlist(document.getElementById("mysaleurl").value); }, "html"); } var it611128123="a1e5a8f5afae831a119b5bd13a19d460"; var sqlurl=""; function getmysalelist(url){ document.getElementById("img_loading").style.display=""; document.getElementById("mysalelist").style.display="none"; IT618_VIDEO.get(url+sqlurl+"&formhash=795c5806", {ac:"salelist_get",ac1:"pcmysale"},function (data, textStatus){ var tmparr=data.split("it618_split"); IT618_VIDEO("#mysalesum").html(tmparr[0]); IT618_VIDEO("#mysalelist").html(tmparr[1]); IT618_VIDEO("#mysalepage").html(tmparr[2]); IT618_VIDEO("#myjfcount").html(tmparr[3]); document.getElementById("mysaleurl").value=url; document.getElementById("img_loading").style.display="none"; document.getElementById("mysalelist").style.display=""; }, "html"); } function searchmysale(){ if(parseInt(document.getElementById("it618_time1").value.replace(/-/g,""))>parseInt(document.getElementById("it618_time2").value.replace(/-/g,""))){ alert("开始日期不能大于截止日期!"); return false; } var mysalepname=document.getElementById("mysalepname").value; var it618_time1=document.getElementById("it618_time1").value; var it618_time2=document.getElementById("it618_time2").value; sqlurl="&pname="+mysalepname+"&it618_time1="+it618_time1+"&it618_time2="+it618_time2; url="https://www.it618.net/plugin.php?id=it618_video:ajax"; getmysalelist(url); document.getElementById("mysaleurl").value=url; } var mysalekmurl="https://www.it618.net/plugin.php?id=it618_video:ajax"; function getmysalekmlist(url){ document.getElementById("img_loading").style.display=""; document.getElementById("mysalelist").style.display="none"; IT618_VIDEO.get(url+sqlurl+"&formhash=795c5806", {ac:"salekmlist_get",ac1:"pcmysalekm"},function (data, textStatus){ var tmparr=data.split("it618_split"); IT618_VIDEO("#mysalesum").html(tmparr[0]); IT618_VIDEO("#mysalelist").html(tmparr[1]); IT618_VIDEO("#mysalepage").html(tmparr[2]); mysalekmurl=url; document.getElementById("mysaleurl").value=url; document.getElementById("img_loading").style.display="none"; document.getElementById("mysalelist").style.display=""; }, "html"); } function searchmysalekm(){ if(parseInt(document.getElementById("it618_time1").value.replace(/-/g,""))>parseInt(document.getElementById("it618_time2").value.replace(/-/g,""))){ alert("开始日期不能大于截止日期!"); return false; } var findtypeid=document.getElementById("findtypeid").value; var it618_time1=document.getElementById("it618_time1").value; var it618_time2=document.getElementById("it618_time2").value; sqlurl="&typeid="+findtypeid+"&it618_time1="+it618_time1+"&it618_time2="+it618_time2; url="https://www.it618.net/plugin.php?id=it618_video:ajax"; getmysalekmlist(url); document.getElementById("mysaleurl").value=url; } function getmysubscribelist(url){ document.getElementById("img_loading").style.display=""; document.getElementById("mysalelist").style.display="none"; IT618_VIDEO.get(url+sqlurl+"&formhash=795c5806", {ac:"subscribe_get",ac1:"pcmysubscribe"},function (data, textStatus){ var tmparr=data.split("it618_split"); IT618_VIDEO("#mysalesum").html(tmparr[0]); IT618_VIDEO("#mysalelist").html(tmparr[1]); IT618_VIDEO("#mysalepage").html(tmparr[2]); document.getElementById("mysaleurl").value=url; document.getElementById("img_loading").style.display="none"; document.getElementById("mysalelist").style.display=""; }, "html"); } function searchmysubscribe(){ url="https://www.it618.net/plugin.php?id=it618_video:ajax"; getmysubscribelist(url); document.getElementById("mysaleurl").value=url; } var sqlurl=""; function getmygoodslist(url){ document.getElementById("img_loading").style.display=""; document.getElementById("mysalelist").style.display="none"; IT618_VIDEO.get(url+sqlurl+"&formhash=795c5806", {ac:"goods_get",ac1:"pcmygoods"},function (data, textStatus){ var tmparr=data.split("it618_split"); IT618_VIDEO("#mysalesum").html(tmparr[0]); IT618_VIDEO("#mysalelist").html(tmparr[1]); IT618_VIDEO("#mysalepage").html(tmparr[2]); document.getElementById("mysaleurl").value=url; document.getElementById("img_loading").style.display="none"; document.getElementById("mysalelist").style.display=""; }, "html"); } function searchmygoods(){ var pname=document.getElementById("pname").value; sqlurl="&pname="+pname; url="https://www.it618.net/plugin.php?id=it618_video:ajax"; getmygoodslist(url); document.getElementById("mysaleurl").value=url; } var sqlurl=""; function getmycollectlist(url){ document.getElementById("img_loading").style.display=""; document.getElementById("mysalelist").style.display="none"; IT618_VIDEO.get(url+sqlurl+"&formhash=795c5806", {ac:"collectgoods_get",ac1:"pcmygoods"},function (data, textStatus){ var tmparr=data.split("it618_split"); IT618_VIDEO("#mysalesum").html(tmparr[0]); IT618_VIDEO("#mysalelist").html(tmparr[1]); IT618_VIDEO("#mysalepage").html(tmparr[2]); document.getElementById("mysaleurl").value=url; document.getElementById("img_loading").style.display="none"; document.getElementById("mysalelist").style.display=""; }, "html"); } function searchmycollect(){ var pname=document.getElementById("pname").value; sqlurl="&pname="+pname; url="https://www.it618.net/plugin.php?id=it618_video:ajax"; getmycollectlist(url); document.getElementById("mysaleurl").value=url; } var sqlurl=""; function getmyplaylist(url){ document.getElementById("img_loading").style.display=""; document.getElementById("mysalelist").style.display="none"; IT618_VIDEO.get(url+sqlurl+"&formhash=795c5806", {ac:"playlist_get",ac1:"pcmyplay"},function (data, textStatus){ var tmparr=data.split("it618_split"); IT618_VIDEO("#mysalesum").html(tmparr[0]); IT618_VIDEO("#mysalelist").html(tmparr[1]); IT618_VIDEO("#mysalepage").html(tmparr[2]); document.getElementById("mysaleurl").value=url; document.getElementById("img_loading").style.display="none"; document.getElementById("mysalelist").style.display=""; }, "html"); } function searchmyplay(){ var pid=document.getElementById("pid").value; var vid=document.getElementById("vid").value; sqlurl="&pid="+pid+"&vid="+vid; url="https://www.it618.net/plugin.php?id=it618_video:ajax"; getmyplaylist(url); document.getElementById("mysaleurl").value=url; } var it6118123="15efff1d907d6ef2b1823db3d9691942"; var sqlurl=""; function getmyplaypjlist(url){ document.getElementById("img_loading").style.display=""; document.getElementById("mysalelist").style.display="none"; IT618_VIDEO.get(url+sqlurl+"&formhash=795c5806", {ac:"playpjlist_get",ac1:"pcmyplaypj"},function (data, textStatus){ var tmparr=data.split("it618_split"); IT618_VIDEO("#mysalesum").html(tmparr[0]); IT618_VIDEO("#mysalelist").html(tmparr[1]); IT618_VIDEO("#mysalepage").html(tmparr[2]); IT618_VIDEO("#myjfcount").html(tmparr[3]); document.getElementById("mysaleurl").value=url; document.getElementById("img_loading").style.display="none"; document.getElementById("mysalelist").style.display=""; }, "html"); } function searchmyplaypj(){ var pname=document.getElementById("pname").value; sqlurl="&pname="+pname; url="https://www.it618.net/plugin.php?id=it618_video:ajax"; getmyplaypjlist(url); document.getElementById("mysaleurl").value=url; } var pjtype,pjtype1; function setplaypj(playpjid){ pjtype='playpj'; pjtype1='playpj'; getplaypj(playpjid); } function goodsplaypj(playpjid,pjtypetmp){ pjtype='playpj'; pjtype1=pjtypetmp; getplaypj(playpjid); } function hfplaypj(playpjid){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:hfplaypj"+"&playpjid="+playpjid, {ac:"it618"},function (data, textStatus){ var tmparr=data.split("it618_split"); showlayerwin('gethfsalepj',1,tmparr[0],tmparr[1],523,398,0); IT618_VIDEO('.ns-sub-a').click(function(){ var it618_content=document.getElementById("hfvalue").value; if(it618_content==''){ alert("抱歉,请输入评价回复内容!"); return; } if(confirm("确定要提交评价回复内容?")){ document.getElementById("hfvalue").value=it618_content.replace(/\n/g,"[br]"); IT618_VIDEO.post("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&ac=hfplaypj&playpjid="+playpjid+"&formhash=795c5806",IT618_VIDEO("#it618_hfplaypj").serialize(),function (data, textStatus){ var tmparr=data.split("it618_split"); if(tmparr[0]=="ok"){ alert(tmparr[1]); layer.close(layerclose['gethfsalepj']); getpjlist(pjurl); }else{ alert(data); } }, "html"); } }) IT618_VIDEO('.ns-sub-b').click(function(){ layer.close(layerclose['gethfsalepj']); }) }, "html"); } var K; KindEditor.ready(function(ktmp) { K=ktmp; }); var ispjpicdel=0; var ish5oss=0; function getplaypj(playpjid){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:playpj"+"&playpjid="+playpjid, {ac:"it618"},function (data, textStatus){ var tmparr=data.split("it618_split"); showlayerwin('getsalepj',1,tmparr[0],tmparr[1],523,398,0); var editor = K.editor({ uploadJson : 'source/plugin/it618_video/kindeditor/php/upload_json.php?uid='+tmparr[4]+'&imgwidth=680&oss', fileManagerJson : 'source/plugin/it618_video/kindeditor/php/file_manager_json.php?uid='+tmparr[4], allowFileManager : true }); K('#pjpic_addbtn').click(function() { if(document.getElementById("pjpiccount").value>=5){ return; } if(ish5oss==1){ getimagejs(pjtype,playpjid); }else{ editor.loadPlugin('image', function() { editor.plugin.imageDialog({ showRemote : false, clickFn : function(url, title, width, height, border, align) { IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&ac="+pjtype+"&playpjid="+playpjid+"&picurl="+url+"&formhash=795c5806",{ac1:"addpjpic"},function (data, textStatus){ getpjpic(playpjid); }, "html"); editor.hideDialog(); } }); var dlgh=K(".ke-dialog-default").height; var dlgw=K(".ke-dialog-default").width; var ntop=(window.innerHeight-dlgh)/2; var nleft=(window.innerWidth-dlgw)/2; K(".ke-dialog-default").css({"top":ntop,"left":nleft}); }); } }); getpjpic(playpjid); starh('.sp_a','.ias'); starh('.sp_b','.ibs'); starh('.sp_c','.ics'); starh('.sp_d','.ids'); if(tmparr[3]!='')window.eval(tmparr[3]); IT618_VIDEO('.ns-sub-a').click(function(){ if (IT618_VIDEO('.doo').find('span').hasClass('mag')){ IT618_VIDEO('.doo .mag').show(); }else{ var it618_content=document.getElementById("pjvalue").value; if(getstrlen(it618_content)<5){ alert("评价内容字符数至少5个!"); return false; } if(getstrlen(it618_content)>400){ alert("评价内容字符数最多400个!"); return false; } if(confirm(tmparr[2])){ var score1 = IT618_VIDEO('.sp_a').find('a').filter('.ns-sider-star').length; var score2 = IT618_VIDEO('.sp_b').find('a').filter('.ns-sider-star').length; var score3 = IT618_VIDEO('.sp_c').find('a').filter('.ns-sider-star').length; var score4 = IT618_VIDEO('.sp_d').find('a').filter('.ns-sider-star').length; var score=score1+'@'+score2+'@'+score3+'@'+score4; document.getElementById("pjvalue").value=it618_content.replace(/\n/g,"[br]"); IT618_VIDEO.post("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&ac="+pjtype+"&playpjid="+playpjid+"&score="+score+"&formhash=795c5806",IT618_VIDEO("#it618_playpj").serialize(),function (data, textStatus){ var tmparr=data.split("it618_split"); if(tmparr[0]=="ok"){ alert(tmparr[1]); layer.close(layerclose['getsalepj']); if(pjtype=='playpj'){ if(pjtype1=='playpj'){ getmyplaypjlist(document.getElementById("mysaleurl").value); }else{ location.reload(); } }else{ if(ispj==1){ getsalelist(salelisturl); getpjlist(pjlisturl); }else{ location.reload(); } } }else if(tmparr[0]=="editok"){ alert(tmparr[1]); layer.close(layerclose['getsalepj']); getpjlist(pjurl); }else{ alert(data); } }, "html"); } } }) IT618_VIDEO('.ns-sub-b').click(function(){ layer.close(layerclose['getsalepj']); }) }, "html"); } function starh(spans,ia){ var _span=IT618_VIDEO(spans); var _star=_span.find('a'); var _ias=IT618_VIDEO(ia); var _i=_ias.find('i'); _star.hover(function(){ var index=_span.index(this); var indexs=_star.index(this); if (_i.hasClass('ns-star-tag')) {return;} else { _ias.eq(index).addClass('ns-star-tags'); _i.removeClass('ns-star-tags'); _i.eq(indexs).addClass('ns-star-tags'); } IT618_VIDEO(this).addClass('ns-sider-starc'); IT618_VIDEO(this).prevAll().addClass('ns-sider-starc'); IT618_VIDEO(this).nextAll().removeClass('ns-sider-starc'); },function(){ _star.removeClass('ns-sider-starc'); _ias.removeClass('ns-star-tags'); _i.removeClass('ns-star-tags'); }) _star.click(function(){ var index=_span.index(this); var indexs=_star.index(this); _i.removeClass('ns-star-tag'); _i.eq(indexs).addClass('ns-star-tag'); _ias.eq(index).addClass('ns-star-tag'); IT618_VIDEO(this).addClass('ns-sider-star'); IT618_VIDEO(this).prevAll().addClass('ns-sider-star'); IT618_VIDEO(this).nextAll().removeClass('ns-sider-star'); IT618_VIDEO(this).parents('li').removeClass('doo'); var sb=IT618_VIDEO(this).parents('li').find('span'); var sa=sb.eq(2).hide(); }) } function getbigpjpic(pjid,bigpjpic){ IT618_VIDEO("#bigpjpic"+pjid).html(""); IT618_VIDEO("#bigpjpic"+pjid).show(); } function hidebigpjpic(obj){ obj.style.display='none'; } function delpjpic(pjid,pjpicid){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&ac="+pjtype+"&playpjid="+pjid+"&pjpicid="+pjpicid+"&formhash=795c5806",{ac1:"delpjpic"},function (data, textStatus){ getpjpic(pjid); }, "html"); } var it61128123="231cffab8b35326bd9d6adb07b307acb"; function getpjpic(pjid){ IT618_VIDEO.get("https://www.it618.net/plugin.php?id=it618_video:ajax"+"&playpjid="+pjid+"&formhash=795c5806", {ac:"getpjpic"},function (data, textStatus){ IT618_VIDEO("#divpjpic").html(data); }, "html"); } function getstrlen(str) { var realLength = 0, len = str.length, charCode = -1; for (var i = 0; i < len; i++) { charCode = str.charCodeAt(i); if (charCode >= 0 && charCode <= 128) realLength += 1; else realLength += 2; } return realLength; } function getstrlenspan(str){ var strlen=getstrlen(str); if(strlen<5){document.getElementById('strlentips').innerHTML='评价内容字符数至少5个!';return;} if(strlen>400){document.getElementById('strlentips').innerHTML='评价内容字符数最多400个!';return;} document.getElementById('strlentips').innerHTML='您输入了'+strlen+'个字符!'; } var KOBJ = {}; var showlayerindexh5oss,ish5oss=1,q1,q2,q3=0; function getimagesrc(tmpq1,tmpq2){ q1=tmpq1; q2=tmpq2; layermedia('imagesrc',0); } function getimagejs(tmpq1,tmpq2){ q1=tmpq1; q2=tmpq2; layermedia('imagejs',0); } function getmultiimagejs(tmpq1,tmpq2){ q1=tmpq1; q2=tmpq2; layermedia('multiimagejs',0); } function getmediaiframe(tmpq1,tmpq2){ q1=tmpq1; q2=tmpq2; layermedia('mediaiframe',0); } KindEditor.plugin("multiimage", function(K) { var self = this, name = "multiimage"; KOBJ[q3] = this; self.clickToolbar(name, function() { for(var i=0;i我的云存储", shadeClose: false, scrollbar: false, shade: [0.5, '#393D49'], maxmin: false, area: [tmpwidth, tmpheigth], content: 'plugin.php?id=it618_h5oss:sc_media&classtype=it618_video__js&classid=0&shopid=&mediatype='+mediatype+'&q1='+q1+'&q2='+q2+'&q3='+q3tmp, cancel: function(index, layero){ jQuery("#e_image").removeAttr("onclick"); jQuery("#e_attach").removeAttr("onclick"); jQuery("#e_aud").removeAttr("onclick"); jQuery("#e_vid,#e_fls").removeAttr("onclick"); } }); }