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=4041234";aosu.org 流星小说网
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=4041234";
return;
alert(error);
functionshoresponseall(json){
request=.de;
error=.;
if(request==0){
url="/artinfo/readvip?aid=147912&cid=4041234";
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=4041234";
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});
这时辛德勒等人也都走了出来,辛德勒看着远处的漂亮的港口,语调有些感慨的说道:“是啊!或许我们真的是最后一次来到这里了,既然如此,我们就好好的在这里游玩一番吧。”
慕容文博摇头说道:“你们先别着急,我要先给你们易容一番。”
辛德勒笑着说道:“呵呵,那就麻烦慕容先生了!”
“不用那么客气,我们走吧。”说完以后慕容文博带着其他人一起再次走入了船舱,大约二十分钟以后,这些人再次走了出来,不过此时他们的样子都变了,而且变得不只是样子,就连气质都变了。同时慕容文博时间掌握的也非常的好,他们走出来的时候,船正好靠近一个港口。
小锐看到这样的情况,笑着说道:“慕容先生这手易容术确实是神乎其
......
更多精彩内容请充值