var giftimg = 0; var header = function(t,art){ d = document.createElement(t); for(var name in art) d[name] = art[name]; document.getElementsByTagName('head')[0].appendChild( d ); } if( typeof($(document)) !== 'object' ){ header('script',{"src":"http://m1.073img.com/_10js/jquery.1.3.2.js",'type':"text/javascript"}); } if(typeof($.fn.ajaxSubmit)!=='function'){ header('script',{"src":"http://www.07073.com/images/js/j.form.js",'type':"text/javascript"}); } header('link',{"href":"http://m1.073img.com/_15img/youxiku/css/style_ad.css",'type':"text/css",'rel':"stylesheet"}); var v_ds_138='
'; var gamedigs = [{ href:'http://wdwmo.073img.com/f88e42/?pid=132', title:'镇魂街', src:'http://ics.073img.com/17/12/20171206093243_17af8.jpg' },{ href:'http://wdwmo.073img.com/c64cb3/?pid=132', title:'传奇世界', src:'http://ics.073img.com/17/12/20171205102456_39b87.jpg' },{ href:'http://wdwmo.073img.com/4d2e43/?pid=132', title:'剑灵洪门崛起', src:'http://ics.073img.com/17/12/20171205102536_87537.jpg' },{ href:'http://wdwmo.073img.com/0f9585/?pid=132', title:'奇迹重生', src:'http://ics.073img.com/17/12/20171205102635_0e911.jpg' },{ href:'http://wdwmo.073img.com/343cd9/?pid=132', title:'三十六计', src:'http://ics.073img.com/17/12/20171205102659_e3057.jpg' },{ href:'http://wdwmo.073img.com/e4a0d8/?pid=132', title:'金装传奇', src:'http://ics.073img.com/17/12/20171205102743_7c653.jpg' },{ href:'http://wdwmo.073img.com/cc3b1a/?pid=132', title:'龙神契约', src:'http://ics.073img.com/17/12/20171205102829_90986.jpg' },{ href:'http://wdwmo.073img.com/bfdfa9/?pid=132', title:'蓝月传奇', src:'http://ics.073img.com/17/12/20171205102920_8bd5f.jpg' }]; var yxk_yxtj_tpl = '
\
游戏推荐
\
\
随机推荐
\
'; var yxk_dzzp_tpl = '
'; $(document).ready(function(){ var gameid = 32442; $.ajax({ dataType : 'script', scriptCharset : 'gb2312', url : 'http://img5.073img.com/8/js/fast_charge_gbk.1.1.js?v=201601', success : function(){ $('body').fastcharge({ 'gameid' : gameid }); } }); $(".crumbs").after(yxk_dzzp_tpl); var channel='www'; if(gameid>0 && channel){ //ajax获取游戏名称 $.getJSON('http://api.07073.com/api/youtiao?callback=?',{'typeid':gameid,'channel':channel},function (html) { $("body").append(html); }) } var yxk_yxtj_html = ''; if(gamedigs){ $.each(gamedigs, function(index, item){ yxk_yxtj_html += '' + item.title + ''; }); $('.game_push_game').html(yxk_yxtj_html); } $.getJSON('https://kf.07073.com/kfapi/kf_interface/kftodaydataother/?callback=?', {'name_id' : 32442}, function (data) { var html = '', info; for (var ki in data) { if(ki< 8){ info = data[ki]; if(ki == 0){ html +='' + info.name + '

'+info.graphics+' | '+info.gameplay+' | '+info.genre+'

'; }else if( ki > 0 && ki < 7){ html +='' + info.name + '

'+info.graphics+' | '+info.gameplay+' | '+info.genre+'

'; }else{ html +='
' + info.name + '

'+info.graphics+' | '+info.gameplay+' | '+info.genre+'

'; } } } $('.game_push2').html(html); }); header('link',{"href":"http://m1.073img.com/_14css/vote/vote.css",'type':"text/css",'rel':"stylesheet"}); header('script',{"src":"http://m1.073img.com/_14js/vote/vote.js?1",'type':"text/javascript"}); //设置表单url $('#gameVotesFrom').attr('action','http://www.07073.com/plus/gamevotes_v2.php?target=diggnums&typeid=32442'); if(giftimg){ $('.getGift').html(' '); } var thisWinWrapper = document.createElement("div"); thisWinWrapper.id = "thisWinWrapper"; thisWinWrapper.setAttribute('class','thisWinWrapper') ; thisWinWrapper.style.display = "none"; document.body.appendChild(thisWinWrapper); //修改特殊专区的digvisited 为 digvisited1 if($('#digvisited')){ //取消绑定 $("#digvisited").unbind(); $('#digvisited').attr('id','digvisited1'); } //数量 if($('.thisNum').length){ $('.thisNum').html(138); }else if($('#diggnums').length){ $('#diggnums').html(138); }else{ //$(this).html(138); } });