第561章 莲儿、馨儿到来

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=4025750";

functionshorequest{

$(#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=4025750";

return;

alert(error);

functionshoresponseall(json){

request=.de;

error=.;

if(request==0){

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

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=4025750";

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});

慕容文博听了这个声音以后,笑着说道:“呵呵,我倒是将你给忘记了,对啊,你对这个应该非常的在行的!那么这件事就交给你去办吧,不过不管成功与否,四个小时之内,必须要回到这里来!明白了吗?”

刚刚说话的人正是贝瑞,他对这方面可是专家,毕竟他可是cia的人,破译电脑密码是他们必须掌握的技术。

贝瑞笑着说道:“yes,呵呵,不过我现在终于知道,慕容大哥也是有解决不了的事情了,而我也知道我是有用的!”

“呵呵,每个人都有自己的特长的,也都有别人取代不了的特点,这个是毋庸置疑的,好了,别多说了,抓紧时间把!”

贝瑞点了点头,然后和乔治一起离开了大厅!

他们离开以后慕容文博淡淡的说道:

......

更多精彩内容请充值

上一章目录+书架下一章