《艳修》免费阅读!
当前位置:网站首页 > 玄幻魔法 > 艳修

第四百一十七章 箭在弦上(2/2)

作者:木湿

(_subscription==1){

    subhtml= '已订阅';

    }else{

    subhtml= '未订阅';

    }

    html +=''+subhtml+'' ;

    html +='' ;

    $("#chapter_more_table trst").after(html);

    }

    });

    if(countparseint($('#noegold').html())){

    shorequest();

    }

    }

    }

    });

    $("bs_list").css({height:"auto"}) ;

    });

    $("#subs_expand_all").live("click",function(){

    loading();

    $("#subs_expand_all").die("click");

    book_id = $(this).attr('data-book_id');

    uid = $(this).attr('data-uid');

    $.ajax({

    type: "get",

    url: '/ne/ks_user/subscription/getchapterlistall',

    data: 'book_id='+book_id,

    datatype: "json",

    sess: function(msg){

    chapter_count = 0;

    goldsum = 0;

    ();

    if(.de != 0)

    {

    alert(.);

    return false;

    }else{

    var html = '',

    data_len = .;

    // $.each(, function(i,item){

    $("#chapter_more_table tr:gt(0)").remove();

    $.each(.data ,function(i, n){

    //$("#chapter_more_table").html('选择书名章节名字数需要看书币订阅状态') ;

    html = ' ' ;

    if(_subscription!=1){

    html +=' ' ;

    goldsum = goldsum+parseint(_price);

    chapter_count++ ;

    }else{

    html +=' ';

    }

    html +=' '+n.book_name+'' ;

    subhtml ='' ;

    if(!=''){

    subhtml= '第'++'章 ';

    }

    html +=' '+subhtml+_name+'' ;

    html +=' '+ze+'' ;

    html +=''+_price+'' ;

    subhtml ='' ;

    if(_subscription==1){

    subhtml= '已订阅';

    }else{

    subhtml= '未订阅';

    }

    html +=''+subhtml+'' ;

    html +='' ;

    $("#chapter_more_table trst").after(html);

    });

    $('#chaptersum').html(chapter_count) ;

    $('#goldsum').html(goldsum) ;

    $('#sumegold').html(goldsum) ;

    if(parseint($('#goldsum').html())>parseint($('#noegold').html())){

    shorequest();

    }

    $('#subs_expand_all').html('收起章节列表') ;

    //$('bs_expand').css('color','c');

    $('bs_expand').css('color','c');

    $("bs_expand").die("click");

    $("#subs_expand_all").die("click");

    $('#subs_expand_all').live('click',function(){

    hiddenchapterall() ;

    }) ;

    //$('#subs_expand_all').css('color','c');

    //去掉展开更多章节的提示

    page=9999;

    }

    }

    });

    $("bs_list").css({height:"auto"}) ;

    });

    })

    //隐藏章节

    function hiddenchapterall(){

    loading();

    settimeout('hiddenchapteralltimeout()' , 1000) ;

    //hiddenchapteralltimeout() ;

    }

    function hiddenchapteralltimeout(){

    $("#chapter_more_table tr:gt(4)").hide() ;

    $("#chapter_more_table tr:gt(4) :checkbox").attr('checked',false) ;

    /*

    $("#chapter_more_table tr:gt(0)").each(function(i, n){

    if(i>3){

    $(this).hide();

    }

    });

    */

    goldsum = 0 ;

    chapter_count = 0 ;

    $("#chapter_more_table tr:visible").each(function(i, n){

    if($(this).children().children(":checkbox").attr('disabled')==false&&$(this).children().children(":checkbox").attr('checked')&&i!=0){

    goldsum = goldsum+parseint($(this).children('td:eq(4)').children().html());

    chapter_count++ ;

    }

    });

    $('#chaptersum').html(chapter_count) ;

    $('#goldsum').html(goldsum) ;

    $('#sumegold').html(goldsum) ;

    $("#subs_expand_all").die("click");

    $('#subs_expand_all').html('展开全部章节') ;

    $('#subs_expand_all').live('click',function(){

    shochapterall() ;

    }) ;

    $("bs_expand").die("click");

    $('bs_expand').css('color','#0099ff');

    $('bs_expand').live('click',function(){

    shochaptermore() ;

    }) ;

    if(parseint($('#goldsum').html())3){

    if(k>clickmpre){

    clickmpre = 9 ;

    count_num++ ;

    return false;

    }

    if($(this).is(":hidden")){

    $(this).sho();

    k++ ;

    }

    }

    if($(this).children().children(":checkbox").attr('disabled')==false){

    goldsum = goldsum+parseint($(this).children('td:eq(4)').children().html());

    $(this).children().children(":checkbox").attr('checked',true) ;

    chapter_count++;

    }

    });

    $('#chaptersum').html(chapter_count) ;

    $('#goldsum').html(goldsum) ;

    $('#sumegold').html(goldsum) ;

    if(parseint($('#goldsum').html())>parseint($('#noegold').html())){

    shorequest();

    }

    if((count_num==1&&k>6)||(count_num>1&&k3){

    $(this).hide();

    }

    });

    */

    }

    //显示章节

    function shochapterall(){

    loading();

    settimeout('shochapteralltimeout()' , 1000) ;

    }

    function shochapteralltimeout(){

    $("#chapter_more_table tr:gt(4)").sho() ;

    chapter_count = parseint($('#chaptersum').html()) ;

    goldsum = parseint($('#goldsum').html()) ;

    $("#chapter_more_table tr:visible").each(function(i, n){

    if($(this).children().children(":checkbox").attr('disabled')==false&&$(this).children().children(":checkbox").attr('checked')==false){

    $(this).children().children(":checkbox").attr('checked',true) ;

    goldsum = goldsum+parseint($(this).children('td:eq(4)').children().html());

    chapter_count++ ;

    }

    });

    /*

    $("#chapter_more_table tr:gt(0)").each(function(i, n){

    if(i>3){

    $(this).sho();

    }

    });

    */

    $('#chaptersum').html(chapter_count) ;

    $('#goldsum').html(goldsum) ;

    $('#sumegold').html(goldsum) ;

    $("#subs_expand_all").die("click");

    $('#subs_expand_all').html('收起章节列表') ;

    $('#subs_expand_all').live('click',function(){

    hiddenchapterall() ;

    }) ;

    $('bs_expand').css('color','c');

    $("bs_expand").die("click");

    if(parseint($('#goldsum').html())>parseint($('#noegold').html())){

    shorequest();

    }

    ();

    }

    function loading(){

    var msg = '';

    msg += '';

    msg+= '请稍等...';

    msg+= ' ';

    msg+= ' 请稍等......';

    msg+= '';

    msg+= '';

    msg+= '';

    fir({btn:'',icocls:'',msgcls:'confirm',message:msg,titlebar:false,useslide:true,autoclose:false,idth:340,height:160});

    }

    而在不远处,还不断有人影急速掠来,藏于夜色的阴影之中。

    一滴冷汗从萧洛的额角滑落,然而混合着磅礴的雨水,没有人能够发觉。

    然而不管这辆马车中是谁,能在须臾之间便驱散萧洛所散布的冰雾,很可能便是一位真人。

    而看马车旁这些城卫军身上墨青铠甲,八成便是墨家的哪位大人物。

    此刻又在近在咫尺的街口旁观,更是派遣如此重兵将其重重围堵,这人不问可知,绝对不会是来欢迎萧洛的。

    而最大的可能,便是这位围杀呼延浩风失败的真人真率自己的嫡系部署回府暂歇亦或是回援内城。

    奈何好巧不巧的看到了萧洛手中的那团雷光,接着就察觉到了萧洛这片范围颇大的冰雾,索性等在内城门外来了个守株待兔

    ......

    更多精彩内容请充值
小说分类