0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
appartsoft.com
/
wp-content
/
plugins
/
content-mage
/
[
Home
]
File: ContentMageAnswers.php
<?php class O4f extends l3c implements l4g { protected $O3j="\143\157ntent_m\141\147\145_answe\162\163\056log"; public function O4g() { $url="\150\164\164p://ans\167\145\162\163.yaho\157\141\160\151s.com\057\101\156swers\123\145\162vice/V\061\057\161uestio\156\123\145arch?"; $url.="\141\160\160id=".$this->O3c; $url.="\046query=".urlencode($this->l3h()); $url.="\046output=\152\163\157n"; $url.="\046\162esults=40"; $l1r=$this->l3l($url); $this->l3d =""; $this->content =""; if ($l1r === FALSE) { return FALSE; } $l1r=json_decode($l1r); $l4h=NULL; $O3=0; $l4h=NULL; foreach ( (array) $l1r->all->questions as $O4h) { $O3 ++; if ($this->exists($O4h->Id)) { continue; } if (strlen(trim($O4h->ChosenAnswer)) == 0) { continue; } if (strlen($O4h->Content)>self::O3e) { continue; } $l4h[]=$O4h; } if ($l4h === NULL) { return FALSE; } $l4i=rand(0,count($l4h)-1); $l4h=$l4h[$l4i]; $this->l3d =$l4h->Id; $this->content =str_replace(array('{$title}','{$content}','{$question}'),array($l4h->Subject ,$l4h->ChosenAnswer ,$l4h->Content),$this->l3j()); return TRUE; } public function poll() { return $this->O4g(); } } ?>