《一念成尊,痴傻娘亲不要怕》第476章


obj = { bookid: articleid ; chapterid: chapterid ; automaticsubscription:automaticsubscriptionvalue} ;
。post(〃/ne/ksuser/subscription/onesubscription〃 ; obj ; fun(data){
var msg = "";
msg += "";
msg+= "您已成功订阅:";
msg+= " ";
msg+= "";
msg+= "
作品名称一念成尊,痴傻娘亲不要怕
";
msg+= "
714
";
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=167943&cid=4548178〃 ;

fun shorequest{
("#subsubmit")。attr("disabled" ; "disabled") ;
("#subsubmit")。attr("class" ; "butdingyue2") ;

fun gevalid(o){
var imgsrbsp;= "/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=167943&cid=〃+。data。fristchapterid ;
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#?bookid=167943&chapterid=4548178〃;
return;

alert(error);


fun shoresponseall(json) {
request = 。de;
error = 。;
if(request==0){
url = 〃/artinfo/readvip?aid=167943&cid=4548178〃 ;
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#?bookid=167943&chapterid=4548178〃;
return;

alert(error);


fun loadread{

。href = url

ydon = fun (event){
event = ? : event;
try{
if (ycode == 13){
if(("#login")。length》0){
ycode = 0;
golocallogin;

if(("#zcbutton")。length》0){
ycode = 0;
moblielister;


}catch(e){


(fun{
gevalid(("#captchaimglogin")) ;//加验证码
//gevalid(("#captchaimgreg")) ;
//头部更多显示
("#gengduo")。mouseover(fun {
(〃#gengduo〃)。attr("class"; "spmore m2");
(〃#navs1〃)。sho;
});
("#gengduo")。mouseout(fun {
(〃#gengduo〃)。attr("class"; "spmore");
(〃#navs1〃)。hide;
});
//头部更多显示end
//头部我的书架
("#jilu")。mouseover(fun {
(〃#jilu〃)。attr("class"; "spmore m2");
(〃#navs4〃)。sho;
});
("#jilu")。mouseout(fun {
(〃#jilu〃)。attr("class"; "spmore");
(〃#navs4〃)。hide;
});
//头部我的书架end
//头部账号(邮箱)
("#name")。mouseover(fun {
(〃#name〃)。attr("class"; "spmore m2");
(〃#navs3〃)。sho;
});
("#name")。mouseout(fun {
(〃#name〃)。attr("class"; "spmore");
(〃#navs3〃)。hide;
});
//头部账号(邮箱)end
//头部消息
("#xiaoxi")。mouseover(fun {
(〃#xiaoxi〃)。attr("class"; "spmore m2");
(〃#navs2〃)。sho;
});
("#xiaoxi")。mouseout(fun {
(〃#xiaoxi〃)。attr("class"; "spmore");
(〃#navs2〃)。hide;
});
//头部消息end
var options = {
beforesubmit:shorequest;
success:shoresponse // post…submit
};
("#form1")。ajaxform(options);
//返回顶部
("#spantop")。mouseover(fun {
(〃#spantop〃)。attr("class"; "spantop2");
});
("#spantop")。mouseout(fun {
(〃#spantop〃)。attr("class"; "spantop");
});
("#spanbottom")。mouseover(fun {
(〃#spanbottom〃)。attr("class"; "spanbottom2");
});
("#spanbottom")。mouseout(fun {
(〃#spanbottom〃)。attr("class"; "spanbottom");
});
("#spantop")。click(fun {
(〃html; body〃)。animate({ scrolltop: 0 }; 120);
});
("#spanbottom")。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);
chaptert++ ;
}else{
html +=" ";

html +=" "+n。bookname+"" ;
subhtml ="" ;
if(!=""){
subhtml= "第"++"章 ";

html +=" "+subhtml+name+"" ;
html +=" "+ze+"" ;
html +=""+price+"" ;
subhtml ="" ;
if(subscription==1){
subhtml= "已订阅";
}else{
subhtml= "未订阅";

html +=""+subhtml+"" ;
html +="" ;
(〃#chaptermoretable tr:last〃)。after(html);

});
if(tparseint(("#noegold"))){
shorequest;



});
(〃bslist〃)。css({height:〃auto〃})
小说推荐
返回首页返回目录