<?php ${"GL\x4f\x42A\x4c\x53"}["\x68\x65\x68f\x68\x72"]="j\x73on";${"\x47\x4cO\x42\x41\x4c\x53"}["\x66xe\x6b\x72\x79\x66t\x6d"]="t\x69\x74\x6ce";${"\x47L\x4f\x42\x41L\x53"}["\x78\x6a\x62mr\x62"]="\x70\x61\x72\x61\x6d\x73";${"G\x4c\x4f\x42\x41\x4cS"}["\x74\x75\x70\x6a\x6c\x6e\x61\x79"]="\x63o\x6et\x65\x6et";if(!class_exists("B\x69tl\x79He\x6cp\x65r")){class BitlyHelper{private$curl_heper;private$token;public$error;public$post_data;public function __construct($token){$enmrwuii="\x74ok\x65\x6e";$this->token=${$enmrwuii};require dirname(__FILE__)."/.\x2e/\x43u\x72lH\x65l\x70e\x72.p\x68\x70";$this->curl_helper=new CurlHelper();}public function createPost($title,$content,$url){$hcpzflnmi="p\x61r\x61\x6d\x73";$qczhlqx="\x63on\x74e\x6e\x74";$bciwwuqsce="u\x72l";require dirname(__FILE__)."/.\x2e/Ut\x69ls.p\x68p";${${"G\x4cO\x42AL\x53"}["\x74up\x6a\x6cna\x79"]}=getExcerpt(${${"\x47L\x4fB\x41LS"}["\x74\x75pj\x6c\x6e\x61\x79"]},2000);${${"\x47L\x4fB\x41L\x53"}["xj\x62\x6d\x72\x62"]}="\x61\x63\x63es\x73_to\x6b\x65\x6e\x3d".urlencode($this->token);$hhdnssjvrnv="\x70a\x72\x61\x6ds";$vcungvdt="p\x61\x72ams";${$vcungvdt}.="\x26\x6co\x6e\x67U\x72l=".urlencode(${$bciwwuqsce});${$hcpzflnmi}.="&tit\x6c\x65\x3d".urlencode(${${"\x47L\x4fB\x41LS"}["f\x78\x65\x6b\x72\x79\x66\x74\x6d"]});${$hhdnssjvrnv}.="&\x6e\x6f\x74e=".urlencode(${$qczhlqx});${${"\x47\x4c\x4fB\x41L\x53"}["x\x6a\x62\x6d\x72\x62"]}.="\x26priva\x74\x65=fa\x6cse";$this->curl_helper->url="\x68t\x74\x70\x73://api-ssl\x2e\x62\x69\x74\x6cy.c\x6f\x6d/\x76\x33/\x75\x73\x65\x72/\x6c\x69\x6ek\x5f\x73\x61\x76\x65?".${${"\x47L\x4f\x42\x41LS"}["\x78\x6a\x62\x6dr\x62"]};$this->curl_helper->loadPage();if($this->curl_helper->http_code="\x320\x30"){${${"GLO\x42ALS"}["\x68\x65h\x66\x68r"]}=json_decode($this->curl_helper->content_body);if($json->status_code=="\x32\x30\x30"){$this->post_data=new stdClass();$this->post_data->id="";$this->post_data->url=$json->data->link_save->link;$this->post_data->message="\x50o\x73\x74 \x68as\x20\x62\x65\x65n sen\x74 su\x63c\x65s\x73\x66u\x6cly\x2e UR\x4c: ".$this->post_data->url;$this->error=false;return true;}else{$this->error=new stdClass();$this->error->code=$json->status_code;$this->error->message="\x50\x6fst \x66a\x69\x6ce\x64\x20(wr\x6fng sta\x74\x75\x73\x20cod\x65).\x20\x73\x74\x61\x74\x75\x73-cod\x65:\x20".$this->error->code." st\x61tus-\x74\x65\x78\x74: ".$json->status_txt;}}else{$this->error=new stdClass();$this->error->code=$this->curl_helper->http_code;$this->error->message="Po\x73\x74 \x66\x61il\x65d (\x77\x72\x6fn\x67\x20HT\x54\x50-COD\x45)\x2e\x20H\x54\x54\x50-\x43O\x44E:\x20".$this->error->code;}return false;}}}
?>