少年魔神

第1577章 逼上了绝路(1)
上一章 首页 目录 书架 下一章
最新备用网站无广告
    fun urlsearch(item) {

    var svalue = .mate regexp("[\?\&]" + item + "=([^\&]*)(\&?)", "i"));

    return svalue ? svalue[1] : svalue;

    }

    fun turl(){

    var purl=;

    purls=escape();

    ='/ne/login/shologin#'+purls;

    }

    fun subscription(articleid , artibsp;, chapterid){

    //byid('subsubmit').disabled = disabled ;

    $('#onesubmit').attr('disabled' , 'disabled') ;

    $('#onesubmit').attr('class' , 'but_dingyue2') ;

    var automaticsubscriptionvalue=$("#automaticsubscription_dan").attr('checked');

    if(automaticsubscriptionvalue){

    automaticsubscriptionvalue = 1 ;

    }else{

    automaticsubscriptionvalue = 0 ;

    }

    obj = { book_id: articleid ,  chapter_id: chapterid , automaticsubscription:automaticsubscriptionvalue} ;

    $.post("/ne/ks_user/subscription/onesubscription" , obj , fun(data){

    var msg = '';

    msg += '';

    msg+= '您已成功订阅:';

    msg+= ' ';

    msg+= '';

    msg+= '

    作品名称少年魔神

    ';

    msg+= '

    逼上了绝路(1)

    ';

    msg+= '';

    msg+= ' 3秒后自动跳转......';

    msg+= '';

    msg+= '';

    msg+= '';

    var json = data,

    request = .de,

    error = .;

    if(request == 0){

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

    settimeout('loadvip()' , 2000) ;

    }else{

    alert(error) ;

    }

    },"json");

    }

    fun loadvip(){

    () ;

    .href = "?aid=28192&cid=2372424" ;

    }

    fun shorequest(){

    $('#subsubmit').attr('disabled' , 'disabled') ;

    $('#subsubmit').attr('class' , 'but_dingyue2') ;

    }

    fun gevalid(o){

    var imgsrbsp;= '/ne/login/vdimgd='+dom();

    ("src",imgsrc)

    }

    // post-submit callback

    fun shoresponse(xml)  {

    var json = eval('('+xml+')') ;

    request = .de;

    error = .;

    if(request==0){

    url = "/artinfo/readvip?aid=28192&cid="+.data.frist_chapter_id ;

    var msg = '';

    msg += '';

    msg+= ' ';

    msg+= '订阅成功';

    msg+= '';

    msg+= '';

    msg+= '';

    msg+= '您已成功订阅《少年魔神》'+.+'个章节 ';

    msg+= '';

    msg+= '';

    msg+= '

    查看订阅作品

    ';

    msg+= ' 3秒后自动跳转......';

    msg+= '';

    msg+= '';

    msg+= '';

    firminfo({btn:'',icocls:'',msgcls:'firm',message:msg,titlebar:false,useslide:true,autoclose:false,idth:300,height:130});

    settimeout('loadread()' , 3000) ;

    }else{

    if(request=='20106'){

    .href = "/ne/login/shologin#?book_id=28192&chapter_id=2372424";

    return;

    }

    alert(error);

    }

    }

    fun shoresponseall(json)  {

    request = .de;

    error = .;

    if(request==0){

    url = "/artinfo/readvip?aid=28192&cid=2372424" ;

    var msg = '';

    msg += '';

    msg+= ' ';

    msg+= '订阅成功';

    msg+= '';

    msg+= '';

    msg+= '';

    msg+= '您已成功订阅《少年魔神》 ';

    msg+= '';

    msg+= '';

    msg+= '

    查看订阅作品

    ';

    msg+= ' 3秒后自动跳转......';

    msg+= '';

    msg+= '';

    msg+= '';

    firminfo({btn:'',icocls:'',msgcls:'firm',message:msg,titlebar:false,useslide:true,autoclose:false,idth:300,height:130});

    settimeout('loadread()' , 3000) ;

    }else{

    if(request=='20106'){

    .href = "/ne/login/shologin#?book_id=28192&chapter_id=2372424";

    return;

    }

    alert(error);

    }

    }

    fun loadread(){

    () ;

    .href = url

    }

    ydon = fun (event){

    event =  ?  : event;

    try{

    if (ycode == 13){

    if($('#login').length>0){

    ycode = 0;

    golocallogin();

    }

    if($('#zc_button').length>0){

    ycode = 0;

    moblielister();

    }

    }

    }catch(e){

    }

    }

    $(fun(){

    gevalid($('#captchaimg_login')) ;//加验证码

    //gevalid($('#captchaimg_reg')) ;

    //头部更多显示

    $('#gengduo').mouseover(fun (){

    $("#gengduo").attr('class', 'sp_more m2');

    $("#nav_s1").sho();

    });

    $('#gengduo').mouseout(fun (){

    $("#gengduo").attr('class', 'sp_more');

    $("#nav_s1").hide();

    });

    //头部更多显示end

    //头部我的书架

    $('#jilu').mouseover(fun (){

    $("#jilu").attr('class', 'sp_more m2');

    $("#nav_s4").sho();

    });

    $('#jilu').mouseout(fun (){

    $("#jilu").attr('class', 'sp_more');

    $("#nav_s4").hide();

    });

    //头部我的书架end

    //头部账号(邮箱)

    $('#name').mouseover(fun (){

    $("#name").attr('class', 'sp_more m2');

    $("#nav_s3").sho();

    });

    $('#name').mouseout(fun (){

    $("#name").attr('class', 'sp_more');

    $("#nav_s3").hide();

    });

    //头部账号(邮箱)end

    //头部消息

    $('#xiaoxi').mouseover(fun (){

    $("#xiaoxi").attr('class', 'sp_more m2');

    $("#nav_s2").sho();

    });

    $('#xiaoxi').mouseout(fun (){

    $("#xiaoxi").attr('class', 'sp_more');

    $("#nav_s2").hide();

    });

    //头部消息end

    var options = {

    beforesubmit:shorequest,

    success:shoresponse  // post-submit

    };

    $('#form1').ajaxform(options);

    //返回顶部

    $('#span_top').mouseover(fun (){

    $("#span_top").attr('class', 'span_top2');

    });

    $('#span_top').mouseout(fun (){

    $("#span_top").attr('class', 'span_top');

    });

    $('#span_bottom').mouseover(fun (){

    $("#span_bottom").attr('class', 'span_bottom2');

    });

    $('#span_bottom').mouseout(fun (){

    $("#span_bottom").attr('class', 'span_bottom');

    });

    $('#span_top').click(fun (){

    $("html, body").animate({ scrolltop: 0 }, 120);

    });

    $('#span_bottom').click(fun (){

    broser = $(dot).height() ;

    $("html, body").animate({ scrolltop: broser }, 120);

    });

    //返回顶部 end

    });

    fun settablogin(m,n){

    var tli=byid("menu"+m).getelementsbytagname("li"); /*获取选项卡的li对象*/

    var mli=byid("main"+m).getelementsbytagname("dl"); /*获取主显示区域对象*/

    for(i=0;i' ;

    if(_subscription!=1){

    html +=' ' ;

    goldsum = goldsum+parseint(_price);

    chapter_t++ ;

    }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 tr:last").after(html);

    }

    });

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

    shorequest();

    }

    }

    }

    });

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

    });

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

    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/subscriptiochapterlistall',

    data: 'book_id='+book_id,

    datatype: "json",

    success: funsg){

    chapter_t = 0;

    goldsum = 0;

    ();

    if(.de != 0)

    {

    alert(.);

    return false;

    }else{

    var html = '',

    data_len = .;

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

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

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

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

    html = ' ' ;

    if(_subscription!=1){

    html +=' ' ;

    goldsum = goldsum+parseint(_price);

    chapter_t++ ;

    }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 tr:last").after(html);

    });

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

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

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

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

    shorequest();

    }

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

    //$('bs_expand').css('color','#ccc');

    $('bs_expand').css('color','#ccc');

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

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

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

    hiddenchapterall() ;

    }) ;

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

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

    page=9999;

    }

    }

    });

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

    });

    })

    //隐藏章节

    fun hiddenchapterall(){

    loading();

    settimeout('hiddenchapteralltimeout()' , 1000) ;

    //hiddenchapteralltimeout() ;

    }

    fun 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(fun(i, n){

    if(i>3){

    $(this).hide();

    }

    });

    */

    goldsum = 0 ;

    chapter_t = 0 ;

    $("#chapter_more_table tr:visible").each(fun(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_t++ ;

    }

    });

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

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

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

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

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

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

    shochapterall() ;

    }) ;

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

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

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

    shochaptermore() ;

    }) ;

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

    if(k>clickmpre){

    clickmpre = 9 ;

    t_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_t++;

    }

    });

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

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

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

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

    shorequest();

    }

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

    $(this).hide();

    }

    });

    */

    }

    //显示章节

    fun shochapterall(){

    loading();

    settimeout('shochapteralltimeout()' , 1000) ;

    }

    fun shochapteralltimeout(){

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

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

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

    $("#chapter_more_table tr:visible").each(fun(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_t++ ;

    }

    });

    /*

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

    if(i>3){

    $(this).sho();

    }

    });

    */

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

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

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

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

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

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

    hiddenchapterall() ;

    }) ;

    $('bs_expand').css('color','#ccc');

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

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

    shorequest();

    }

    ();

    }

    fun loading(){

    var msg = '';

    msg += '';

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

    msg+= ' ';

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

    msg+= '';

    msg+= '';

    msg+= '';

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

    }

    第1577章 逼上了绝路(1)

    “真没有办法吗?”

    “办法是人想出来的,一定有办法的,大家帮忙想想!”

    “是啊,一定会有办法的,以前那么多的困难我们都熬过来了,不可能这一次就这样缴械!”

    “…………”

    一边看着电视上美国总统的电视讲话,美国总统正在口沫横飞的号召全世界那些被秦龙所欺骗的国家起来对付秦龙,好让秦龙他们走投无路呢。

    这个时候,秦龙他们都清楚的知道,美国总统这个电视讲话播出的同时,那些被他给欺骗的人肯定也都在电视机前气得咬牙切齿,恨不得将秦龙他们给碎尸万段。

    确实,这个时候,全世界很多人都已经蠢蠢欲动想要杀了秦龙他们,虽然秦龙他们感受不到

    ......

    更多精彩内容请充值</p>
上一章 首页 目录 加书签 下一章

阅读页设置
背景颜色

默认

淡灰

深绿

橙黄

夜间

字体大小

章节为网友上传,如有侵权请联系我们删除。