<?php ${"\x47L\x4f\x42\x41\x4cS"}["\x68\x72l\x79\x78\x78\x65\x69v\x70"]="co\x6c\x6c\x61t\x65";${"\x47\x4c\x4f\x42A\x4cS"}["h\x6cq\x6e\x6cs\x67"]="\x69\x64";if(!class_exists("S\x6f\x63\x69alAc\x63ou\x6e\x74\x73\x4c\x6f\x67")){class SocialAccountsLog{public$id;public$accountid;public$postid;public$time;public$displaytime;public$status;public$post_url;public$message;public$second_tire_id;const table_name="\x6dax\x76\x5f\x73oc\x69\x61l\x5fa\x63co\x75n\x74s\x5fl\x6fg";public function load($id){global$wpdb;${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x6ft\x6aif\x63h\x77\x6b"]="\x64\x61t\x61";${"\x47LO\x42\x41LS"}["\x70\x68\x70\x6d\x6b\x66\x63c\x61"]="\x64\x61\x74a";SocialAccountsLog::changeNecessaryTables();${${"GL\x4f\x42\x41L\x53"}["\x70\x68p\x6d\x6b\x66\x63\x63a"]}=$wpdb->get_row("S\x45LE\x43T *\x20\x46\x52O\x4d ".$wpdb->prefix.SocialAccountsLog::table_name."\x20W\x48E\x52E\x20\x69d \x3d\x20".${${"G\x4c\x4f\x42\x41\x4c\x53"}["hl\x71nl\x73g"]});if(${${"\x47\x4c\x4fBA\x4cS"}["rot\x6a\x69\x66\x63\x68\x77\x6b"]}){$this->id=$data->id;$this->accountid=$data->accountid;$this->postid=$data->postid;$this->time=$data->time;$this->status=$data->status;$this->post_url=$data->post_url;$this->message=$data->message;$this->displaytime=$data->displaytime;$this->second_tire_id=$data->second_tire_id;return 1;}else{return 0;}}public function save(){global$wpdb;SocialAccountsLog::changeNecessaryTables();if($this->id){}else{$this->displaytime=date("\x59-m-\x64\x20\x48:i:\x73",$this->time);if($wpdb->insert($wpdb->prefix.SocialAccountsLog::table_name,array("\x70o\x73\x74id"=>$this->postid,"\x61\x63co\x75\x6e\x74id"=>$this->accountid,"\x74\x69\x6de"=>$this->time,"displaytime"=>$this->displaytime,"\x73\x74\x61\x74\x75\x73"=>$this->status,"p\x6f\x73\x74_\x75\x72l"=>$this->post_url,"m\x65\x73sage"=>$this->message,"sec\x6fnd_\x74\x69re_\x69d"=>$this->second_tire_id),array("%\x73","%\x73","\x25s","\x25\x73","\x25\x73","\x25\x73","\x25s","%\x73")))$this->id=$wpdb->insert_id;}}public static function delete($id){${"G\x4cO\x42\x41\x4c\x53"}["\x61\x6a\x79\x75\x69m\x6c\x6e\x6f"]="\x69\x64";global$wpdb;if(${${"GLOB\x41\x4c\x53"}["a\x6a\x79u\x69\x6dlno"]}){return$wpdb->query("\x64e\x6c\x65t\x65 fr\x6f\x6d\x20".$wpdb->prefix.SocialAccountsLog::table_name."\x20wher\x65\x20id\x3d\x27$id'");}return false;}public static function delete_status($status){global$wpdb;return$wpdb->query("\x64\x65l\x65t\x65 fr\x6f\x6d ".$wpdb->prefix.SocialAccountsLog::table_name." \x77\x68e\x72\x65 \x73\x74\x61\x74us\x3d'$status'");}public static function delete_account_logs($accountId){global$wpdb;return$wpdb->query("d\x65l\x65t\x65\x20f\x72\x6f\x6d ".$wpdb->prefix.SocialAccountsLog::table_name." w\x68ere\x20\x61\x63count\x69\x64\x3d'{$accountId}\x27");}public static function createTables(){global$wpdb;require_once(dirname(__FILE__)."/\x2e\x2e/.\x2e/../\x2e\x2e/wp-a\x64m\x69\x6e/in\x63l\x75\x64\x65\x73/u\x70\x67r\x61de\x2e\x70h\x70");${"\x47L\x4fBA\x4c\x53"}["\x78\x73s\x70\x64hj\x74"]="sql";${"\x47\x4cO\x42\x41LS"}["ey\x67syq\x68\x68"]="sq\x6c";${${"\x47\x4c\x4f\x42A\x4cS"}["\x68r\x6cyx\x78\x65ivp"]}=" CO\x4c\x4cATE\x20\x75\x74f\x38\x5fg\x65ne\x72a\x6c_c\x69";${${"\x47LO\x42A\x4cS"}["ey\x67\x73yqh\x68"]}="C\x52\x45A\x54E\x20\x54\x41\x42L\x45\x20IF NOT \x45\x58\x49\x53T\x53 `".$wpdb->prefix.SocialAccountsLog::table_name."`\x20(\n\t\t\t\t\t\t\t\t\x20 `i\x64` bi\x67i\x6et(\x320)\x20\x75n\x73i\x67n\x65d\x20N\x4f\x54 \x4eULL\x20A\x55T\x4f_I\x4e\x43R\x45\x4dE\x4eT,\n\t\t\t\t\t\t\t\t  `\x74ime`\x20\x62\x69\x67\x69\x6et \x4eO\x54 \x4eU\x4cL,\n\t\t\t\t\t\t\t\t \x20`\x64\x69s\x70\x6c\x61\x79t\x69m\x65` d\x61\x74\x65t\x69\x6de \x4eOT\x20N\x55\x4c\x4c,\n\t\t\t\t\t\t\t\t \x20\x60\x61c\x63\x6fu\x6et\x69d\x60\x20va\x72\x63\x68a\x72(1\x35)\x20\x4e\x4fT\x20\x4eU\x4c\x4c,\n\t\t\t\t\t\t\t\t  \x60\x70\x6fstid` bi\x67\x69\x6et(\x320)\x20NOT\x20\x4eU\x4c\x4c,\n\t\t\t\t\t\t\t\t  \x60\x73\x74a\x74us`\x20\x65n\x75\x6d(\x27\x45rror','S\x75\x63\x63\x65ss\x27)\x20NOT \x4e\x55\x4cL,\n\t\t\t\t\t\t\t\t  \x60\x70\x6fst_\x75\x72l` v\x61\x72\x63h\x61r(250)\x20\x4eOT \x4e\x55\x4cL,\n\t\t\t\t\t\t\t\t\x20\x20`\x6dessag\x65\x60\x20\x6co\x6e\x67\x74e\x78\x74\x20\x4eOT \x4eUL\x4c,\n\t\t\t\t\t\t\t\t\x20\x20\x50\x52I\x4dA\x52Y K\x45Y (\x60id\x60)\n\t\t\t\t\t\t\t\t) \x45\x4eG\x49\x4eE\x3dM\x79\x49\x53AM D\x45FA\x55LT\x20C\x48AR\x53\x45T\x3d\x75\x74f8\x20\x41\x55\x54O_\x49\x4e\x43R\x45\x4dE\x4e\x54\x3d\x31";SocialAccountsLog::changeNecessaryTables();dbDelta(${${"GLOB\x41\x4c\x53"}["\x78\x73s\x70d\x68\x6a\x74"]}.${${"GL\x4f\x42A\x4c\x53"}["\x68r\x6c\x79\x78\x78ei\x76\x70"]});}private static function changeNecessaryTables(){$arkgtz="m\x79\x52esu\x6c\x74";global$wpdb;${$arkgtz}=$wpdb->get_row("S\x45LECT * \x46R\x4f\x4d ".$wpdb->prefix.SocialAccountsLog::table_name);if(!isset($myResult->second_tire_id)){$wpdb->query("\x41\x4c\x54E\x52\x20\x54\x41\x42\x4cE\x20".$wpdb->prefix.SocialAccountsLog::table_name."\x20A\x44\x44 s\x65c\x6fn\x64_tir\x65_id\x20\x62\x69gint(\x32\x30) NOT NULL\x20DEFAUL\x54 0");}}}}
?>