Edit C:\Users\Administrator\AppData\Local\Microsoft\Windows\INetCache\IE\8IJS1QLI\zhike_hf[1].js
// zhike?????? function zhikeRender(data,i,product_category_url){ //4 ???????????????,????????? if(data.script[i].idea_type == 4){ loadZhikeOT(data,i); }else if(data.script[i].idea_type == 19){ //?????? var specialList = getSpecialList(data,i,product_category_url); loadZhikeTwo(data,specialList) }else if(data.script[i].idea_type == 20){ //?????? var specialList = getSpecialList(data,i,product_category_url); loadZhikeThree(data,specialList) }else if(data.script[i].idea_type == 21){ //?????? var specialList = getSpecialList(data,i,product_category_url); loadZhikeFourCol(data,specialList); }else if(data.script[i].idea_type == 22){ //????? var specialList = getSpecialList(data,i,product_category_url); loadZhikeFourP(data,specialList); }else if(data.script[i].idea_type == 23){ //??? var specialList = getSpecialList(data,i,product_category_url); loadZhikeLoop(data,specialList); }else if(data.script[i].idea_type ==29||data.script[i].idea_type ==30){ //??? var pinList = getPinList(data,i,product_category_url); loadZhikePin(data,pinList); }else{ //??? var specialList = []; specialList.push(data.script[i]); loadZhikeOne(data,specialList); } } // ??????? function getSpecialList(data,i,product_category){ var arr = []; for(var j = i; j < data.script.length;j ++){ if (data.script[j].product_category == product_category && data.script[j].idea_type == data.script[i].idea_type) { arr.push(data.script[j]); } } return arr; } // ???????IN function getPinList(data,i,product_category){ var arrPin=[] for(var j = i; j < data.script.length;j ++){ if(data.script[j].product_category == product_category){ if(data.script[j].idea_type==29){ arrPin.unshift(data.script[j]); }else if(data.script[j].idea_type==30){ arrPin.push(data.script[j]); } } } return arrPin; } //??? function loadZhikeOne(data,specialList){ window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_2', ad_type:'zhike', strategy_id:specialList[0].strategy_id, idea_id:specialList[0].idea_id, plan_id:specialList[0].plan_id, product_category:specialList[0].product_category }; //??? uploadConfig.act = 'load'; uploadZhike(uploadConfig); $('.container').css({"height":"105px","width":"825px"}); var bg_img= specialList[0].idea.float_layer_img|| ""; var project_browser=ProjectConfig.GetQueryString('browser')||ProjectConfig.getBrowser(); $('.container').append('<div class="close-panel"><div onclick="closePanel()">??????</div> <div onclick="closeWindow()">???</div></div> <a class="close" onclick="showPanel()" target="_blank"><img src="'+getCloseImg("zhike")+'"></a><span class="ad">'+projectName+'-???</span><a target="_blank" href="' +specialList[0].idea.landing_page + '"><img src="' + specialList[0].idea.main_img + '" id="ak" style="border:none;width:100%;"></a>'); var bg_color = specialList[0].idea.bg_color || ""; var po_x = specialList[0].idea.close_button_x || ''; var po_y = specialList[0].idea.close_button_y || ''; $('.close').css({"right":po_x + 'px',"top":po_y + 'px'}) var font_color = specialList[0].idea.font_color || ""; if(bg_color){$(".ad").css({"background":bg_color});} if(font_color){$(".ad").css({"color":font_color});} if(bg_img&&(project_browser=="IE10"||project_browser=="IE11")){ $(".container").append('<a target="_blank" class="float_img" href="' +specialList[0].idea.landing_page + '"><img src="' + bg_img + '" id="float_img" style="border:none;width:100%;"></a>') var num=0; $(".container").hover(function(){ num++; if(num==1){ uploadConfig.act = 'float_show'; uploadZhike(uploadConfig); } $(".float_img").removeClass("float_slideOut"); $(".float_img").addClass("float_slideIn"); },function(){ $(".float_img").removeClass("float_slideIn"); $(".float_img").addClass("float_slideOut"); } ) } render = false; if(specialList[0].mini_reader == 1){ // swpiw 1????????? $('head').append('<meta page_size="825,105" showtype="2" swpiw="1">'); }else{ $('head').append('<meta page_size="825,105" showtype="2" >'); } if (typeof window.external != 'undefined' && "SetLayout" in window.external) { var rows = 1, //??? columns = 1, //??? row_space = 0, //????? column_space = 0, //????? status = 1; window.external.SetLayout(rows,columns,row_space,column_space,status); } if (typeof window.external != 'undefined' && "CppCall" in window.external) { window.external.CppCall(); } $('#ak').on('click',function () { uploadConfig.act = 'click'; uploadZhike(uploadConfig); }); $('.float_img').on('click',function () { uploadConfig.act = 'float_click'; uploadZhike(uploadConfig); }); uploadConfig.act = 'show'; uploadZhike(uploadConfig); } //??? function loadZhikeTwo(data,specialList){ if (specialList.length > 0) { if(specialList.length == 1) { loadZhikeOne(data,specialList) }else{ specialList.splice(2); // ?????2?? $('.container').css({"width":"560px", "height": "160px"}); var dom = '<div class="close-panel"><div onclick="closePanel()">??????</div> <div onclick="closeWindow()">???</div></div> <a class="close" onclick="showPanel()" target="_blank"><img src="'+getCloseImg("zhike")+'"></a>' + '<span class="ad">'+projectName+'-???</span>'; $.each(specialList,function (index,ele) { dom += '<a class="image-twocol-item image-twocol-'+(index+1)+'" target="_blank" href="'+ele.idea.landing_page+'"><img id="ak'+(index+1)+'" style="width:100%;" src="'+ ele.idea.main_img_2 +'"></a>'; window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'show'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_2c_'+ (index+1); uploadZhike(uploadConfig); }) $('.container').append(dom); $.each(specialList,function (index,ele) { $(".container").on('click','#ak'+ (index+1),function () { window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'click'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_2c_'+ (index+1); uploadZhike(uploadConfig); }); }) $('head').append('<meta page_size="560,160" showtype="21">'); if (typeof window.external != 'undefined' && "SetLayout" in window.external) { var rows = 1, //??? columns = 2, //??? row_space = 20, //????? column_space = 0, //????? status = 1; window.external.SetLayout(rows,columns,row_space,column_space,status); } if (typeof window.external != 'undefined' && "CppCall" in window.external) { window.external.CppCall(); } } render = false; } } //??? function loadZhikeThree(data,specialList){ if (specialList.length > 0) { if(specialList.length == 1) { loadZhikeOne(data,specialList) }else if(specialList.length == 2) { loadZhikeTwo(data,specialList) }else{ specialList.splice(3); // ?????3?? $('.container').css({"width":"800px", "height": "150px"}); var dom = '<div class="close-panel"><div onclick="closePanel()">??????</div> <div onclick="closeWindow()">???</div></div> <a class="close" onclick="showPanel()" target="_blank"><img src="'+getCloseImg("zhike")+'"></a>' + '<span class="ad">'+projectName+'-???</span>'; $.each(specialList,function (index,ele) { dom += '<a class="image-threecol-item image-threecol-'+(index+1)+'" target="_blank" href="'+ele.idea.landing_page+'"><img id="ak'+(index+1)+'" style="width:100%;" src="'+ ele.idea.main_img_3 +'"></a>'; window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'show'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_3c_'+ (index+1); uploadZhike(uploadConfig); }) $('.container').append(dom); $.each(specialList,function (index,ele) { $(".container").on('click','#ak'+ (index+1),function () { window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'click'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_3c_'+ (index+1); uploadZhike(uploadConfig); }); }) $('head').append('<meta page_size="800,150" showtype="21">'); if (typeof window.external != 'undefined' && "SetLayout" in window.external) { var rows = 1, //??? columns = 3, //??? row_space = 10, //????? column_space = 0, //????? status = 1; window.external.SetLayout(rows,columns,row_space,column_space,status); } if (typeof window.external != 'undefined' && "CppCall" in window.external) { window.external.CppCall(); } } render = false; } } //??í?? function loadZhikeFourCol(data,specialList){ if (specialList.length > 0) { if(specialList.length == 1) { loadZhikeOne(data,specialList) }else if(specialList.length == 2) { loadZhikeTwo(data,specialList) }else if(specialList.length == 3) { loadZhikeThree(data,specialList) }else{ specialList.splice(4); // ?????4?? $('.container').css({"width":"845px", "height": "120px"}); var dom = '<div class="close-panel"><div onclick="closePanel()">??????</div> <div onclick="closeWindow()">???</div></div> <a class="close" onclick="showPanel()" target="_blank"><img src="'+getCloseImg("zhike")+'"></a>' + '<span class="ad">'+projectName+'-???</span>'; $.each(specialList,function (index,ele) { dom += '<a class="image-fourcol-item image-fourcol-'+(index+1)+'" target="_blank" href="'+ele.idea.landing_page+'"><img id="ak'+(index+1)+'" style="width:100%;" src="'+ ele.idea.main_img_5 +'"></a>'; window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'show'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_4c_'+ (index+1); uploadZhike(uploadConfig); }) $('.container').append(dom); $.each(specialList,function (index,ele) { $(".container").on('click','#ak'+ (index+1),function () { window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'click'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_4c_'+ (index+1); uploadZhike(uploadConfig); }); }) $('head').append('<meta page_size="845,120" showtype="21">'); if (typeof window.external != 'undefined' && "SetLayout" in window.external) { var rows = 1, //??? columns = 4, //??? row_space = 15, //????? column_space = 0, //????? status = 1; window.external.SetLayout(rows,columns,row_space,column_space,status); } if (typeof window.external != 'undefined' && "CppCall" in window.external) { window.external.CppCall(); } } render = false; } } //????? function loadZhikeFourP(data,specialList){ if (specialList.length > 0) { if(specialList.length == 1) { loadZhikeOne(data,specialList) }else if(specialList.length == 2) { loadZhikeTwo(data,specialList) }else if(specialList.length == 3) { loadZhikeThree(data,specialList) }else{ specialList.splice(4); // ?????4?? $('.container').css({"width":"520px", "height": "350px"}); var dom = '<div class="close-panel"><div onclick="closePanel()">??????</div> <div onclick="closeWindow()">???</div></div> <a class="close" onclick="showPanel()" target="_blank"><img src="'+getCloseImg("zhike")+'"></a>' + '<span class="ad">'+projectName+'-???</span>'; $.each(specialList,function (index,ele) { dom += '<a class="image-fourp-item image-fourp-'+(index+1)+'" target="_blank" href="'+ele.idea.landing_page+'"><img id="ak'+(index+1)+'" style="width:100%;" src="'+ ele.idea.main_img_5 +'"></a>'; window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'show'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_4p_'+ (index+1); uploadZhike(uploadConfig); }) $('.container').append(dom); $.each(specialList,function (index,ele) { $(".container").on('click','#ak'+ (index+1),function () { window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'click'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_4p_'+ (index+1); uploadZhike(uploadConfig); }); }) $('head').append('<meta page_size="520,350" showtype="21">'); if (typeof window.external != 'undefined' && "SetLayout" in window.external) { var rows = 2, //??? columns = 2, //??? row_space = 12, //????? column_space = 13, //????? status = 1; window.external.SetLayout(rows,columns,row_space,column_space,status); } if (typeof window.external != 'undefined' && "CppCall" in window.external) { window.external.CppCall(); } } render = false; } } //??? function loadZhikeLoop(data,specialList){ if (specialList.length > 0) { if(specialList.length == 1) { loadZhikeOne(data,specialList); //??? }else{ $('.container').css({"width":"370px", "height": "250px"}); var dom = '<div class="close-panel"><div onclick="closePanel()">??????</div> <div onclick="closeWindow()">???</div></div> <a class="close" onclick="showPanel()" target="_blank"><img src="'+getCloseImg("zhike")+'"></a>' + '<span class="ad">'+projectName+'-???</span>'; var domstr = ""; $.each(specialList,function (index,ele) { domstr += '<a class="swiper-slide swiper-slide-'+(index+1)+'" target="_blank" href="'+ele.idea.landing_page+'"><img id="ak'+(index+1)+'" style="width:100%;" src="'+ ele.idea.main_img +'"></a>'; }) var swiperDom = '<div class="loop_content">'+ '<div class="swiper-container">'+ '<div class="swiper-wrapper">'+domstr +'</div>'+ '</div>'+ '</div>'; dom += swiperDom; function showReport(index){ //show??? var ele = specialList[index]; window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'show'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_lo_'+ (index+1); uploadZhike(uploadConfig); } var activeIndex = 0; $('.container').append(dom); showReport(0); var mySwiper = new Swiper('.swiper-container', { autoplay : 5000, speed:1000, onlyExternal : true, loop : true, onSlideNext: function(swiper){ if(activeIndex+1 < specialList.length){ activeIndex ++; showReport(activeIndex); } } }); $.each(specialList,function (index,ele) { $(".container").on('click','#ak'+ (index+1),function () { window.uploadConfig = { act:'load', ad_id:data.baidu_id, ad_pos:project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadConfig.act = 'click'; uploadConfig.ad_pos = project_ad_pos+'_tips_1_lo_'+ (index+1); uploadZhike(uploadConfig); }); }) $('head').append('<meta page_size="370,250" showtype="21">'); if (typeof window.external != 'undefined' && "SetLayout" in window.external) { var rows = 1, //??? columns = 1, //??? row_space = 0, //????? column_space = 0, //????? status = 1; window.external.SetLayout(rows,columns,row_space,column_space,status); } if (typeof window.external != 'undefined' && "CppCall" in window.external) { window.external.CppCall(); } } render = false; } } //??????? function loadZhikeOT(data,i){ $('.container').css({"width":"370px","height":"400px"}); $('.container').append('<div class="close-panel"><div onclick="closePanel()">??????</div> <div onclick="closeWindow()">???</div></div><a class="close" target="_blank" onclick="showPanel()"><img src="../../libs/images/closebutton/8.png?v='+new Date().getTime()+'"></a><span class="ad">'+projectName+'-???</span><iframe id="innnerssp" marginheight="0" marginwidth="0" frameborder="0">'); var iframeUrl = '&ad_type=zhike' + '&ad_pos='+project_ad_pos+'_tips_1'+'&ad_ia='+ data.baidu_id +'&strategy_id='+data.script[i].strategy_id+'&idea_id='+data.script[i].idea_id+'&plan_id='+data.script[i].plan_id+'&product_category='+data.script[i].product_category; var bg_color = data.script[i].idea.bg_color || ""; var font_color = data.script[i].idea.font_color || ""; if(bg_color){$(".ad").css({"background":bg_color});} if(font_color){$(".ad").css({"color":font_color});} $('#innnerssp')[0].src = data.script[i].cache + '&' + location.search.split('?')[1] + iframeUrl; render = false; if(data.script[i].mini_reader == 1){ // swpiw 1????????? $('head').append('<meta page_size="370,400" showtype="21" swpiw="1">'); }else{ $('head').append('<meta page_size="370,400" showtype="21" >'); } if (typeof window.external != 'undefined' && "SetLayout" in window.external) { var rows = 1, //??? columns = 1, //??? row_space = 0, //????? column_space = 0, //????? status = 1; window.external.SetLayout(rows,columns,row_space,column_space,status); } if (typeof window.external != 'undefined' && "CppCall" in window.external) { window.external.CppCall(); } } // ????? function loadZhikePin(data,pinList){ $('.container').append('<div class="close-panel"><div onclick="closePanel()">??????</div> <div onclick="closeWindow()">???</div></div> <a class="close" onclick="showPanel()" target="_blank"><img src="'+getCloseImg("zhike")+'"></a><span class="ad">'+projectName+'-???</span></a>'); var bg_color =pinList[0].idea.bg_color || ""; var font_color = pinList[0].idea.font_color || ""; if(bg_color){$(".ad").css({"background":bg_color});} if(font_color){$(".ad").css({"color":font_color});} var domPin=''; var pinHeight=""; var pinWidth=""; var page_size =""; var pin_adpos="" if(pinList.length==3){ $.each(pinList,function(index,val){ domPin+='<a target="_blank" class="pinlist'+index+'" href="' + val.idea.landing_page + '"><img src="' + val.idea.main_img_3+ '" /></a>'; pin_adpos= project_ad_pos+'_tips_1_3p_'+ (index+1); pinLoad("show",data,val,pin_adpos) }) pinWidth="450", pinHeight="310"; page_size=''+pinWidth+','+pinHeight+''; $('head').append('<meta page_size='+page_size+' showtype="21">'); }else if(pinList.length==2){ $.each(pinList,function(index,val){ domPin+='<a target="_blank" class="pinlist'+index+'" href="' + val.idea.landing_page + '"><img src="' + val.idea.main_img_2+ '" /></a>' pin_adpos= project_ad_pos+'_tips_1_2p_'+ (index+1); pinLoad("show",data,val,pin_adpos) }) pinWidth="560", pinHeight="160"; page_size=''+pinWidth+','+pinHeight+''; $('head').append('<meta page_size='+page_size+' showtype="21">'); }else if(pinList.length==1){ $.each(pinList,function(index,val){ domPin+='<a target="_blank" class="pinlist'+index+'" href="' + val.idea.landing_page + '"><img src="' + val.idea.main_img+ '" /></a>' pinLoad("show",data,val) }) pinWidth="370", pinHeight="250"; page_size=''+pinWidth+','+pinHeight+''; $('head').append('<meta page_size='+page_size+' showtype="2">'); } $('.container').css({width:pinWidth,height:pinHeight}) $('.container').append(domPin); $('.container .pinlist'+(pinList.length-1)+'').css({"float":"right"}) $('.container .pinlist0 img').css({"marginBottom":"10px"}) $.each(pinList,function (index,ele) { if(pinList.length==1){ $(".container").on('click','.pinlist'+ (index),function () { pinLoad("click",data,ele) }); }else if(pinList.length==2){ $(".container").on('click','.pinlist'+ (index),function () { pin_adpos= project_ad_pos+'_tips_1_2p_'+ (index+1); pinLoad("click",data,ele,pin_adpos) }); }else{ $(".container").on('click','.pinlist'+ (index),function () { pin_adpos= project_ad_pos+'_tips_1_3p_'+ (index+1); pinLoad("click",data,ele,pin_adpos) }); } }) // if (typeof window.external != 'undefined' && "SetLayout" in window.external) { // var rows = 1, //??? // columns = 1, //??? // row_space = 0, //????? // column_space = 0, //????? // status = 1; // window.external.SetLayout(rows,columns,row_space,column_space,status); // } if (typeof window.external != 'undefined' && "CppCall" in window.external) { window.external.CppCall(); } render = false; } //??? function pinLoad(pinact,data,ele,pin_adpos){ window.uploadConfig = { act:pinact, ad_id:data.baidu_id, ad_pos:pin_adpos||project_ad_pos+'_tips_1', ad_type:'zhike', strategy_id:ele.strategy_id, idea_id:ele.idea_id, plan_id:ele.plan_id, product_category:ele.product_category }; uploadZhike(uploadConfig); }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de