第281章 炼制破障药剂前夕
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 , artib, 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+= '
炼制破障药剂前夕
';
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=108038&cid=3927039” ;
}
fun shorequest{
$('#subsubmit').attr('disabled' , 'disabled') ;
$('#subsubmit').attr('class' , 'but_dingyue2') ;
}
fun gevalid(o){
var imgsrb= '/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=108038&cid=”+._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=108038&chapter_id=3927039”;
return;
}
alert(error);
}
}
fun shoresponseall(json){
request = .de;
error = .;
if(request==0){
url = ”/artinfo/readvip?aid=108038&cid=3927039” ;
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=108038&chapter_id=3927039”;
return;
}
alert(error);
}
}
fun loadread{
;
.href = url
}
ydon = fun (event){
event =?: event;
try{
(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).(”:checkbox”).attr('disabled')==false&&$(this).(”:checkbox”).attr('checked')&&i!=0){
goldsum = goldsum+parseint($(this).children('td:eq(4)').);
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).(”:checkbox”).attr('disabled')==false){
goldsum = goldsum+parseint($(this).children('td:eq(4)').);
$(this).(”: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).(”:checkbox”).attr('disabled')==false&&$(this).(”:checkbox”).attr('checked')==false){
$(this).(”:checkbox”).attr('checked',true) ;
goldsum = goldsum+parseint($(this).children('td:eq(4)').);
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});
}
贝克对百锻报以感激,然后就在这里住了下来。
百锻老人也知道贝克身体情况不容乐观,所以没有去打扰贝克,只是说让他有什么需要就来找他就是。
贝克没有推辞,对于百锻这种人,如果推辞他会觉得你在疏远他,在后世贝克也有很多脾气古怪的朋友,深知这一点。
坐下来之后,贝克先是拿出药厥看起来,当拿着药厥的一瞬间,他好似拿到了整个世界,后世的种种划过心头,他充满着惆怅。
盯着药厥,他的眼神越加的柔和,他仔细的抚摸上面的纹路,一股亲切感自他心间升起。
“如今有了七品高级星药炼制器,破障药剂有着落了。”贝克喃喃道。
破障药剂只不过是六阶初级星药,他能够做到的特性就是化解王级星修以下的任何
......
更多精彩内容请充值