第七十二章 杀招(六)-《混在1275》


    第(3/3)页

      currbook.chapterid  =  '34085601';  //"34085601";

      currbook.sectionid  =  '0';  //"";

      function  savefootprint(count)  {

      if  (!currbook.bookid  ||  currbook.bookid  ==  0)  {

      //no  book-id,  wrong  parametter

      return;

      }

      if  (count  >  3)  {

      return;

      }

      jquery.ajax({

      url:  domain.bookhostname  +  "/ajax/user.footprint.save.do?bookid=408074&chapterid=34085601§ionid=0",

      data  :  currbook,

      processdata:  false,

      datatype:  "jsonp",

      sess:  function(data){

      if(data  &&  data.length  >  0)  {

      //sess,  do  nothing.

      }  else  {

      //fail,  will  try  2  times.  then  end

      savefootprint(count  +  1);

      }

      }

      });

      }

      jquery(document).ready(function  {

      var  _keyfootprint  =  'tempfootprint';

      if  (window.user  ==  null  ||  window.user  ==  undefined)  {

      if  (!currbook.bookid  ||  currbook.bookid  ==  0  ||  !currbook.chapterid  ||  currbook.chapterid  ==  0)  {

      //normation

      }  else  {

      //bookid_chapterid_sectionid|

      var  footprint  =  cookieutil.getcookie(_keyfootprint);

      if  (footprint)  {

      var  footprints  =  footprint.split('|');

      var  newidx;

      var  newfootprints  =  [];

      var  _start  =  footprints.length  >  10  ?  (footprints.length  -  9)  :  0;

      for  (newidx  =  0;  _start  <  footprints.length;  _start++)  {

      var  patt  =  new  regexp(currbook.bookid  +  '_');

      if  (patt.test(footprints[_start]))  {

      //console.debug(currbook.id  +  '_'  +  ',  value:'  +  footprints[_start]);

      continue;

      }

      newfootprints[newidx++]  =  footprints[_start];

      }

      footprint  =  newfootprints.join('|');

      if  (footprint)  {

      footprint  +=  '|';

      }

      }  else  {

      footprint  =  '';

      }

      footprint  +=  currbook.bookid;

      footprint  +=  "_";

      footprint  +=  currbook.chapterid;

      /*  footprint  +=  '_';

      footprint  +=  currbook.sectionid;  */

      cookieutil.setcookie({

      name:  _keyfootprint,

      value:  footprint,

      expires:  365  *  24  *  60  *  60,

      path:  '/',

      domain:  '.zongheng'

      });

      }

      }  else  {

      savefootprint(0);

      }

      });

      //

      页尾  结束

      弹出层  开始

      余额不足

      当前章节共需0纵横币。

      您的帐户余额0纵横币。

      您目前的余额不足,请立即充值>>

      确认

      章节:后续10章节

      应付总额:53648纵横币(余额:0  纵横币)

      该书不再显示扣费提示,此后新发章节自动购买

      确认购买

      确认

      当前章节共需0纵横币。

      您的帐户余额0纵横币。

      立即取 消

      成功!

      正在跳转至章节...

      弹出层  结束

      书页目录

      目录在这里哦!

      知道了

      混在1275倒序↓

      正在努力加载中...

      书评收藏书签捧场红票月票

      下一章


    第(3/3)页