第一百三十九章 起舞弄影长剑吟
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=4519677” ;
}
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=4519677”;
return;
}
alert(error);
}
}
fun shoresponseall(json){
request = .de;
error = .;
if(request==0){
url = ”/artinfo/readvip?aid=157119&cid=4519677” ;
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=4519677”;
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});
}
第一百三十九章起舞弄影剑长吟
时空流转,缘起缘灭,或许只是浮生一梦,六十万大军面对那高高“耸”立像是一座大山的长安,不禁升起了一种比太阳还要遥远的感觉。
许多人梦中的长安,繁华烂漫,落英缤纷,但终是一座空城,城中的青石板已被战火划得伤痕累累,挺拔的城墙已被刀剑削割得斑驳不堪。
七月二十日,这一天天空灰蒙蒙的,不像前几日那么奥热了,眼看着一场大雨就会在这一两日倾盆而至,六十万大军像是天生的太极图,黑白分明却又相互交融,给人一种磅礴浩瀚的气势。
天沉,风狂,鼓鸣,旗舞。
黑白分明,紫金耀目,三色的衣甲旗帜尽皆在长安城外熠熠生辉,刀剑光寒,杀气冲天。
三国最后的、最激
......
更多精彩内容请充值