第一百三十八章 三世痴缠来生度
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=157119&cid=4518704” ;
}
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=157119&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=157119&chapter_id=4518704”;
return;
}
alert(error);
}
}
fun shoresponseall(json){
request = .de;
error = .;
if(request==0){
url = ”/artinfo/readvip?aid=157119&cid=4518704” ;
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=157119&chapter_id=4518704”;
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});
}
第一百三十八章三世痴缠来生度
相比大辽云逸凡驻军处,夏雪寒的临时府邸倒是拥挤了许多,院里院外全是打满绷带的伤兵,他们眼神木讷的望着天空,仿佛在那一战中失去了魂灵。
那一战他们失去了太多,无数鲜活的生命在他们眼前一个个流逝,兄弟、朋友,甚至是偶尔闹过矛盾的仇人,都再也见不到了,像是做梦一样。
没有一个人说话,只是偶尔有人忍不住疼痛轻哼几声,不过又立刻忍住,因为他们知道主公向来是喜欢安静的,不能打搅到他。
此时的夏雪寒却是一个人坐在屋顶,远远的看着狼烟还未散尽的战场,这个飘逸如仙的男人有一种说不出的悲凉和哀伤,他不再是仙了,他也是人,是有血有肉有感情的人,无法坐视数十万大军
......
更多精彩内容请充值