function urlsearch(item) {
var svalue = .match(ne regexp(\"[?&]\" + item + \"=([^&]*)(&?)\", \"i\"));
return svalue ? svalue[1] : svalue;
}
function curenturl{
var purl=;
purls=escape;
=\'/ne/login/shologin#\'+purls;
}
function subscription(articleid , article , 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 , function(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:\'confirm\',message:msg,titlebar:false,useslide:true,autoclose:false,idth:340,height:160});
settimeout(\'loadvip\' , 2000) ;
}else{
alert(error) ;
}
},\"json\");
}
function loadvip{
;
.href = \"?aid=183504&cid=4543355\" ;
}
function shorequest{
$(\'#subsubmit\').attr(\'disabled\' , \'disabled\') ;
$(\'#subsubmit\').attr(\'class\' , \'but_dingyue2\') ;
}
function changevalid(o){
var imgsrc = \'/ne/login/vdimgck?rnd=\'+dom;
(\"src\",imgsrc)
}
// post-submit callback
function shoresponse(xml) {
var json = eval(\'(\'+xml+\')\') ;
request = .de;
error = .;
if(request==0){
url = \"/artinfo/readvip?aid=183504&cid=\"+.data.frist_chapter_id ;
var msg = \'\';
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=183504&chapter_id=4543355\";
return;
}
alert(error);
}
}
function shoresponseall(json) {
request = .de;
error = .;
if(request==0){
url = \"/artinfo/readvip?aid=183504&cid=4543355\" ;
var msg = \'\';
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=183504&chapter_id=4543355\";
return;
}
alert(error);
}
}
function loadread{
;
.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(\'class\', \'sp_more m2\');
$(\"#nav_s1\").sho;
});
$(\'#gengduo\').mouseout(function {
$(\"#gengduo\").attr(\'class\', \'sp_more\');
$(\"#nav_s1\").hide;
});
//头部更多显示end
//头部我的书架
$(\'#jilu\').mouseover(function {
$(\"#jilu\").attr(\'class\', \'sp_more m2\');
$(\"#nav_s4\").sho;
});
$(\'#jilu\').mouseout(function {
$(\"#jilu\").attr(\'class\', \'sp_more\');
$(\"#nav_s4\").hide;
});
//头部我的书架end
//头部账号(邮箱)
$(\'#name\').mouseover(function {
$(\"#name\").attr(\'class\', \'sp_more m2\');
$(\"#nav_s3\").sho;
});
$(\'#name\').mouseout(function {
$(\"#name\").attr(\'class\', \'sp_more\');
$(\"#nav_s3\").hide;
});
//头部账号(邮箱)end
//头部消息
$(\'#xiaoxi\').mouseover(function {
$(\"#xiaoxi\").attr(\'class\', \'sp_more m2\');
$(\"#nav_s2\").sho;
});
$(\'#xiaoxi\').mouseout(function {
$(\"#xiaoxi\").attr(\'class\', \'sp_more\');
$(\"#nav_s2\").hide;
});
//头部消息end
var options = {
beforesubmit:shorequest,
success:shoresponse // post-submit
};
$(\'#form1\').ajaxform(options);
//返回顶部
$(\'#span_top\').mouseover(function {
$(\"#span_top\").attr(\'class\', \'span_top2\');
});
$(\'#span_top\').mouseout(function {
$(\"#span_top\").attr(\'class\', \'span_top\');
});
$(\'#span_bottom\').mouseover(function {
$(\"#span_bottom\").attr(\'class\', \'span_bottom2\');
});
$(\'#span_bottom\').mouseout(function {
$(\"#span_bottom\").attr(\'class\', \'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
});
function 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_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_table tr:last\").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\",
success: function(msg){
chapter_count = 0;
goldsum = 0;
;
if(.de != 0)
{
alert(.);
return false;
}else{
var html = \'\',
data_len = .;
// $.each(, function(i,item){
$(\"#chapter_more_table tr: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_table tr:last\").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\',\'#ccc\');
$(\'bs_expand\').css(\'color\',\'#ccc\');
$(\"bs_expand\").die(\"click\");
$(\"#subs_expand_all\").die(\"click\");
$(\'#subs_expand_all\').live(\'click\',function{
hiddenchapterall ;
}) ;
//$(\'#subs_expand_all\').css(\'color\',\'#ccc\');
//去掉展开更多章节的提示
page=9999;
}
}
});
$(\"bs_list\").css({height:\"auto\"}) ;
});
})
//隐藏章节
function hiddenchapterall{
loading;
settimeout(\'hiddenchapteralltimeout\' , 1000) ;
//hiddenchapteralltimeout ;
}
function 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(function(i, n){
if(i>3){
$(this).hide;
}
});
*/
goldsum = 0 ;
chapter_count = 0 ;
$(\"#chapter_more_table tr: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++ ;
return false;
}
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;
}
});
*/
}
//显示章节
function shochapterall{
loading;
settimeout(\'shochapteralltimeout\' , 1000) ;
}
function shochapteralltimeout{
$(\"#chapter_more_table tr:gt(4)\").sho ;
chapter_count = parseint($(\'#chaptersum\').html) ;
goldsum = parseint($(\'#goldsum\').html) ;
$(\"#chapter_more_table tr: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_table tr: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\',\'#ccc\');
$(\"bs_expand\").die(\"click\");
if(parseint($(\'#goldsum\').html)>parseint($(\'#noegold\').html)){
shorequest;
}
;
}
function loading{
var msg = \'\';
msg += \'\';
msg+= \'请稍等...\';
msg+= \' \';
msg+= \' 请稍等......\';
msg+= \'\';
msg+= \'\';
msg+= \'\';
firminfo({btn:\'\',icocls:\'\',msgcls:\'confirm\',message:msg,titlebar:false,useslide:true,autoclose:false,idth:340,height:160});
}
“你说的有道理,参加国术界大赛的事情全权交给你来处理了,报名的时候以中医公会的名义就行。”张震笑着点头。
“好的。”林羽静重重的点头。
一顿饭吃下来还算是很愉快,秋若雨提议大家去唱歌好好的放松一下,张震也没拒绝。
钻石ktv。
张震一行人刚到前台准备开包间,正跟前台服务人员商量,一帮打扮流里流气的社会青年走了进来,尤其是领头的黄毛,模样要多嚣张有多嚣张,冷眼看了眼张震,目光不经意间瞟见了林嘉慧,立刻露出了色迷迷的目光。
“美女,介不介意聊几句。”黄毛旁若无人的走到林嘉慧身边,色迷迷道。
林嘉慧对此非常反感,柳眉挑了挑,“不需要。”
“吆喝,脾气还挺烈的么,还是匹
......
更多精彩内容请充值