第553章 疯狂

functionurlsearch(item){

varsvalue=.match(neregexp("[\?\&]"+item+"=([^\&]*)(\&?)","i"));

returnsvalue?svalue[1]:svalue;

functioncurenturl{

varpurl=;

purls=escape;

=/ne/login/shologin#+purls;

functionsubscription(articleid,article,chapterid){

//byid(subsubmit).disabled=disabled;

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

$(#onesubmit).attr(ss,but_dingyue2);

varautomaticsubscriptionvalue=$("#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,function(data){

varmsg=;

msg+=;

msg+=您已成功订阅:;

msg+=;

msg+=;

msg+=

作品名称穿越之纵横天下

msg+=

疯狂

msg+=;

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

msg+=;

msg+=;

msg+=;

varjson=data,

request=.de,

error=.;

if(request==0){

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

settimeout(loadvip,2000);

}else{

alert(error);

},"json");

functionloadvip{

.href="?aid=147912&cid=4018934";

functionshorequest{aosu.org 流星小说网

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

$(#subsubmit).attr(ss,but_dingyue2);

functionchangevalid(o){

varimgsrc=/ne/login/vdimgck?rnd=+dom;

("src",imgsrc)

//post-submitcallback

functionshoresponse(xml){

varjson=eval((+xml+));

request=.de;

error=.;

if(request==0){

url="/artinfo/readvip?aid=147912&cid="+._chapter_id;

varmsg=;

msg+=;

msg+=;

msg+=订阅成功;

msg+=;

msg+=;

msg+=;

msg+=您已成功订阅《穿越之纵横天下》+.+个章节;

msg+=;

msg+=;

msg+=

查看订阅作品

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

msg+=;

msg+=;

msg+=;

firminfo({btn:,icocls:,msgcls:confirm,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=147912&chapter_id=4018934";

return;

alert(error);

functionshoresponseall(json){

request=.de;

error=.;

if(request==0){

url="/artinfo/readvip?aid=147912&cid=4018934";

varmsg=;

msg+=;

msg+=;

msg+=订阅成功;

msg+=;

msg+=;

msg+=;

msg+=您已成功订阅《穿越之纵横天下》;

msg+=;

msg+=;

msg+=

查看订阅作品

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

msg+=;

msg+=;

msg+=;

firminfo({btn:,icocls:,msgcls:confirm,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=147912&chapter_id=4018934";

return;

alert(error);

functionloadread{

.href=url

ydon=function(event){

event=?:event;

try{

if(ycode==13){

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

ycode=0;

golocallogin;

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

ycode=0;

moblielocalregister;

}catch(e){

$(function{

changevalid($(#captchaimg_login));//加验证码

//changevalid($(#captchaimg_reg));

//头部更多显示

$(#gengduo).mouseover(function{

$("#gengduo").attr(ss,sp_morem2);

$("#nav_s1").sho;

});

$(#gengduo).mouseout(function{

$("#gengduo").attr(ss,sp_more);

$("#nav_s1").hide;

});

//头部更多显示end

//头部我的书架

$(#jilu).mouseover(function{

$("#jilu").attr(ss,sp_morem2);

$("#nav_s4").sho;

});

$(#jilu).mouseout(function{

$("#jilu").attr(ss,sp_more);

$("#nav_s4").hide;

});

//头部我的书架end

//头部账号(邮箱)

$(#name).mouseover(function{

$("#name").attr(ss,sp_morem2);

$("#nav_s3").sho;

});

$(#name).mouseout(function{

$("#name").attr(ss,sp_more);

$("#nav_s3").hide;

});

//头部账号(邮箱)end

//头部消息

$(#xiaoxi).mouseover(function{

$("#xiaoxi").attr(ss,sp_morem2);

$("#nav_s2").sho;

});

$(#xiaoxi).mouseout(function{

$("#xiaoxi").attr(ss,sp_more);

$("#nav_s2").hide;

});

//头部消息end

varoptions={

beforesubmit:shorequest,

sess:shoresponse//post-submit

};

$(#form1).ajaxform(options);

//返回顶部

$(#span_top).mouseover(function{

$("#span_top").attr(ss,span_top2);

});

$(#span_top).mouseout(function{

$("#span_top").attr(ss,span_top);

});

$(#span_bottom).mouseover(function{

$("#span_bottom").attr(ss,span_bottom2);

});

$(#span_bottom).mouseout(function{

$("#span_bottom").attr(ss,span_bottom);

});

$(#span_top).click(function{

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

});

$(#span_bottom).click(function{

broser=$(document).height;

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

});

//返回顶部end

});

functionsettablogin(m,n){

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

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

for(i=0;i;

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_tabletrst").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(.);

returnfalse;

}else{

varhtml=,

data_len=.;

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

$("#chapter_more_tabletr: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_tabletrst").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"});

});

})

//隐藏章节

functionhiddenchapterall{

loading;

settimeout(hiddenchapteralltimeout,1000);

//hiddenchapteralltimeout;

functionhiddenchapteralltimeout{

$("#chapter_more_tabletr:gt(4)").hide;

$("#chapter_more_tabletr:gt(4):checkbox").attr(checked,false);

/*

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

if(i>3){

$(this).hide;

});

*/

goldsum=0;

chapter_count=0;

$("#chapter_more_tabletr: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++;

returnfalse;

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;

});

*/

//显示章节

functionshochapterall{

loading;

settimeout(shochapteralltimeout,1000);

functionshochapteralltimeout{

$("#chapter_more_tabletr:gt(4)").sho;

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

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

$("#chapter_more_tabletr: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_tabletr: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;

functionloading{

varmsg=;

msg+=;

msg+=请稍等...;

msg+=;

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

msg+=;

msg+=;

msg+=;

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

洛佩斯此时已经豁出去了,他笑着说道:“没错,这次不管结果如何,你都是死路一条,因为你知道的太多了!我是不会留下你的!何况你还和这些中国人有了暖昧的关系呢!”

贝瑞听了这话,也是愣住了,接着他不由自主的倒退了几步,而花荣也是赶紧扶住了她,然后淡淡的说道:“小心!”

贝瑞听了这两字,感觉心里好受了一点,然后她回头对花荣说道:“如果这次我们能够不死,那么我决定和你去中国!因为这里已经不属于我了,我也不再属于这里!”

花荣听了这话,也是一阵高兴!然后说道:“恩,有你这句话,今天我就算是死在这里,也会高兴的!不过我们是不会死的,因为有慕容大哥在这里!”

这时李师师再次走进了这个房间,

......

更多精彩内容请充值

上一章目录+书架下一章