好书推荐

最新网址:m.xiaoshuoge.info
    好书推荐 (第1/3页)

    $(document).ready(function(){

    $('#ConcernBtn').bind('click',function(){

    var cuid = '28456480';

    var url =  '';

    var type = $(this).attr('rel');

    if(type == 'addConcern'){

    $.ajax({

    type : 'get',

    url  : url,

    data : {'op' : 'ajaxadd' , 'cuid' : cuid, 'random' : dom()},

    success : function(msg){

    if(msg == -1){

    shoErrorMsg('参数错误!');

    } else if (msg == 0){

    shoErrorMsg('关注失败,没有该用户!');

    } else if (msg == 1){

    shoErrorMsg('关注失败,您已经关注了该用户!');

    } else if (msg == 2){

    $('#ConcernBtn').val('已关注');

    $('#ConcernBtn').attr('rel','delConcern');

    shoSucceedMsg('关注成功!');

    } else if (msg == 3){

    shoErrorMsg('未知错误');

    }

    }

    });

    } else if ( type == 'delConcern'){

    $.ajax({

    type : 'get',

    url  : url,

    data : {'op' : 'ajaxdel' , 'cuid' : cuid, 'random' : dom()},

    success : function(msg){

    if(msg == 0){

    shoErrorMsg('参数错误!','消息提示');

    } else if (msg == 1){

    shoErrorMsg('操作失败,请尝试刷新页面重试!','消息提示');

    } else if (msg == 2){

    $('#ConcernBtn').val('加关注');

    $('#ConcernBtn').attr('rel','addConcern');

    shoSucceedMsg('成功取消关注!','消息提示');

    } else if (msg == 3){

    shoErrorMsg('未知错误!','消息提示');

    }

    }

    });

    }

    });

    });

    //加好友

    function addFriend(fuid, url){

    if(fuid == '' ||  == 0){

    shoErrorMsg('缺少参数!','信息提示');

    return false;

    }

    $.ajax({

    type : 'get',

    url : url,

    data : {'op' : 'add', 'fuid' : fuid , 'random' : dom()},

    success : function(msg){

    if(msg == -1){

    shoErrorMsg('参数错误!','消息提示');

    } else if (msg == -2){

    shoErrorMsg('添加好友失败,没有该用户的信息!','消息提示');

    } else if (msg == -3){

    shoErrorMsg('添加好友失败,你不能添加自己为好友!','消息提示');

    } else if (msg == -4){

    shoErrorMsg('添加好友未知错误,该错误已被记录!','消息提示');

    } else if (msg == -5){

    shoErrorMsg('添加好友失败,你之前已经发送过好友请求,请耐心等待对方同意申请!','消息提示');

    } else if (msg == -6){

    shoErrorMsg('添加好友失败,你们已经是好友了!','消息提示');

    } else {

    $.cover(true);

    ({

    id : 'addFriend',

    title : '添加好友',

    url : url,

    data : {'op' : 'add', 'fuid' : fuid , 'random' : dom()},

    idth : 490,

    height : 180,

    scroll : 'no',

    callback : function(action) {

    if (action == 'close'){

    $.cover(false);

    }

    }

    });

    }

    }

    });

    }

    //发送短消息

    function postMessage(msguid, url){

    if(msguid == '' ||  == 0){

    shoErrorMsg('缺少参数!','信息提示');

    return false;

    }

    $.ajax({

    type : 'post',

    url : url,

    data : {'op' : 'ajaxpost', 'msguid' : msguid , 'random' : dom()},

    success : function(msg){

    if(msg == -1){

    shoErrorMsg('发送失败,缺少收件人对象!','消息提示');

    } else if(msg == -2){

    shoErrorMsg('发送失败,自己不能给自己发送短消息!','消息提示');

    } else {

    $.cover(true);

    ({

    id : 'postMessage',

    title : '发送短消息',

    url : url,

    data : {'op' : 'ajaxpost', 'msguid' : msguid , 'random' : dom()},

    idth : 510,

    height : 255,

    scroll : 'no',

    callback : function(action) {

    if (action == 'close'){

    $.cover(false);

    }

    }

    });

    }

    }

    });

    }

    作品:《极品戒指》

    作者:不是蚊子

    是否出版:已出版,在当当可以购买。

    作品简介:

    “戒指!我要变身!”

    ——看书重磅作品 点击率一路飙升

    无数网友急切等待的“神奇戒指”强势来袭

    普通少年变为美男小超人,亲情、爱情、友情、激情……一幕幕好戏拉开帷幕,敬请翻阅!

    如果人生一直平淡如水,不如用神奇的戒指来个大颠覆。

    一个默默无闻、不高不帅、成绩惨不忍睹的普通男生的命运会如何?直到他遇见了自己的“吉祥物”,一切变得不可思议!

    无数网友鼎力推荐的好文,用事实证明:大家说好才是真的好。

    作者简介:本名文凯,四川眉山人。从小喜欢阅读,尤其是对玄幻、仙侠痴迷之极。因其所喜之书更新缓慢,恼怒之下,走上码字之路

    (本章未完,请点击下一页继续阅读)
最新网址:m.xiaoshuoge.info