/*Base*/
body{
color:#333;
font:14pxVerdana,"HelveticaNeue",helvetica,Arial,'MicrosoftYaHei',sans-serif;
margin:0;
padding:020px20px;
word-break:break-word;
h1{
margin:10px00;
font-size:28px;
font-weight:500;
line-height:32px;
h2{
color:#4288ce;
font-weight:400;
padding:6px0;
margin:6px00;
font-size:18px;
border-bottom:1pxsolid#eee;
h3.subheading{
color:#4288ce;
margin:6px00;
font-weight:400;
h3{
margin:12px;
font-size:16px;
font-weight:bold;
abbr{
cursor:help;
text-decoration:underline;
text-decoration-style:dotted;
a{
color:#868686;
cursor:pointer;
a:hover{
text-decoration:underline;
line-error{
background:#f8cbcb;
echotable{
width:100%;
echopre{
padding:16px;
overflow:auto;
font-size:85%;
line-height:1.45;
background-color:#f7f7f7;
border:0;
border-radius:3px;
font-family:Consolas,"LiberationMono",Menlo,Courier,monospace;
echopre>pre{
padding:0;
margin:0;
/*Layout*/.
col-md-3{
width:25%;
col-md-9{
width:75%;
[class^="col-md-"]{
float:left;
clearfix{
clear:both;
@mediaonlyscreen
and(min-device-width:375px)
and(max-device-width:667px){.
col-md-3,.
col-md-9{
width:100%;
/*ExceptionInfo*/.
exception{
margin-top:20px;
exception.message{
padding:12px;
border:1pxsolid#ddd;
border-bottom:0none;
line-height:18px;
font-size:16px;
border-top-left-radius:4px;
border-top-right-radius:4px;
font-family:Consolas,"LiberationMono",Courier,Verdana,"微软雅黑";
exception.code{
float:left;
text-align:center;
color:#fff;
margin-right:12px;
padding:16px;
border-radius:4px;
background:#999;
exception.source-code{
padding:6px;
border:1pxsolid#ddd;
background:#f9f9f9;
overflow-x:auto;
exception.source-codepre{
margin:0;
exception.source-codepreol{
margin:0;
color:#4288ce;
display:inline-block;
min-width:100%;
box-sizing:border-box;
font-size:14px;
font-family:"CenturyGothic",Consolas,"LiberationMono",Courier,Verdana;
padding-left:48px;
exception.source-codepreli{
border-left:1pxsolid#ddd;
height:18px;
line-height:18px;
exception.source-codeprecode{
color:#333;
height:100%;
display:inline-block;
border-left:1pxsolid#fff;
font-size:14px;
font-family:Consolas,"LiberationMono",Courier,Verdana,"微软雅黑";
exception.trace{
padding:6px;
border:1pxsolid#ddd;
border-top:0none;
line-height:16px;
font-size:14px;
font-family:Consolas,"LiberationMono",Courier,Verdana,"微软雅黑";
exception.traceol{
margin:12px;
exception.traceolli{
padding:2px4px;
exceptiondiv:last-child{
border-bottom-left-radius:4px;
border-bottom-right-radius:4px;
/*ExceptionVariables*/.
exception-vartable{
width:100%;
margin:12px0;
box-sizing:border-box;
table-layout:fixed;
word-wrap:break-word;
exception-vartablecaption{
text-align:left;
font-size:16px;
font-weight:bold;
padding:6px0;
exception-vartablecaptionsmall{
font-weight:300;
display:inline-block;
margin-left:10px;
color:#ccc;
exception-vartabletbody{
font-size:13px;
font-family:Consolas,"LiberationMono",Courier,"微软雅黑";
exception-vartabletd{
padding:06px;
vertical-align:top;
word-break:break-all;
exception-vartabletd:first-child{
width:28%;
font-weight:bold;
white-space:nowrap;
exception-vartabletdpre{
margin:0;
/*CopyrightInfo*/.
copyright{
margin-top:24px;
padding:12px0;
border-top:1pxsolid#eee;
/*SPANelementswiththeclassesbelowareaddedbyprettyprint.*/
pre.prettyprint.pln{color:#000} /*plaintext*/
pre.prettyprint.str{color:#080} /*stringcontent*/
pre.prettyprint.kwd{color:#008} /*akeyword*/
pre.prettyprint.com{color:#800} /*acomment*/
pre.prettyprint.typ{color:#606} /*atypename*/
pre.prettyprint.lit{color:#066} /*aliteralvalue*/
/*punctuation,lispopenbracket,lispclosebracket*/
pre.prettyprint.pun,pre.prettyprint.opn,pre.prettyprint.clo{color:#660}
pre.prettyprint.tag{color:#008} /*amarkuptagname*/
pre.prettyprint.atn{color:#606} /*amarkupattributename*/
pre.prettyprint.atv{color:#080} /*amarkupattributevalue*/
pre.prettyprint.dec,pre.prettyprint.var{color:#606} /*adeclaration;avariablename*/
pre.prettyprint.fun{color:red} /*afunctionname*/
$FirstID=0;
//First check locally to see if there is a purchase record in the history
$item=$this->findQQ($bookid,$cid);
if(!empty($item)){
$where=array();
$where['id']=$item['id'];
$update=array();
$update['lastuse']=time();
Db::table('qq_neirong')->where($where)->update($update) ;
$url='http://'.$item['serverip'].':5690/QQ/qqAction ?bookId='.$bookid.'&cid='.$cid.'&qq='.$item['qq']."&autopay=1";
$code=getCode($url);
if(!empty($code)){
return$code;
}
}
while($maxRed>0){
try{
at::appError(8,'Undefinedindex:ser','E:wwwNewCaiJiappl',50,['bookid'=>41134042, 'cid'=>760,'isTest'=>false,])inQqNeiRongModel.phpline50
at->getContent(41134042,760)inIndex.phpline344
at->getqqcontent()
at->invokeArgs(object() ,[])inApp.phpline343
at::invokeMethod([object( ;),'getqqcontent'],[])inApp.phpline611
at::module(['index','index','getqqcontent'],['app_host'=>'','app_debug'=>true,'app_trace'=>false,],true)inApp.phpline456
at::exec(['type'=>'module','module'=>['index','index','getqqcontent']],['app_host'=>'','app_debug'=>true,'app_trace'=>false,])inApp.phpline139
at::run()instart.phpline19
atrequire('E:wwwNewCaiJithin')inindex.phpline17
258
varLINE=50;
function$(selector,node){
varelements;
node=node document;
if(document.querySelectorAll){
elements=node.querySelectorAll(selector);
}else{
switch(selector.substr(0,1)){
case'#':
elements=[node.getElementById(selector.substr(1))];
break;
case'.':
if(document.getElementsByClassName){
elements=node.getElementsByClassName(selector.substr(1));
}else{
elements=get_elements_by_class(selector.substr(1),node);
break;
default:
elements=node.getElementsByTagName();
returnelements;
functionget_elements_by_class(search_class,node,tag){
varelements=[],eles,
pattern =newRegExp('(^ s)'+search_class+'(s $)');
node=node document;
tag =tag '*';
eles=node.getElementsByTagName(tag);
for(vari=0;i if(pattern.test(eles[i].className)){ elements.push(eles[i]) returnelements; $.getScript=function(src,func){ varscript=document.createElement('script'); script.async ='async'; script.src =src; script.onload=func
function(){}; $('head')[0].appendChild(script); ;(function(){ varfiles=$('.toggle'); varol =$('ol',$('.prettyprint')[0]); varli =$('li',ol[0]); for(vari=0;i files[i].ondblclick=function(){ vartitle=this.title; this.title=this.innerHTML; this.innerHTML=title; varerr_line=$('.line-'+LINE,ol[0])[0]; err_line.className=err_line.className+'line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js',function(){ prettyPrint(); //解决Firefox浏览器一个很诡异的问题 //当代码高亮后,ol的行号莫名其妙的错位 //但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox')>=0){ ol[0].innerHTML=ol[0].innerHTML; Chapter end