Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["gi\x71qm\x72\x68r"]="m\x69\x64";${"\x47L\x4fB\x41..

Decoded Output download

<?php ${"GLOBALS"}["giqqmrhr"]="mid";${"GLOBALS"}["ydaxtdp"]="ids";${"GLOBALS"}["kunuuhd"]="pos";${"GLOBALS"}["tnfgvvio"]="querys";${"GLOBALS"}["ofbuuxl"]="mp";${"GLOBALS"}["bnxcuzmbf"]="rows2";${"GLOBALS"}["kgqktmsenf"]="sql";${"GLOBALS"}["kjddnakn"]="data";${"GLOBALS"}["gyrzsyurbpw"]="row";${"GLOBALS"}["dcffbyeiwuce"]="id";${"GLOBALS"}["elgkrybiuw"]="rows";${"GLOBALS"}["irmkybb"]="query";${"GLOBALS"}["dcvrgss"]="sportTable";require_once("adodb5/adodb.inc.php");class topodds{private$db;private$stbl;private$ttbl;private$mtbl;private$dsn;private function jsonout($rows){${"GLOBALS"}["jutsjdllbcp"]="input";$gfpemsvpxnh="rows";$struswbnvo="input";${${"GLOBALS"}["jutsjdllbcp"]}=json_encode(${$gfpemsvpxnh});echo${$struswbnvo};}public function __construct($dbserver,$database,$dbusername,$dbpassword,$sportTable,$marketTable,$tournamentTable){${"GLOBALS"}["sepftdzrup"]="tournamentTable";$this->db=&ADONewConnection("odbc_mssql");$this->dsn="Driver={SQL Server};Server=$dbserver;Database=$database;";$this->db->Connect($this->dsn,"$dbusername","$dbpassword");$this->stbl=${${"GLOBALS"}["dcvrgss"]};${"GLOBALS"}["psrodswgto"]="marketTable";$this->ttbl=${${"GLOBALS"}["sepftdzrup"]};$this->mtbl=${${"GLOBALS"}["psrodswgto"]};}public function fetchSports(){${${"GLOBALS"}["irmkybb"]}="SELECT DISTINCT sportName,{$this->stbl}.sportId FROM {$this->stbl},{$this->mtbl},{$this->ttbl} WHERE {$this->ttbl}.sportID = {$this->stbl}.sportID AND {$this->mtbl}.tournamentId = {$this->ttbl}.tournamentId AND wagerEnd > GetDate() AND status < 6 ORDER BY sportName";${"GLOBALS"}["khbxrpmilhn"]="rows";$txmbnlgllrv="query";$cyrccif="rows";$this->db->debug=-99;$krkuzhv="rows";${${"GLOBALS"}["elgkrybiuw"]}=$this->db->GetAll(${$txmbnlgllrv});${$cyrccif}=array("data"=>${$krkuzhv});$this->jsonout(${${"GLOBALS"}["khbxrpmilhn"]});}public function fetchTournaments($id){$fdopxi="query";${"GLOBALS"}["ihdyqwebga"]="id";${"GLOBALS"}["rhomlpexy"]="rows";${"GLOBALS"}["ultjavl"]="data";if(strpos(${${"GLOBALS"}["ihdyqwebga"]},"|")!==false){${"GLOBALS"}["dsxxnzpitf"]="id";${${"GLOBALS"}["dsxxnzpitf"]}=str_replace("|",",",${${"GLOBALS"}["dcffbyeiwuce"]});}${$fdopxi}="SELECT DISTINCT {$this->ttbl}.tournamentName,{$this->ttbl}.tournamentId,{$this->stbl}.sportId, {$this->stbl}.sportName FROM {$this->stbl},{$this->mtbl},{$this->ttbl} WHERE {$this->ttbl}.sportID = {$this->stbl}.sportID AND {$this->mtbl}.tournamentId = {$this->ttbl}.tournamentId AND wagerEnd > GetDate() AND status < 6 AND {$this->stbl}.sportid IN ($id) ORDER BY {$this->stbl}.sportId,{$this->ttbl}.tournamentName";${${"GLOBALS"}["elgkrybiuw"]}=$this->db->GetAll(${${"GLOBALS"}["irmkybb"]});${${"GLOBALS"}["ultjavl"]}=array();foreach(${${"GLOBALS"}["rhomlpexy"]} as${${"GLOBALS"}["gyrzsyurbpw"]}){$wdhiegzhbmsm="row";${${"GLOBALS"}["kjddnakn"]}[${${"GLOBALS"}["gyrzsyurbpw"]}[2]]["data"][]=array(${${"GLOBALS"}["gyrzsyurbpw"]}[1],${${"GLOBALS"}["gyrzsyurbpw"]}[0],);$wknogryatyhg="row";${${"GLOBALS"}["kjddnakn"]}[${$wdhiegzhbmsm}[2]]["sportName"]=${$wknogryatyhg}[3];}$this->jsonout(${${"GLOBALS"}["kjddnakn"]});}function fetchEvents($id){${"GLOBALS"}["cuqjjxx"]="query";if(strpos(${${"GLOBALS"}["dcffbyeiwuce"]},"|")!==false){${"GLOBALS"}["isolnris"]="id";${"GLOBALS"}["udjdsthty"]="id";${${"GLOBALS"}["udjdsthty"]}=str_replace("|",",",${${"GLOBALS"}["isolnris"]});}$jumsknygmko="rows";$mllqqxb="data";$rxsvri="data";${${"GLOBALS"}["irmkybb"]}="SELECT DISTINCT {$this->ttbl}.tournamentId,eventName,eventNumber,eventId,eventStatus,betType,eventDate FROM {$this->stbl},{$this->mtbl},{$this->ttbl} WHERE {$this->ttbl}.sportID = {$this->stbl}.sportID AND {$this->mtbl}.tournamentId = {$this->ttbl}.tournamentId AND wagerEnd > GetDate() AND status < 6 AND {$this->ttbl}.tournamentId IN ($id) ORDER BY {$this->ttbl}.tournamentId, EventName";${${"GLOBALS"}["elgkrybiuw"]}=$this->db->GetAll(${${"GLOBALS"}["cuqjjxx"]});${$mllqqxb}=array();foreach(${$jumsknygmko} as${${"GLOBALS"}["gyrzsyurbpw"]}){$fndbunnj="row";${"GLOBALS"}["ghywynqdi"]="row";${"GLOBALS"}["wpsidtmuf"]="data";$oqtapgleaad="row";if(${${"GLOBALS"}["ghywynqdi"]}[5]==1){$qzhldpsi="rows2";$wqabgtlhsx="sql";${${"GLOBALS"}["kgqktmsenf"]}="SELECT marketId, marketName1,marketName2,homePrice,drawPrice,awayPrice FROM market WHERE eventId = {$row[3]}";${${"GLOBALS"}["bnxcuzmbf"]}=$this->db->GetAll(${$wqabgtlhsx});foreach(${$qzhldpsi} as${${"GLOBALS"}["ofbuuxl"]}){$scwyxwiblb="row";$uczhzcklef="mp";${${"GLOBALS"}["kjddnakn"]}[${${"GLOBALS"}["gyrzsyurbpw"]}[0]][]=array(htmlentities(${$scwyxwiblb}[1])." : ".htmlentities(${$uczhzcklef}[1])." VS ".htmlentities(${${"GLOBALS"}["ofbuuxl"]}[2]),${${"GLOBALS"}["gyrzsyurbpw"]}[2],"$row[3].$mp[0]",${${"GLOBALS"}["gyrzsyurbpw"]}[4],${${"GLOBALS"}["gyrzsyurbpw"]}[5],${${"GLOBALS"}["gyrzsyurbpw"]}[6]);}}else${${"GLOBALS"}["wpsidtmuf"]}[${$oqtapgleaad}[0]][]=array(${${"GLOBALS"}["gyrzsyurbpw"]}[1],${${"GLOBALS"}["gyrzsyurbpw"]}[2],${${"GLOBALS"}["gyrzsyurbpw"]}[3],${${"GLOBALS"}["gyrzsyurbpw"]}[4],${${"GLOBALS"}["gyrzsyurbpw"]}[5],${$fndbunnj}[6]);}$this->jsonout(${$rxsvri});}public function fetchMarkets($id){$qldvjvy="pos";${"GLOBALS"}["sdhtpqr"]="data";$cqwpjmbc="id";if(strpos(${$cqwpjmbc},"|")!==false){$iqpcrrgp="id";${${"GLOBALS"}["dcffbyeiwuce"]}=str_replace("|",",",${$iqpcrrgp});}$ccycvgsd="data";$ujinohgjq="querys";${$qldvjvy}=strpos(${${"GLOBALS"}["dcffbyeiwuce"]},".");${${"GLOBALS"}["sdhtpqr"]}=array();${${"GLOBALS"}["tnfgvvio"]}=array();if(${${"GLOBALS"}["kunuuhd"]}===false){${${"GLOBALS"}["tnfgvvio"]}[]="SELECT  eventId,marketId,marketName1,status,eventStatus,currentPrice,CONVERT(CHAR(20),displayEnd,20) AS displayEnd2,betType,marketName2,homePrice,drawPrice,awayPrice FROM sport,market,tournament  WHERE market.eventStatus < 6 AND tournament.sportID = sport.sportID AND market.tournamentId = tournament.tournamentId AND eventId IN ($id) ORDER BY marketId";}else{${"GLOBALS"}["sgernkc"]="id";$tfuoicvrk="id";${${"GLOBALS"}["ydaxtdp"]}=explode(",",${${"GLOBALS"}["sgernkc"]});foreach(${${"GLOBALS"}["ydaxtdp"]} as${$tfuoicvrk}){${"GLOBALS"}["sxhkvvif"]="id";$cwwlxfdmm="pos";${$cwwlxfdmm}=strpos(${${"GLOBALS"}["sxhkvvif"]},".");if(${${"GLOBALS"}["kunuuhd"]}===false){${"GLOBALS"}["rgokiwtmd"]="querys";${${"GLOBALS"}["rgokiwtmd"]}[]="SELECT eventId,marketId,marketName1,status,eventStatus,currentPrice,CONVERT(CHAR(20),displayEnd,20) AS displayEnd2,betType,marketName2,homePrice,drawPrice,awayPrice FROM sport,market,tournament  WHERE market.eventStatus < 6 AND tournament.sportID = sport.sportID AND market.tournamentId = tournament.tournamentId AND eventId = ($id) ORDER BY marketId";}else{${"GLOBALS"}["zfwriuze"]="id";${${"GLOBALS"}["giqqmrhr"]}=explode(".",${${"GLOBALS"}["zfwriuze"]});${${"GLOBALS"}["tnfgvvio"]}[]="SELECT eventId,marketId,marketName1,status,eventStatus,currentPrice,CONVERT(CHAR(20),displayEnd,20) AS displayEnd2,betType,marketName2,homePrice,drawPrice,awayPrice  FROM sport,market,tournament WHERE market.eventStatus < 6 AND tournament.sportID = sport.sportID AND market.tournamentId = tournament.tournamentId AND eventId = $mid[0] AND market.marketId = $mid[1] ORDER BY marketId";}}}foreach(${$ujinohgjq} as${${"GLOBALS"}["irmkybb"]}){$zndkqxzdb="rows";$ogywajzbssh="rows";$this->db->debug=-099;${"GLOBALS"}["iizufwq"]="row";$pykfcht="query";${$zndkqxzdb}=$this->db->GetAll(${$pykfcht});foreach(${$ogywajzbssh} as${${"GLOBALS"}["iizufwq"]}){${"GLOBALS"}["lgafojnymphs"]="row";if(${${"GLOBALS"}["lgafojnymphs"]}[7]<>1){${"GLOBALS"}["kxixjwes"]="row";${"GLOBALS"}["ncyjxhttjt"]="row";$lrbuhgh="row";$yvhgylum="row";${"GLOBALS"}["qeybker"]="row";$tfroelqn="row";${${"GLOBALS"}["kjddnakn"]}[${${"GLOBALS"}["ncyjxhttjt"]}[0]]["data"][]=array(${${"GLOBALS"}["gyrzsyurbpw"]}[1],${${"GLOBALS"}["qeybker"]}[2],${$lrbuhgh}[5],${${"GLOBALS"}["gyrzsyurbpw"]}[3]);${${"GLOBALS"}["kjddnakn"]}[${${"GLOBALS"}["kxixjwes"]}[0]]["eventStatus"]=${${"GLOBALS"}["gyrzsyurbpw"]}[4];${${"GLOBALS"}["kjddnakn"]}[${$tfroelqn}[0]]["eventDate"]=strtotime(${${"GLOBALS"}["gyrzsyurbpw"]}[6]);${${"GLOBALS"}["kjddnakn"]}[${${"GLOBALS"}["gyrzsyurbpw"]}[0]]["eventType"]=${$yvhgylum}[7];}else{${"GLOBALS"}["wljfcmrim"]="row";${"GLOBALS"}["vhpkdclx"]="row";$rbbwgjdeughv="row";${"GLOBALS"}["dtsfgwhuxg"]="row";${"GLOBALS"}["xxcliruepxx"]="data";$peboqvkyqe="data";$rvqqerndjypd="row";${"GLOBALS"}["ntolowehqn"]="row";$qlqnplvcmi="data";$rngfsxrykgl="row";$mmpoggo="row";$hfkghoweahd="row";${$peboqvkyqe}[${${"GLOBALS"}["gyrzsyurbpw"]}[0].".".${${"GLOBALS"}["gyrzsyurbpw"]}[1]]["data"][]=array(${${"GLOBALS"}["dtsfgwhuxg"]}[1],${${"GLOBALS"}["gyrzsyurbpw"]}[2],${$hfkghoweahd}[8],${$rvqqerndjypd}[9],${${"GLOBALS"}["gyrzsyurbpw"]}[10],${${"GLOBALS"}["ntolowehqn"]}[11],${${"GLOBALS"}["gyrzsyurbpw"]}[3]);$ztfsoxsfd="data";${$qlqnplvcmi}[${$rbbwgjdeughv}[0].".".${${"GLOBALS"}["gyrzsyurbpw"]}[1]]["eventStatus"]=${$mmpoggo}[4];${$ztfsoxsfd}[${${"GLOBALS"}["wljfcmrim"]}[0].".".${${"GLOBALS"}["gyrzsyurbpw"]}[1]]["eventDate"]=strtotime(${${"GLOBALS"}["gyrzsyurbpw"]}[6]);${${"GLOBALS"}["xxcliruepxx"]}[${$rngfsxrykgl}[0].".".${${"GLOBALS"}["vhpkdclx"]}[1]]["eventType"]=${${"GLOBALS"}["gyrzsyurbpw"]}[7];}}}$this->jsonout(${$ccycvgsd});}public function findMarkets($arg='',$sportId=0){${"GLOBALS"}["mksshbm"]="sportId";${"GLOBALS"}["lzxizjx"]="data";${"GLOBALS"}["ywmqholmhgl"]="query";$fppjoyiy="rows";${"GLOBALS"}["wsbendg"]="query";if(${${"GLOBALS"}["mksshbm"]}==0)${${"GLOBALS"}["irmkybb"]}="SELECT DISTINCT {$this->ttbl}.tournamentName,{$this->ttbl}.tournamentId,{$this->stbl}.sportId,{$this->mtbl}.eventId FROM {$this->stbl},{$this->mtbl},{$this->ttbl} WHERE {$this->ttbl}.sportID = {$this->stbl}.sportID AND {$this->mtbl}.tournamentId = {$this->ttbl}.tournamentId AND wagerEnd > GetDate() AND status < 6 AND (marketName1 LIKE '%$arg%' OR marketName2 LIKE '%$arg%') ORDER BY {$this->ttbl}.tournamentName";else${${"GLOBALS"}["ywmqholmhgl"]}="SELECT DISTINCT {$this->ttbl}.tournamentName,{$this->ttbl}.tournamentId,{$this->stbl}.sportId,{$this->mtbl}.eventId FROM {$this->stbl},{$this->mtbl},{$this->ttbl} WHERE {$this->ttbl}.sportID = {$this->stbl}.sportID AND {$this->mtbl}.tournamentId = {$this->ttbl}.tournamentId AND wagerEnd > GetDate() AND status < 6 AND {$this->stbl}.sportid = $sportId AND (marketName1 LIKE '%$arg%' OR marketName2 LIKE '%$arg%') ORDER BY {$this->ttbl}.tournamentName";$etfnqbtqcq="data";${$fppjoyiy}=$this->db->GetAll(${${"GLOBALS"}["wsbendg"]});$nlmjtbmmyve="rows";${${"GLOBALS"}["kjddnakn"]}=array();foreach(${$nlmjtbmmyve} as${${"GLOBALS"}["gyrzsyurbpw"]}){$ptouehdn="row";${"GLOBALS"}["mgvtlkeqox"]="data";${${"GLOBALS"}["mgvtlkeqox"]}[${${"GLOBALS"}["gyrzsyurbpw"]}[2]][${$ptouehdn}[1]][]=${${"GLOBALS"}["gyrzsyurbpw"]}[3];}${${"GLOBALS"}["lzxizjx"]}=array("data"=>${$etfnqbtqcq});$this->jsonout(${${"GLOBALS"}["kjddnakn"]});}public function version(){${"GLOBALS"}["jejflo"]="data";$lomxqoyewztr="data";${${"GLOBALS"}["jejflo"]}=array("data"=>"3.0.0");$this->jsonout(${$lomxqoyewztr});}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["gi\x71qm\x72\x68r"]="m\x69\x64";${"\x47L\x4fB\x41L\x53"}["\x79\x64ax\x74d\x70"]="id\x73";${"\x47L\x4f\x42AL\x53"}["\x6b\x75n\x75\x75h\x64"]="p\x6f\x73";${"\x47L\x4f\x42A\x4cS"}["\x74nf\x67v\x76\x69o"]="qu\x65ry\x73";${"GLOB\x41\x4c\x53"}["\x6f\x66b\x75u\x78\x6c"]="\x6d\x70";${"\x47L\x4f\x42\x41\x4cS"}["\x62\x6ex\x63\x75zm\x62\x66"]="\x72o\x77\x73\x32";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x67\x71k\x74m\x73\x65\x6ef"]="\x73\x71\x6c";${"G\x4c\x4f\x42AL\x53"}["\x6b\x6a\x64d\x6e\x61\x6b\x6e"]="\x64a\x74\x61";${"\x47\x4c\x4fBA\x4c\x53"}["\x67\x79rz\x73y\x75r\x62p\x77"]="\x72\x6f\x77";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x63\x66\x66\x62\x79e\x69w\x75ce"]="\x69\x64";${"\x47L\x4f\x42A\x4c\x53"}["\x65lgk\x72\x79\x62i\x75\x77"]="\x72\x6fw\x73";${"\x47LO\x42\x41\x4c\x53"}["irm\x6by\x62\x62"]="\x71u\x65r\x79";${"G\x4c\x4f\x42\x41\x4cS"}["d\x63\x76\x72\x67s\x73"]="\x73\x70\x6fr\x74T\x61\x62\x6c\x65";require_once("ad\x6fd\x625/\x61\x64o\x64\x62.in\x63.\x70\x68\x70");class topodds{private$db;private$stbl;private$ttbl;private$mtbl;private$dsn;private function jsonout($rows){${"\x47\x4c\x4fBAL\x53"}["juts\x6ad\x6cl\x62c\x70"]="i\x6e\x70\x75\x74";$gfpemsvpxnh="\x72o\x77s";$struswbnvo="\x69\x6ep\x75t";${${"G\x4c\x4f\x42\x41\x4c\x53"}["ju\x74\x73\x6a\x64llbc\x70"]}=json_encode(${$gfpemsvpxnh});echo${$struswbnvo};}public function __construct($dbserver,$database,$dbusername,$dbpassword,$sportTable,$marketTable,$tournamentTable){${"GL\x4f\x42AL\x53"}["s\x65p\x66\x74\x64\x7a\x72u\x70"]="to\x75\x72na\x6dent\x54\x61\x62\x6c\x65";$this->db=&ADONewConnection("od\x62c\x5fmss\x71\x6c");$this->dsn="\x44ri\x76e\x72\x3d{\x53\x51L\x20Se\x72ver}\x3bSer\x76\x65\x72\x3d$dbserver;Dat\x61b\x61\x73\x65\x3d$database\x3b";$this->db->Connect($this->dsn,"$dbusername","$dbpassword");$this->stbl=${${"G\x4cO\x42\x41LS"}["d\x63\x76\x72\x67ss"]};${"\x47\x4c\x4fBA\x4c\x53"}["\x70\x73ro\x64sw\x67\x74\x6f"]="\x6da\x72\x6b\x65t\x54\x61b\x6ce";$this->ttbl=${${"GL\x4fB\x41L\x53"}["s\x65\x70\x66td\x7ar\x75p"]};$this->mtbl=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x73\x72o\x64\x73\x77\x67\x74\x6f"]};}public function fetchSports(){${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x72\x6dk\x79bb"]}="\x53\x45L\x45C\x54 \x44\x49\x53T\x49NC\x54 \x73port\x4ea\x6d\x65,{$this->stbl}.\x73\x70ortId\x20F\x52O\x4d\x20{$this->stbl},{$this->mtbl},{$this->ttbl}\x20WH\x45\x52\x45\x20{$this->ttbl}.\x73\x70\x6frt\x49D =\x20{$this->stbl}\x2esport\x49\x44\x20\x41\x4eD\x20{$this->mtbl}\x2eto\x75r\x6ea\x6de\x6et\x49\x64\x20= {$this->ttbl}.t\x6f\x75rnam\x65\x6e\x74I\x64\x20AND\x20\x77ag\x65\x72\x45\x6e\x64\x20> Ge\x74\x44\x61\x74e()\x20\x41\x4e\x44\x20\x73\x74atus \x3c\x206\x20ORDE\x52 BY s\x70o\x72\x74\x4eame";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x68bx\x72\x70\x6di\x6c\x68n"]="\x72\x6f\x77\x73";$txmbnlgllrv="\x71u\x65\x72y";$cyrccif="r\x6fw\x73";$this->db->debug=-99;$krkuzhv="\x72ow\x73";${${"\x47\x4cOBA\x4c\x53"}["\x65l\x67k\x72yb\x69u\x77"]}=$this->db->GetAll(${$txmbnlgllrv});${$cyrccif}=array("d\x61t\x61"=>${$krkuzhv});$this->jsonout(${${"\x47\x4c\x4f\x42A\x4c\x53"}["k\x68b\x78\x72\x70\x6dil\x68\x6e"]});}public function fetchTournaments($id){$fdopxi="\x71\x75er\x79";${"GLOBAL\x53"}["\x69\x68\x64\x79q\x77eb\x67a"]="i\x64";${"G\x4c\x4fB\x41\x4c\x53"}["\x72\x68\x6fm\x6cp\x65\x78y"]="\x72\x6fw\x73";${"\x47L\x4fB\x41L\x53"}["u\x6c\x74j\x61v\x6c"]="\x64\x61t\x61";if(strpos(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69h\x64\x79qwe\x62\x67\x61"]},"|")!==false){${"\x47L\x4f\x42AL\x53"}["\x64\x73\x78x\x6ez\x70\x69t\x66"]="id";${${"G\x4c\x4f\x42AL\x53"}["\x64\x73\x78\x78\x6ez\x70\x69\x74\x66"]}=str_replace("|",",",${${"GL\x4f\x42\x41\x4c\x53"}["\x64c\x66f\x62\x79e\x69\x77u\x63\x65"]});}${$fdopxi}="\x53EL\x45\x43\x54 \x44IST\x49\x4eC\x54 {$this->ttbl}.\x74ou\x72\x6ea\x6d\x65\x6e\x74N\x61\x6de,{$this->ttbl}\x2etou\x72n\x61me\x6et\x49d,{$this->stbl}.s\x70o\x72\x74\x49\x64,\x20{$this->stbl}.\x73\x70o\x72\x74N\x61m\x65 \x46\x52OM {$this->stbl},{$this->mtbl},{$this->ttbl} WH\x45RE {$this->ttbl}.sp\x6f\x72tID = {$this->stbl}\x2e\x73portI\x44\x20AND {$this->mtbl}.tou\x72n\x61\x6den\x74I\x64 = {$this->ttbl}\x2et\x6f\x75\x72na\x6den\x74I\x64 AND\x20wag\x65r\x45nd\x20>\x20Ge\x74Da\x74e()\x20\x41\x4eD\x20\x73ta\x74us < \x36\x20\x41\x4eD {$this->stbl}.sp\x6f\x72\x74\x69d\x20I\x4e ($id)\x20\x4f\x52\x44E\x52\x20BY {$this->stbl}.\x73\x70\x6f\x72tId,{$this->ttbl}.\x74\x6f\x75r\x6e\x61m\x65\x6etN\x61m\x65";${${"GLOBAL\x53"}["elg\x6b\x72\x79bi\x75\x77"]}=$this->db->GetAll(${${"\x47\x4cOB\x41\x4c\x53"}["\x69r\x6d\x6b\x79\x62\x62"]});${${"\x47\x4cO\x42\x41\x4c\x53"}["\x75ltj\x61\x76l"]}=array();foreach(${${"\x47L\x4fBA\x4c\x53"}["r\x68o\x6d\x6c\x70\x65\x78\x79"]} as${${"\x47\x4cO\x42\x41L\x53"}["g\x79\x72\x7a\x73\x79\x75\x72\x62p\x77"]}){$wdhiegzhbmsm="\x72\x6f\x77";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6b\x6a\x64d\x6e\x61\x6bn"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x79\x72\x7asy\x75\x72b\x70w"]}[2]]["\x64\x61ta"][]=array(${${"\x47\x4c\x4f\x42AL\x53"}["\x67\x79rzsy\x75\x72\x62\x70w"]}[1],${${"GL\x4f\x42\x41\x4c\x53"}["\x67\x79r\x7as\x79u\x72b\x70w"]}[0],);$wknogryatyhg="\x72ow";${${"\x47\x4c\x4fB\x41L\x53"}["\x6b\x6a\x64\x64\x6e\x61\x6b\x6e"]}[${$wdhiegzhbmsm}[2]]["\x73\x70or\x74\x4ea\x6d\x65"]=${$wknogryatyhg}[3];}$this->jsonout(${${"\x47\x4cO\x42\x41LS"}["k\x6add\x6e\x61\x6bn"]});}function fetchEvents($id){${"\x47LO\x42A\x4c\x53"}["\x63\x75qj\x6axx"]="que\x72\x79";if(strpos(${${"\x47L\x4f\x42\x41\x4cS"}["\x64cff\x62\x79\x65\x69\x77\x75\x63e"]},"|")!==false){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x73o\x6c\x6eri\x73"]="\x69d";${"G\x4c\x4fB\x41L\x53"}["\x75\x64\x6ad\x73t\x68t\x79"]="\x69\x64";${${"\x47\x4cO\x42\x41L\x53"}["udj\x64\x73\x74h\x74\x79"]}=str_replace("|",",",${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69s\x6f\x6c\x6e\x72\x69s"]});}$jumsknygmko="r\x6fws";$mllqqxb="\x64\x61\x74\x61";$rxsvri="d\x61t\x61";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69\x72\x6dk\x79\x62\x62"]}="S\x45LE\x43\x54\x20\x44\x49\x53\x54INCT {$this->ttbl}.to\x75\x72n\x61m\x65n\x74\x49d,e\x76e\x6e\x74Name,\x65\x76en\x74N\x75\x6d\x62\x65r,ev\x65\x6e\x74\x49\x64,eve\x6e\x74S\x74a\x74\x75s,\x62\x65\x74T\x79\x70e,\x65ve\x6et\x44\x61t\x65 FR\x4fM {$this->stbl},{$this->mtbl},{$this->ttbl} \x57\x48ERE\x20{$this->ttbl}.\x73\x70o\x72\x74ID\x20= {$this->stbl}.sportID\x20\x41\x4eD\x20{$this->mtbl}.\x74o\x75\x72na\x6d\x65\x6etId = {$this->ttbl}\x2e\x74ou\x72nam\x65\x6e\x74\x49\x64\x20\x41\x4e\x44 wager\x45n\x64\x20>\x20G\x65\x74D\x61t\x65() \x41N\x44\x20s\x74at\x75\x73 \x3c \x36 \x41N\x44\x20{$this->ttbl}\x2e\x74o\x75\x72\x6e\x61\x6d\x65n\x74\x49d IN ($id)\x20O\x52\x44E\x52 BY {$this->ttbl}\x2e\x74\x6fu\x72\x6eame\x6e\x74\x49\x64,\x20Ev\x65\x6etN\x61m\x65";${${"\x47L\x4f\x42A\x4cS"}["e\x6c\x67\x6br\x79b\x69\x75w"]}=$this->db->GetAll(${${"\x47\x4cOB\x41\x4c\x53"}["\x63\x75\x71\x6a\x6ax\x78"]});${$mllqqxb}=array();foreach(${$jumsknygmko} as${${"G\x4cO\x42\x41\x4cS"}["\x67y\x72\x7as\x79\x75r\x62\x70w"]}){$fndbunnj="\x72o\x77";${"GLO\x42AL\x53"}["\x67\x68y\x77yn\x71d\x69"]="ro\x77";${"\x47\x4cOBA\x4cS"}["\x77\x70\x73\x69\x64\x74\x6d\x75\x66"]="d\x61\x74\x61";$oqtapgleaad="\x72\x6fw";if(${${"\x47L\x4fBA\x4cS"}["\x67h\x79\x77y\x6eq\x64\x69"]}[5]==1){$qzhldpsi="\x72\x6fw\x73\x32";$wqabgtlhsx="\x73\x71l";${${"\x47L\x4f\x42\x41L\x53"}["k\x67qk\x74m\x73\x65\x6ef"]}="\x53ELEC\x54 \x6dark\x65\x74\x49d, ma\x72\x6b\x65\x74\x4e\x61\x6d\x65\x31,m\x61\x72\x6betNa\x6d\x65\x32,\x68\x6fme\x50\x72\x69\x63e,\x64\x72a\x77\x50\x72\x69ce,a\x77\x61\x79P\x72ic\x65\x20\x46\x52\x4fM ma\x72\x6be\x74\x20\x57H\x45\x52\x45 event\x49d\x20= {$row[3]}";${${"G\x4c\x4f\x42\x41\x4cS"}["\x62\x6e\x78c\x75z\x6db\x66"]}=$this->db->GetAll(${$wqabgtlhsx});foreach(${$qzhldpsi} as${${"G\x4c\x4f\x42A\x4c\x53"}["o\x66\x62\x75\x75\x78\x6c"]}){$scwyxwiblb="r\x6f\x77";$uczhzcklef="\x6dp";${${"\x47\x4c\x4fB\x41\x4c\x53"}["kj\x64d\x6e\x61\x6b\x6e"]}[${${"\x47\x4cO\x42\x41\x4cS"}["\x67\x79\x72zsy\x75\x72\x62\x70\x77"]}[0]][]=array(htmlentities(${$scwyxwiblb}[1])." :\x20".htmlentities(${$uczhzcklef}[1])."\x20VS ".htmlentities(${${"G\x4cOBA\x4c\x53"}["o\x66\x62\x75\x75\x78\x6c"]}[2]),${${"\x47\x4c\x4fB\x41L\x53"}["\x67\x79\x72\x7asy\x75\x72\x62\x70\x77"]}[2],"$row[3].$mp[0]",${${"GLOB\x41\x4c\x53"}["\x67\x79\x72\x7as\x79\x75rb\x70\x77"]}[4],${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x79rz\x73\x79u\x72\x62p\x77"]}[5],${${"G\x4c\x4f\x42A\x4c\x53"}["gyrz\x73y\x75\x72bp\x77"]}[6]);}}else${${"GL\x4fBA\x4c\x53"}["\x77p\x73id\x74\x6d\x75f"]}[${$oqtapgleaad}[0]][]=array(${${"\x47\x4c\x4fB\x41LS"}["\x67\x79\x72\x7a\x73yu\x72\x62\x70\x77"]}[1],${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x79r\x7a\x73\x79ur\x62\x70\x77"]}[2],${${"\x47LO\x42AL\x53"}["\x67\x79r\x7a\x73\x79u\x72\x62\x70\x77"]}[3],${${"\x47\x4cO\x42\x41\x4c\x53"}["\x67\x79rz\x73\x79\x75\x72\x62\x70w"]}[4],${${"\x47L\x4fBA\x4c\x53"}["\x67yrz\x73\x79\x75\x72\x62\x70w"]}[5],${$fndbunnj}[6]);}$this->jsonout(${$rxsvri});}public function fetchMarkets($id){$qldvjvy="p\x6f\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["s\x64\x68tp\x71r"]="\x64a\x74a";$cqwpjmbc="\x69\x64";if(strpos(${$cqwpjmbc},"|")!==false){$iqpcrrgp="\x69\x64";${${"G\x4c\x4fBALS"}["\x64\x63\x66\x66b\x79\x65\x69\x77uc\x65"]}=str_replace("|",",",${$iqpcrrgp});}$ccycvgsd="\x64\x61ta";$ujinohgjq="qu\x65\x72ys";${$qldvjvy}=strpos(${${"\x47\x4c\x4f\x42AL\x53"}["\x64\x63\x66\x66\x62\x79\x65\x69\x77u\x63\x65"]},".");${${"\x47\x4c\x4fBA\x4cS"}["\x73dhtpq\x72"]}=array();${${"GLO\x42\x41\x4c\x53"}["\x74\x6e\x66g\x76\x76\x69o"]}=array();if(${${"\x47LOB\x41\x4c\x53"}["\x6b\x75\x6euu\x68d"]}===false){${${"G\x4cO\x42A\x4cS"}["\x74n\x66\x67\x76\x76io"]}[]="\x53E\x4cE\x43\x54 \x20ev\x65n\x74\x49\x64,\x6d\x61r\x6b\x65\x74I\x64,ma\x72\x6bet\x4eame1,\x73\x74\x61t\x75s,ev\x65nt\x53\x74a\x74\x75s,\x63u\x72r\x65nt\x50\x72i\x63e,CONVER\x54(\x43\x48A\x52(\x32\x30),d\x69spl\x61\x79E\x6ed,\x32\x30)\x20\x41\x53\x20d\x69\x73\x70lay\x45nd\x32,b\x65\x74Typ\x65,\x6d\x61\x72k\x65tN\x61me\x32,homeP\x72\x69\x63\x65,d\x72\x61wP\x72i\x63e,aw\x61y\x50\x72i\x63e\x20\x46\x52OM \x73\x70ort,ma\x72k\x65t,\x74\x6fu\x72na\x6de\x6et \x20W\x48E\x52\x45\x20\x6da\x72ket\x2eev\x65n\x74S\x74\x61\x74us\x20\x3c \x36 A\x4eD \x74o\x75\x72\x6ea\x6dent\x2esport\x49\x44 \x3d\x20\x73port.s\x70\x6f\x72t\x49\x44 \x41ND \x6darket.\x74ourna\x6d\x65\x6e\x74Id\x20=\x20t\x6fu\x72n\x61m\x65n\x74\x2etournam\x65\x6etI\x64\x20\x41\x4e\x44\x20eve\x6et\x49\x64 \x49N ($id) \x4fRDE\x52 \x42Y \x6d\x61r\x6bet\x49\x64";}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x67\x65\x72\x6e\x6b\x63"]="\x69d";$tfuoicvrk="\x69\x64";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x64axt\x64p"]}=explode(",",${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73g\x65r\x6e\x6bc"]});foreach(${${"\x47\x4cOB\x41LS"}["\x79\x64\x61xt\x64\x70"]} as${$tfuoicvrk}){${"G\x4c\x4fB\x41LS"}["\x73\x78\x68\x6b\x76v\x69\x66"]="i\x64";$cwwlxfdmm="po\x73";${$cwwlxfdmm}=strpos(${${"\x47L\x4f\x42\x41\x4cS"}["\x73\x78\x68kv\x76\x69\x66"]},".");if(${${"\x47L\x4f\x42\x41L\x53"}["\x6b\x75n\x75u\x68\x64"]}===false){${"\x47\x4c\x4f\x42\x41L\x53"}["\x72go\x6bi\x77t\x6d\x64"]="\x71\x75\x65\x72\x79s";${${"\x47L\x4f\x42A\x4c\x53"}["r\x67oki\x77\x74m\x64"]}[]="\x53\x45L\x45\x43T\x20e\x76\x65n\x74\x49d,\x6da\x72\x6b\x65\x74\x49\x64,m\x61r\x6b\x65\x74Na\x6d\x651,\x73ta\x74\x75s,ev\x65\x6e\x74\x53t\x61\x74u\x73,c\x75\x72r\x65\x6e\x74\x50ri\x63\x65,CO\x4e\x56ER\x54(CHA\x52(20),di\x73pla\x79\x45nd,20)\x20\x41S dis\x70\x6cayE\x6ed2,b\x65\x74Ty\x70\x65,\x6d\x61\x72ke\x74\x4eam\x65\x32,\x68\x6f\x6d\x65P\x72\x69ce,\x64r\x61w\x50ri\x63e,a\x77\x61y\x50\x72i\x63\x65 F\x52OM \x73p\x6f\x72t,\x6da\x72\x6be\x74,tour\x6eame\x6et\x20 WH\x45R\x45\x20ma\x72ke\x74\x2e\x65\x76e\x6e\x74St\x61\x74us\x20< \x36 \x41N\x44\x20\x74\x6f\x75\x72nam\x65\x6et.sp\x6f\x72tI\x44 = \x73\x70\x6f\x72\x74\x2esp\x6frt\x49D AND m\x61\x72k\x65t\x2eto\x75r\x6e\x61m\x65nt\x49\x64\x20\x3d\x20\x74ourna\x6de\x6e\x74.tou\x72\x6ea\x6d\x65\x6etI\x64\x20AN\x44\x20\x65\x76e\x6et\x49\x64\x20= ($id)\x20ORD\x45R \x42Y m\x61r\x6be\x74Id";}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7af\x77r\x69\x75\x7a\x65"]="\x69\x64";${${"\x47\x4c\x4fBA\x4cS"}["g\x69\x71\x71m\x72\x68\x72"]}=explode(".",${${"\x47\x4c\x4fB\x41L\x53"}["\x7a\x66\x77ri\x75\x7a\x65"]});${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74\x6ef\x67\x76\x76\x69\x6f"]}[]="S\x45\x4c\x45\x43\x54\x20eventI\x64,\x6d\x61r\x6betI\x64,\x6darke\x74Na\x6d\x65\x31,\x73\x74\x61\x74\x75\x73,\x65v\x65ntS\x74\x61\x74\x75\x73,\x63urre\x6et\x50\x72\x69c\x65,\x43ON\x56ERT(C\x48A\x52(\x320),d\x69\x73\x70l\x61yE\x6e\x64,2\x30)\x20A\x53 d\x69\x73\x70l\x61y\x45n\x642,b\x65tT\x79p\x65,ma\x72\x6be\x74\x4ea\x6de\x32,\x68\x6fm\x65Pric\x65,\x64\x72a\x77Pri\x63e,a\x77\x61\x79\x50r\x69c\x65 \x20FROM\x20s\x70o\x72t,m\x61\x72\x6be\x74,tou\x72name\x6et W\x48ER\x45 \x6da\x72k\x65\x74.\x65\x76\x65\x6et\x53ta\x74\x75s \x3c \x36 \x41N\x44 \x74\x6f\x75r\x6eame\x6e\x74\x2e\x73\x70ort\x49\x44 \x3d\x20\x73p\x6f\x72t.\x73\x70or\x74\x49\x44\x20\x41\x4e\x44 marke\x74\x2e\x74o\x75rname\x6e\x74\x49\x64\x20\x3d\x20\x74\x6f\x75r\x6e\x61m\x65n\x74.\x74o\x75\x72namentI\x64 AND\x20e\x76\x65ntI\x64\x20\x3d $mid[0]\x20A\x4eD\x20\x6da\x72\x6be\x74.m\x61\x72ke\x74\x49d\x20\x3d\x20$mid[1] O\x52D\x45R \x42\x59 \x6da\x72k\x65t\x49d";}}}foreach(${$ujinohgjq} as${${"\x47L\x4fB\x41\x4c\x53"}["\x69\x72\x6dky\x62\x62"]}){$zndkqxzdb="\x72o\x77s";$ogywajzbssh="\x72o\x77\x73";$this->db->debug=-099;${"\x47\x4cOB\x41\x4c\x53"}["\x69\x69\x7a\x75\x66\x77q"]="\x72o\x77";$pykfcht="q\x75\x65\x72y";${$zndkqxzdb}=$this->db->GetAll(${$pykfcht});foreach(${$ogywajzbssh} as${${"\x47\x4cO\x42ALS"}["\x69\x69z\x75\x66\x77\x71"]}){${"G\x4cOBA\x4c\x53"}["\x6cga\x66oj\x6ey\x6dp\x68s"]="\x72\x6f\x77";if(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6cg\x61\x66ojnym\x70\x68s"]}[7]<>1){${"G\x4c\x4f\x42\x41L\x53"}["k\x78\x69\x78jw\x65\x73"]="\x72\x6f\x77";${"GL\x4fB\x41\x4cS"}["n\x63\x79j\x78\x68\x74tj\x74"]="r\x6f\x77";$lrbuhgh="r\x6fw";$yvhgylum="ro\x77";${"GLO\x42\x41\x4cS"}["q\x65\x79\x62\x6ber"]="ro\x77";$tfroelqn="\x72\x6fw";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bj\x64\x64\x6e\x61kn"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x63y\x6a\x78h\x74\x74\x6a\x74"]}[0]]["d\x61\x74\x61"][]=array(${${"\x47\x4cOBA\x4cS"}["\x67\x79r\x7a\x73yurbpw"]}[1],${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x65\x79bke\x72"]}[2],${$lrbuhgh}[5],${${"\x47\x4c\x4f\x42A\x4c\x53"}["g\x79\x72z\x73\x79\x75\x72\x62\x70w"]}[3]);${${"G\x4c\x4f\x42\x41L\x53"}["\x6bj\x64\x64\x6e\x61\x6b\x6e"]}[${${"\x47\x4c\x4fBA\x4c\x53"}["\x6b\x78\x69\x78\x6a\x77\x65\x73"]}[0]]["e\x76ent\x53t\x61t\x75\x73"]=${${"\x47L\x4f\x42A\x4c\x53"}["\x67\x79r\x7a\x73\x79\x75\x72b\x70\x77"]}[4];${${"\x47\x4cOBAL\x53"}["kjd\x64\x6eak\x6e"]}[${$tfroelqn}[0]]["\x65ventDat\x65"]=strtotime(${${"G\x4c\x4f\x42\x41L\x53"}["\x67yrzs\x79u\x72b\x70\x77"]}[6]);${${"G\x4c\x4fBAL\x53"}["kjd\x64\x6ea\x6b\x6e"]}[${${"\x47\x4c\x4fBALS"}["\x67\x79\x72zs\x79u\x72\x62pw"]}[0]]["eve\x6e\x74\x54\x79p\x65"]=${$yvhgylum}[7];}else{${"G\x4c\x4f\x42AL\x53"}["\x77l\x6a\x66\x63\x6drim"]="\x72\x6fw";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76h\x70\x6b\x64\x63l\x78"]="\x72o\x77";$rbbwgjdeughv="\x72\x6f\x77";${"GL\x4f\x42A\x4cS"}["d\x74\x73\x66\x67w\x68\x75\x78\x67"]="ro\x77";${"G\x4c\x4f\x42A\x4cS"}["xx\x63\x6cirue\x70\x78x"]="\x64\x61\x74a";$peboqvkyqe="\x64\x61\x74\x61";$rvqqerndjypd="\x72\x6fw";${"\x47\x4cOB\x41\x4cS"}["\x6e\x74o\x6cow\x65\x68q\x6e"]="r\x6f\x77";$qlqnplvcmi="\x64\x61\x74\x61";$rngfsxrykgl="\x72\x6f\x77";$mmpoggo="\x72\x6f\x77";$hfkghoweahd="r\x6f\x77";${$peboqvkyqe}[${${"\x47\x4c\x4fBA\x4c\x53"}["\x67\x79\x72\x7a\x73y\x75\x72b\x70w"]}[0]."\x2e".${${"\x47LOB\x41L\x53"}["g\x79\x72\x7a\x73\x79\x75\x72\x62\x70\x77"]}[1]]["\x64\x61ta"][]=array(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x74\x73\x66\x67\x77\x68ux\x67"]}[1],${${"\x47\x4cO\x42\x41L\x53"}["\x67y\x72\x7a\x73\x79\x75\x72\x62\x70w"]}[2],${$hfkghoweahd}[8],${$rvqqerndjypd}[9],${${"\x47L\x4fB\x41LS"}["\x67\x79\x72z\x73\x79\x75\x72\x62\x70\x77"]}[10],${${"\x47LO\x42\x41\x4c\x53"}["\x6e\x74o\x6c\x6f\x77\x65\x68\x71\x6e"]}[11],${${"G\x4cOBA\x4cS"}["gyr\x7a\x73\x79u\x72\x62p\x77"]}[3]);$ztfsoxsfd="\x64\x61\x74\x61";${$qlqnplvcmi}[${$rbbwgjdeughv}[0]."\x2e".${${"\x47\x4cOB\x41\x4c\x53"}["\x67\x79\x72z\x73y\x75\x72b\x70\x77"]}[1]]["even\x74\x53ta\x74u\x73"]=${$mmpoggo}[4];${$ztfsoxsfd}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6c\x6a\x66c\x6d\x72\x69m"]}[0]."\x2e".${${"GL\x4fBAL\x53"}["g\x79r\x7asyur\x62\x70\x77"]}[1]]["\x65ven\x74\x44\x61t\x65"]=strtotime(${${"\x47\x4cO\x42ALS"}["g\x79rzsy\x75\x72b\x70w"]}[6]);${${"G\x4c\x4f\x42\x41LS"}["\x78\x78\x63\x6c\x69\x72u\x65\x70x\x78"]}[${$rngfsxrykgl}[0].".".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x68\x70\x6bd\x63\x6c\x78"]}[1]]["e\x76\x65n\x74\x54\x79\x70e"]=${${"\x47LO\x42\x41\x4c\x53"}["\x67\x79r\x7a\x73\x79u\x72\x62p\x77"]}[7];}}}$this->jsonout(${$ccycvgsd});}public function findMarkets($arg='',$sportId=0){${"G\x4c\x4fB\x41LS"}["m\x6b\x73\x73\x68bm"]="\x73p\x6f\x72\x74\x49\x64";${"\x47\x4cO\x42AL\x53"}["\x6c\x7a\x78\x69\x7a\x6ax"]="\x64\x61\x74\x61";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x77m\x71\x68o\x6c\x6d\x68g\x6c"]="\x71\x75ery";$fppjoyiy="\x72\x6fws";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x73\x62\x65\x6e\x64\x67"]="\x71\x75\x65r\x79";if(${${"G\x4cO\x42\x41L\x53"}["mk\x73\x73\x68b\x6d"]}==0)${${"\x47L\x4f\x42\x41L\x53"}["i\x72\x6d\x6b\x79\x62b"]}="SE\x4c\x45\x43\x54 D\x49\x53\x54IN\x43T {$this->ttbl}.\x74o\x75\x72name\x6e\x74\x4ea\x6d\x65,{$this->ttbl}\x2etou\x72\x6ea\x6d\x65ntId,{$this->stbl}\x2e\x73p\x6frt\x49d,{$this->mtbl}\x2e\x65\x76\x65ntI\x64 \x46\x52OM\x20{$this->stbl},{$this->mtbl},{$this->ttbl} \x57H\x45\x52\x45\x20{$this->ttbl}\x2e\x73portID\x20\x3d {$this->stbl}\x2e\x73\x70ort\x49\x44\x20\x41\x4eD {$this->mtbl}\x2e\x74o\x75\x72na\x6dent\x49d =\x20{$this->ttbl}.t\x6furn\x61\x6d\x65n\x74\x49\x64\x20AND w\x61\x67\x65rE\x6e\x64\x20\x3e \x47et\x44a\x74\x65()\x20A\x4eD\x20sta\x74us \x3c\x20\x36 AN\x44\x20(\x6d\x61r\x6be\x74Name\x31\x20LIK\x45\x20'\x25$arg\x25\x27 O\x52 m\x61r\x6be\x74\x4e\x61\x6d\x652\x20LIK\x45\x20\x27%$arg%')\x20\x4fR\x44\x45\x52\x20\x42\x59\x20{$this->ttbl}\x2e\x74our\x6eam\x65\x6et\x4eame";else${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79w\x6d\x71h\x6f\x6cmhgl"]}="\x53EL\x45CT DIST\x49NC\x54\x20{$this->ttbl}.\x74\x6fu\x72\x6ea\x6den\x74\x4e\x61\x6de,{$this->ttbl}\x2e\x74\x6f\x75\x72na\x6dentI\x64,{$this->stbl}.spo\x72\x74\x49d,{$this->mtbl}.ev\x65\x6etId\x20\x46\x52O\x4d {$this->stbl},{$this->mtbl},{$this->ttbl} \x57\x48\x45R\x45 {$this->ttbl}\x2e\x73p\x6f\x72tID\x20\x3d {$this->stbl}\x2esp\x6fr\x74\x49D\x20\x41\x4eD\x20{$this->mtbl}\x2etour\x6eame\x6etI\x64 =\x20{$this->ttbl}.\x74ournam\x65\x6et\x49\x64\x20\x41N\x44 \x77ag\x65\x72\x45nd > GetD\x61t\x65()\x20A\x4e\x44\x20\x73\x74a\x74u\x73 < 6 \x41N\x44\x20{$this->stbl}\x2esp\x6f\x72\x74i\x64\x20= $sportId\x20A\x4e\x44 (\x6d\x61\x72k\x65\x74Name1\x20\x4cIKE\x20\x27%$arg\x25\x27\x20OR\x20m\x61rket\x4ea\x6de2 LIKE\x20\x27%$arg\x25') \x4f\x52\x44E\x52\x20\x42Y\x20{$this->ttbl}.t\x6fu\x72n\x61\x6de\x6e\x74\x4e\x61m\x65";$etfnqbtqcq="\x64a\x74a";${$fppjoyiy}=$this->db->GetAll(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x73\x62\x65\x6e\x64g"]});$nlmjtbmmyve="ro\x77s";${${"\x47LOB\x41\x4c\x53"}["k\x6a\x64d\x6e\x61kn"]}=array();foreach(${$nlmjtbmmyve} as${${"\x47LO\x42AL\x53"}["g\x79\x72\x7a\x73\x79\x75\x72\x62\x70w"]}){$ptouehdn="\x72\x6f\x77";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6dg\x76t\x6ck\x65\x71ox"]="d\x61\x74a";${${"G\x4cOB\x41\x4c\x53"}["\x6dg\x76\x74\x6c\x6b\x65\x71ox"]}[${${"\x47L\x4f\x42A\x4cS"}["g\x79\x72\x7asy\x75\x72\x62\x70\x77"]}[2]][${$ptouehdn}[1]][]=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67y\x72\x7a\x73y\x75\x72bp\x77"]}[3];}${${"G\x4cO\x42AL\x53"}["\x6c\x7a\x78\x69\x7a\x6ax"]}=array("data"=>${$etfnqbtqcq});$this->jsonout(${${"\x47\x4cOB\x41\x4cS"}["\x6b\x6a\x64\x64\x6e\x61\x6bn"]});}public function version(){${"G\x4cO\x42\x41\x4cS"}["\x6a\x65\x6a\x66lo"]="\x64a\x74\x61";$lomxqoyewztr="da\x74a";${${"\x47\x4c\x4f\x42ALS"}["\x6a\x65j\x66\x6c\x6f"]}=array("dat\x61"=>"3.0\x2e\x30");$this->jsonout(${$lomxqoyewztr});}}
?>

Function Calls

None

Variables

None

Stats

MD5 704615289eeac38926644943fd33d7e8
Eval Count 0
Decode Time 172 ms