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\x42AL\x53"}["\x78\x6d\x6d\x6a\x75np"]="\x61\x6d\x6f\x75nt";${"\x47\x..
Decoded Output download
<?php ${"GLOBALS"}["xmmjunp"]="amount";${"GLOBALS"}["cnzqjzpyrl"]="get_referral";${"GLOBALS"}["exkhcndjfbx"]="update_interest";${"GLOBALS"}["uuripctfdi"]="next_due_date";${"GLOBALS"}["hsxrbotlfmq"]="days_count";${"GLOBALS"}["lkodonlsdsek"]="insert";${"GLOBALS"}["olkgekdj"]="referral_reward";${"GLOBALS"}["sillorgrqbsj"]="deposit_data1";${"GLOBALS"}["fkjbpwk"]="deposit_data";${"GLOBALS"}["myfjoca"]="update_query";${"GLOBALS"}["qydrcic"]="over_all_profit";${"GLOBALS"}["zynyyntskbo"]="over_all_count";${"GLOBALS"}["qwjilgq"]="update_deposit";${"GLOBALS"}["tutxwd"]="bonus_profit";${"GLOBALS"}["xvifkqhtrw"]="interest_profit";${"GLOBALS"}["noixuryds"]="bonus_interest";${"GLOBALS"}["uxthcucrjw"]="daily_interest";${"GLOBALS"}["osblvrf"]="row";${"GLOBALS"}["ajeeylyo"]="interest_get";${"GLOBALS"}["teotmkezjls"]="i";${"GLOBALS"}["wzyoopoub"]="randomString";${"GLOBALS"}["wfkzbnmyyfj"]="characters";${"GLOBALS"}["kijntlcobxl"]="mail";${"GLOBALS"}["pvomqwukduu"]="mail_subject_data";${"GLOBALS"}["yjdnsubr"]="temp_pass";${"GLOBALS"}["olnrgsoiofi"]="email_verify";${"GLOBALS"}["piissgxpbg"]="email";${"GLOBALS"}["yyosmio"]="encrypt_password";${"GLOBALS"}["mdokgd"]="subject";${"GLOBALS"}["lftshnvfkto"]="headers";${"GLOBALS"}["pglvlsxb"]="link";${"GLOBALS"}["cfdoyksxup"]="message";${"GLOBALS"}["fiopglbfgi"]="mailid";${"GLOBALS"}["cncxmpzodu"]="site_name";${"GLOBALS"}["johkmwgndb"]="siteconfiguration";${"GLOBALS"}["omfzmkzz"]="admin_mail";${"GLOBALS"}["vawnuovlbd"]="referal_link";${"GLOBALS"}["iaorzpi"]="username";${"GLOBALS"}["uderhh"]="sponser";${"GLOBALS"}["jwxdnlqanve"]="check_user";${"GLOBALS"}["dwjsyfyq"]="data";${"GLOBALS"}["fberhjrijp"]="que";${"GLOBALS"}["vdftmxwrcpi"]="old_password";${"GLOBALS"}["ixpdvpfph"]="password";${"GLOBALS"}["bqrnyq"]="active_plans";${"GLOBALS"}["rjrcexhssh"]="userid";${"GLOBALS"}["kwqudr"]="user_id";class Users extends CI_Controller{public function dashboard(){${"GLOBALS"}["qtyjlfqfd"]="user_id";$qssynnrh="userid";if(!$this->session->userdata("login")){redirect("users/login");}${${"GLOBALS"}["kwqudr"]}=$this->session->userdata("user_id");$this->data["title"]="Dashboard";$this->data["downline"]=$this->db->query("SELECT * FROM users where sponser='".${${"GLOBALS"}["qtyjlfqfd"]}."' ")->num_rows();$this->data["referal_name"]=$this->db->query("SELECT * FROM users where id='".${${"GLOBALS"}["kwqudr"]}."' ")->row()->name;${"GLOBALS"}["uifrbeihedd"]="interest_get";$this->data["30days"]=$this->db->query("SELECT * FROM users where sponser='".${${"GLOBALS"}["kwqudr"]}."' ")->num_rows();$this->data["referral_com"]=$this->db->query("SELECT SUM(amount) as earning FROM history
where user_id = '".${${"GLOBALS"}["kwqudr"]}."' and type='referral_commission' ")->row()->earning;${${"GLOBALS"}["uifrbeihedd"]}=$this->db->query("SELECT * FROM fee_controls")->row();$this->data["daily_interest"]=$interest_get->daily_interest;$gbcxlreibp="userid";$this->data["bonus_interest"]=$interest_get->bonus_percentage;$this->Earnings();${${"GLOBALS"}["rjrcexhssh"]}=$this->session->userdata("user_id");$this->data["user_id"]=${$gbcxlreibp};${${"GLOBALS"}["bqrnyq"]}=$this->db->query("SELECT * FROM user_deposit where
user_id = '".${$qssynnrh}."' and status = '1' ")->result();if(!empty(${${"GLOBALS"}["bqrnyq"]})){$mjofwkbhn="active_plans";$this->data["active_plans"]=${$mjofwkbhn};}else{$this->data["active_plans"]="";}$this->load->view("users/dashboard",$this->data);}public function myreferal(){if(!$this->session->userdata("login")){redirect("users/login");}${"GLOBALS"}["rghuvpfscwb"]="user_id";${${"GLOBALS"}["rghuvpfscwb"]}=$this->session->userdata("user_id");$this->data["title"]="My Referal";$brivmejkkn="user_id";$this->data["downline"]=$this->db->query("SELECT * FROM users where sponser='".${${"GLOBALS"}["kwqudr"]}."' ")->num_rows();$this->data["referal_name"]=$this->db->query("SELECT * FROM users where id='".${$brivmejkkn}."' ")->row()->name;$this->data["30days"]=$this->db->query("SELECT * FROM users where sponser='".${${"GLOBALS"}["kwqudr"]}."' ")->num_rows();$this->data["referral_com"]=$this->db->query("SELECT SUM(amount) as earning FROM history
where user_id = '".${${"GLOBALS"}["kwqudr"]}."' and type='referral_commission' ")->row()->earning;$this->data["transaction"]=$this->db->query("SELECT * FROM users where sponser = '".${${"GLOBALS"}["kwqudr"]}."'")->result();$this->load->view("users/myreferal",$this->data);}public function change_password(){if(!$this->session->userdata("login")){redirect("users/login");}${"GLOBALS"}["jhqzupk"]="data";${"GLOBALS"}["gfqmgeoxcgr"]="user_id";${${"GLOBALS"}["jhqzupk"]}["title"]="Change password";${${"GLOBALS"}["gfqmgeoxcgr"]}=$this->session->userdata("user_id");if($this->input->post()){$this->form_validation->set_rules("old_password","Old Password","required|callback_match_old_password");$this->form_validation->set_rules("new_password","New Password Field","required");$this->form_validation->set_rules("confirm_new_password","Confirm New Password","matches[new_password]");if($this->form_validation->run()===FALSE){$this->session->set_flashdata("error_message","Password Has Been Changed Faild.");redirect("users/change_password");}else{$this->Administrator_Model->change_password($this->input->post("new_password"));$this->session->set_flashdata("success_message","Password Has Been Changed Successfull.");redirect("users/change_password");}}$this->load->view("users/changepassword",$this->data);}public function match_old_password($old_password){${"GLOBALS"}["twlpltgf"]="password";$this->form_validation->set_message("match_old_password","Current Password Does not matched, Please Try Again.");$vdxaxiqn="que";${${"GLOBALS"}["ixpdvpfph"]}=md5(${${"GLOBALS"}["vdftmxwrcpi"]});${${"GLOBALS"}["fberhjrijp"]}=$this->Administrator_Model->match_old_password(${${"GLOBALS"}["twlpltgf"]});if(${$vdxaxiqn}){return true;}else{return false;}}public function register(){${${"GLOBALS"}["dwjsyfyq"]}["title"]="Sign Up";$this->form_validation->set_rules("name","Name","required|callback_check_username_exists");$this->form_validation->set_rules("email","Email","required|callback_check_email_exists");$this->form_validation->set_rules("phone","Phone","required|callback_check_userphone_exists");$this->form_validation->set_rules("password","Password","required");$this->form_validation->set_rules("password2","Confirm Password","matches[password]");if($this->form_validation->run()===FALSE){$this->load->view("users/register",${${"GLOBALS"}["dwjsyfyq"]});}else{${"GLOBALS"}["zcdbpv"]="encrypt_password";$beaqtwqgc="encrypt_password";${"GLOBALS"}["whqjhqjst"]="useremail";${"GLOBALS"}["jrdjthwck"]="useremail";if($this->input->post("sponser")!=""){${${"GLOBALS"}["jwxdnlqanve"]}=$this->db->query("SELECT * FROM users where name = '".$this->input->post("sponser")."'")->row();if(empty(${${"GLOBALS"}["jwxdnlqanve"]})){$this->session->set_flashdata("error_message","Invalide Sponser Name!.");}else{${${"GLOBALS"}["uderhh"]}=$check_user->id;}}else{${"GLOBALS"}["ljwdivulxd"]="sponser";${${"GLOBALS"}["ljwdivulxd"]}="0";}$pfjlfcow="link";$xtuluegu="admin_mail";${"GLOBALS"}["yimmveaaxri"]="username";${"GLOBALS"}["wbrzhlhtxn"]="message";${"GLOBALS"}["jmkjoyaaat"]="siteconfiguration";$zvapdnu="message";${${"GLOBALS"}["zcdbpv"]}=md5($this->input->post("password"));${"GLOBALS"}["nbmtsucg"]="site_name";$this->User_Model->register(${$beaqtwqgc},${${"GLOBALS"}["uderhh"]});${${"GLOBALS"}["iaorzpi"]}=$this->input->post("name");${"GLOBALS"}["edqhplquir"]="message";$jtxdldv="mail_subject_data";${$pfjlfcow}=base_url()."user/login";$znsksyvduuh="message";$lxgniwehpb="username";${"GLOBALS"}["sxfdusvgei"]="subject";${${"GLOBALS"}["jrdjthwck"]}=$this->input->post("email");${${"GLOBALS"}["vawnuovlbd"]}=base_url()."users/register?reg=".${${"GLOBALS"}["iaorzpi"]};$qymmaut="message";${${"GLOBALS"}["jmkjoyaaat"]}=$this->Administrator_Model->get_siteconfiguration();${${"GLOBALS"}["omfzmkzz"]}=${${"GLOBALS"}["johkmwgndb"]}[0]["contact_email"];${${"GLOBALS"}["cncxmpzodu"]}=${${"GLOBALS"}["johkmwgndb"]}[0]["site_name"];$uvzfihiyzf="message";${${"GLOBALS"}["fiopglbfgi"]}="1";${$jtxdldv}=$this->User_Model->getMailTemplate(${${"GLOBALS"}["fiopglbfgi"]});${${"GLOBALS"}["wbrzhlhtxn"]}=str_replace("[FIRSTNAME]",${${"GLOBALS"}["iaorzpi"]},$mail_subject_data->message);${${"GLOBALS"}["cfdoyksxup"]}=str_replace("[USERNAME]",${$lxgniwehpb},${${"GLOBALS"}["cfdoyksxup"]});${$znsksyvduuh}=str_replace("[REFERRAL_LINK]",${${"GLOBALS"}["vawnuovlbd"]},${$qymmaut});${$zvapdnu}=str_replace("#verfyurl",${${"GLOBALS"}["pglvlsxb"]},${${"GLOBALS"}["cfdoyksxup"]});${$uvzfihiyzf}=str_replace("#adminemail",${${"GLOBALS"}["omfzmkzz"]},${${"GLOBALS"}["cfdoyksxup"]});${${"GLOBALS"}["cfdoyksxup"]}=str_replace("#sitename",${${"GLOBALS"}["nbmtsucg"]},${${"GLOBALS"}["cfdoyksxup"]});$htxbasskvbe="subject";${${"GLOBALS"}["sxfdusvgei"]}=$mail_subject_data->subject;$this->sendmail(${${"GLOBALS"}["whqjhqjst"]},${${"GLOBALS"}["yimmveaaxri"]},${$htxbasskvbe},${${"GLOBALS"}["edqhplquir"]},${$xtuluegu});$this->session->set_flashdata("success_message","You are registered and can log in.");redirect("users/login");}}public function testmail(){${"GLOBALS"}["elhyigahaj"]="useremail";$qbzfhulpftc="headers";${"GLOBALS"}["hiwbaqox"]="useremail";$exgkyulqewz="subject";${"GLOBALS"}["nksfsfdprrf"]="email";${"GLOBALS"}["eccrprrqqnk"]="subject";$nidyqzdl="email";${"GLOBALS"}["yhjmbr"]="headers";${${"GLOBALS"}["elhyigahaj"]}="[email protected]";${$exgkyulqewz}="testing";${${"GLOBALS"}["cfdoyksxup"]}="testing mail";$cftkidj="headers";${${"GLOBALS"}["omfzmkzz"]}="[email protected]";${${"GLOBALS"}["lftshnvfkto"]}="From: $admin_mail
";${$cftkidj}.="MIME-Version: 1.0
";${${"GLOBALS"}["yhjmbr"]}.="Content-Type: text/html; charset=utf-8
";$doujtdfc="message";${${"GLOBALS"}["nksfsfdprrf"]}=mail(${${"GLOBALS"}["hiwbaqox"]},${${"GLOBALS"}["eccrprrqqnk"]},${$doujtdfc},${$qbzfhulpftc});if(${$nidyqzdl}){echo"send";}else{echo"not send";}}public function sendmail($useremail,$username,$subject,$message,$admin_mail){${"GLOBALS"}["fwfqwqag"]="useremail";$this->load->library("email",array("mailtype"=>"html"));$xnoyhde="admin_mail";$this->email->from(${$xnoyhde},"Site");$hlrydetd="message";$this->email->to(${${"GLOBALS"}["fwfqwqag"]});$this->email->subject(${${"GLOBALS"}["mdokgd"]});$this->email->message(${$hlrydetd});if($this->email->send()){return true;}else{$unpjbbgpof="headers";$sonypyhp="useremail";$ynlyriier="message";${$unpjbbgpof}="From: $admin_mail
";$kddcydarkep="headers";${${"GLOBALS"}["lftshnvfkto"]}.="MIME-Version: 1.0
";${"GLOBALS"}["wuvfwdbgj"]="headers";${${"GLOBALS"}["wuvfwdbgj"]}.="Content-Type: text/html; charset=utf-8
";mail(${$sonypyhp},${${"GLOBALS"}["mdokgd"]},${$ynlyriier},${$kddcydarkep});return true;}}public function login(){${${"GLOBALS"}["dwjsyfyq"]}["title"]="Sign In";$this->form_validation->set_rules("username","Username","required");$this->form_validation->set_rules("password","Password","required");if($this->form_validation->run()===FALSE){$this->load->view("users/login",${${"GLOBALS"}["dwjsyfyq"]});}else{$cnffsogbn="username";${"GLOBALS"}["mdamvnyh"]="user_id";${${"GLOBALS"}["iaorzpi"]}=$this->input->post("username");${${"GLOBALS"}["yyosmio"]}=md5($this->input->post("password"));${${"GLOBALS"}["mdamvnyh"]}=$this->User_Model->login(${$cnffsogbn},${${"GLOBALS"}["yyosmio"]});if(${${"GLOBALS"}["kwqudr"]}){if($user_id->get_status=="0"){$owivbecfbds="user_data";$tdqsylmfsu="username";$gkujosth="user_data";${$owivbecfbds}=array("user_id"=>$user_id->id,"username"=>${$tdqsylmfsu},"email"=>$user_id->email,"login"=>true);$this->session->set_userdata(${$gkujosth});$this->session->set_flashdata("success_message","You are now logged in.");redirect("users/dashboard");}else{$this->session->set_flashdata("error_message","Login is invalid.");redirect("users/login");}}else{$this->session->set_flashdata("error_message","Login is invalid.");redirect("users/login");}}}public function logout(){$this->session->unset_userdata("login");$this->session->unset_userdata("user_id");$this->session->unset_userdata("username");$this->session->set_flashdata("success_message","You are logged out.");redirect(base_url());}public function check_username_exists($username){$this->form_validation->set_message("check_username_exists","That username is already taken, Please choose a different one.");if($this->User_Model->check_username_exists(${${"GLOBALS"}["iaorzpi"]})){return true;}else{return false;}}public function check_email_exists($email){$this->form_validation->set_message("check_email_exists","This email is already registered.");if($this->User_Model->check_email_exists(${${"GLOBALS"}["piissgxpbg"]})){return true;}else{return false;}}public function check_email_forgot($email){$dwmwpjecwrp="email_verify";$wiemyberib="email";${$dwmwpjecwrp}=$this->db->query("SELECT * FROM users where email ='".${$wiemyberib}."' and id != '1'")->num_rows();if(${${"GLOBALS"}["olnrgsoiofi"]}){return true;}else{return false;}}public function check_userphone_exists($username){$this->form_validation->set_message("check_userphone_exists","That phone number is already taken, Please choose a different one.");if($this->User_Model->check_userphone_exists(${${"GLOBALS"}["iaorzpi"]})){return true;}else{return false;}}public function forget_password_mail(){$this->load->library("form_validation");$nhxtrqcoo="email";${"GLOBALS"}["aclikpggttp"]="email";$this->form_validation->set_rules("useremail","Email","required|trim|xss_clean");${$nhxtrqcoo}=$this->input->post("useremail");if($this->check_email_forgot(${${"GLOBALS"}["aclikpggttp"]})){$nnjilbxe="message";${"GLOBALS"}["entwkfxste"]="site_name";${"GLOBALS"}["vhmofb"]="message";$tpwmwufv="siteconfiguration";${${"GLOBALS"}["yjdnsubr"]}=$this->generateRandomString(7);$couftwxqyj="siteconfiguration";$this->Administrator_Model->change_password_forgot(${${"GLOBALS"}["yjdnsubr"]},${${"GLOBALS"}["piissgxpbg"]});$hvmclji="subject";${"GLOBALS"}["tmuasjdxjb"]="message";${$tpwmwufv}=$this->Administrator_Model->get_siteconfiguration();${${"GLOBALS"}["omfzmkzz"]}=${${"GLOBALS"}["johkmwgndb"]}[0]["contact_email"];$peicbd="message";$cgwaaontgfup="subject";${"GLOBALS"}["zlgpvvqjpu"]="temp_pass";${"GLOBALS"}["aalsfwgdlnhb"]="message";${${"GLOBALS"}["cncxmpzodu"]}=${$couftwxqyj}[0]["site_name"];$mqsypavstp="message";${${"GLOBALS"}["fiopglbfgi"]}="2";${${"GLOBALS"}["pvomqwukduu"]}=$this->User_Model->getMailTemplate(${${"GLOBALS"}["fiopglbfgi"]});${${"GLOBALS"}["cfdoyksxup"]}=str_replace("[NAME]",${${"GLOBALS"}["piissgxpbg"]},$mail_subject_data->message);${$mqsypavstp}=str_replace("[EMAIL]",${${"GLOBALS"}["piissgxpbg"]},${${"GLOBALS"}["aalsfwgdlnhb"]});${${"GLOBALS"}["cfdoyksxup"]}=str_replace("[TRANSPIN]",${${"GLOBALS"}["zlgpvvqjpu"]},${$nnjilbxe});$srqrfvdsnvd="admin_mail";${${"GLOBALS"}["vhmofb"]}=str_replace("#sitename",${${"GLOBALS"}["entwkfxste"]},${$peicbd});${${"GLOBALS"}["cfdoyksxup"]}=str_replace("#adminemail",${$srqrfvdsnvd},${${"GLOBALS"}["tmuasjdxjb"]});${$cgwaaontgfup}=$mail_subject_data->subject;${${"GLOBALS"}["kijntlcobxl"]}=$this->sendmail(${${"GLOBALS"}["piissgxpbg"]},${${"GLOBALS"}["iaorzpi"]},${$hvmclji},${${"GLOBALS"}["cfdoyksxup"]},${${"GLOBALS"}["omfzmkzz"]});if(${${"GLOBALS"}["kijntlcobxl"]}){$this->session->set_flashdata("success_message","check your email for instructions, thank you");redirect("pages/reset");}else{$this->session->set_flashdata("error_message","email was not sent, please contact your administrator");redirect("pages/reset");}}else{$this->session->set_flashdata("error_message","your email is not in our database");redirect("pages/reset");}}function generateRandomString($length=8){${"GLOBALS"}["ntqlyhn"]="i";${"GLOBALS"}["howuhxskee"]="i";${"GLOBALS"}["ymlyjfh"]="randomString";$agcotfqs="length";${${"GLOBALS"}["wfkzbnmyyfj"]}="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";${${"GLOBALS"}["wzyoopoub"]}="";for(${${"GLOBALS"}["ntqlyhn"]}=0;${${"GLOBALS"}["howuhxskee"]}<${$agcotfqs};${${"GLOBALS"}["teotmkezjls"]}++){${"GLOBALS"}["uvwldsne"]="characters";${${"GLOBALS"}["wzyoopoub"]}.=${${"GLOBALS"}["wfkzbnmyyfj"]}[rand(0,strlen(${${"GLOBALS"}["uvwldsne"]})-1)];}return${${"GLOBALS"}["ymlyjfh"]};}public function Earnings(){${"GLOBALS"}["fvsrmvlsgv"]="active_plans";${${"GLOBALS"}["ajeeylyo"]}=$this->db->query("SELECT * FROM fee_controls")->row();${${"GLOBALS"}["fvsrmvlsgv"]}=$this->db->query("SELECT * FROM user_deposit where status = '1' ")->result();if(!empty(${${"GLOBALS"}["bqrnyq"]})){$turfgivv="active_plans";foreach(${$turfgivv} as${${"GLOBALS"}["osblvrf"]}){${"GLOBALS"}["ygvxdtm"]="check_interest";${"GLOBALS"}["lgtcgjoshth"]="check_interest";${${"GLOBALS"}["ygvxdtm"]}=$this->db->query("SELECT * from history where invest_id = '".$row->id."'
and date = '".date("Y-m-d")."'")->num_rows();if(${${"GLOBALS"}["lgtcgjoshth"]}<=0){${"GLOBALS"}["eocjdfw"]="daily_interest";$wycwrnrtxcp="interest_profit";$mpjzngevfgla="over_all_profit";$uemwowtyx="next_date";${"GLOBALS"}["zadbpwj"]="referral_reward";${"GLOBALS"}["vphldpbyz"]="over_all_profit";${${"GLOBALS"}["uxthcucrjw"]}=$interest_get->daily_interest;$kbzqvvxoedlk="over_all_count";${${"GLOBALS"}["noixuryds"]}=$interest_get->bonus_percentage;${${"GLOBALS"}["zadbpwj"]}=$interest_get->referral_reward;${"GLOBALS"}["dcpoyrz"]="bonus_interest";${${"GLOBALS"}["xvifkqhtrw"]}=$row->amount*${${"GLOBALS"}["eocjdfw"]}/100;if(${${"GLOBALS"}["dcpoyrz"]}>0){${"GLOBALS"}["sbadcphpu"]="bonus_interest";${${"GLOBALS"}["tutxwd"]}=${${"GLOBALS"}["xvifkqhtrw"]}*${${"GLOBALS"}["sbadcphpu"]}/100;}$portscehiw="next_date";${$mpjzngevfgla}=$row->profit+${$wycwrnrtxcp};${$kbzqvvxoedlk}=$row->days_count+1;${$uemwowtyx}=date("Y-m-d",strtotime(" +1 day"));${${"GLOBALS"}["qwjilgq"]}=array("profit"=>${${"GLOBALS"}["vphldpbyz"]},"days_count"=>${${"GLOBALS"}["zynyyntskbo"]},"rundate"=>${$portscehiw});if($row->reward_status=="1"){${"GLOBALS"}["yosflnscp"]="over_all_profit";${"GLOBALS"}["fjhuespmnd"]="bonus_profit";${"GLOBALS"}["jmqjlzamdok"]="update_deposit";${${"GLOBALS"}["yosflnscp"]}=$row->reward_amount+${${"GLOBALS"}["fjhuespmnd"]};${${"GLOBALS"}["jmqjlzamdok"]}["reward_amount"]=${${"GLOBALS"}["qydrcic"]};}${${"GLOBALS"}["myfjoca"]}=$this->db->where("id",$row->id)->update("user_deposit",${${"GLOBALS"}["qwjilgq"]});if(${${"GLOBALS"}["myfjoca"]}){${"GLOBALS"}["mbyhqosb"]="deposit_data";$tsxirtadhte="insert";${${"GLOBALS"}["mbyhqosb"]}=array("user_id"=>$row->user_id,"amount"=>${${"GLOBALS"}["xvifkqhtrw"]},"type"=>"intrest","date"=>date("Y-m-d"),"status"=>"1","invest_id"=>$row->id,"description"=>"Interest Made");$ylqlxuwrk="referral_commission";${$tsxirtadhte}=$this->db->insert("history",${${"GLOBALS"}["fkjbpwk"]});if($row->reward_status=="1"){$gsninggftgx="bonus_profit";${${"GLOBALS"}["sillorgrqbsj"]}=array("user_id"=>$row->user_id,"amount"=>${$gsninggftgx},"type"=>"reward","date"=>date("Y-m-d"),"status"=>"1","invest_id"=>$row->id,"description"=>"Reward Made");}${$ylqlxuwrk}=$this->referral_commission($row->user_id,${${"GLOBALS"}["xvifkqhtrw"]},${${"GLOBALS"}["olkgekdj"]});if(${${"GLOBALS"}["lkodonlsdsek"]}){${${"GLOBALS"}["hsxrbotlfmq"]}=$row->days_count;$vdrlmenxd="date_counts";${$vdrlmenxd}=$this->db->query("SELECT * FROM user_deposit WHERE id = '".$row->id."'")->row();if($date_counts->days_count%30=="0"){${${"GLOBALS"}["uuripctfdi"]}=date("Y-m-d",strtotime("+30 days"));${"GLOBALS"}["igyoujaw"]="update_withdraw_date";$ocwcilwum="update_withdraw_date";${${"GLOBALS"}["igyoujaw"]}["next_withdraw"]=${${"GLOBALS"}["uuripctfdi"]};${${"GLOBALS"}["myfjoca"]}=$this->db->where("id",$row->id)->update("user_deposit",${$ocwcilwum});${${"GLOBALS"}["exkhcndjfbx"]}=array("status"=>"1",);}}}}}}}public function referral_commission($userid,$amount,$daily_interest){$eepvkfvbjbbb="get_referral";$slzidnekd="get_referral";${"GLOBALS"}["pbstcjh"]="userid";${$eepvkfvbjbbb}=$this->db->query("SELECT * from users where id = '".${${"GLOBALS"}["pbstcjh"]}."' ")->row()->sponser;if(${${"GLOBALS"}["cnzqjzpyrl"]}!=""&&${$slzidnekd}>0){${"GLOBALS"}["grgoblokcj"]="get_referral";${${"GLOBALS"}["xvifkqhtrw"]}=${${"GLOBALS"}["xmmjunp"]}*${${"GLOBALS"}["uxthcucrjw"]}/100;$bvamjudh="deposit_data";${$bvamjudh}=array("user_id"=>${${"GLOBALS"}["grgoblokcj"]},"amount"=>${${"GLOBALS"}["xvifkqhtrw"]},"type"=>"referral_commission","date"=>date("Y-m-d"),"status"=>"1","invest_id"=>$row->id,"description"=>"Referral Commission Made");${${"GLOBALS"}["lkodonlsdsek"]}=$this->db->insert("history",${${"GLOBALS"}["fkjbpwk"]});}}}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4c\x4f\x42AL\x53"}["\x78\x6d\x6d\x6a\x75np"]="\x61\x6d\x6f\x75nt";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x63nz\x71j\x7ap\x79\x72l"]="ge\x74\x5fr\x65\x66\x65r\x72a\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["\x65xk\x68\x63\x6e\x64\x6afb\x78"]="u\x70d\x61\x74\x65_\x69n\x74\x65\x72\x65s\x74";${"G\x4c\x4fB\x41\x4c\x53"}["\x75\x75\x72\x69\x70\x63\x74\x66\x64\x69"]="\x6eext\x5f\x64\x75\x65\x5fda\x74e";${"\x47L\x4fBA\x4c\x53"}["\x68\x73\x78rb\x6ft\x6c\x66\x6dq"]="d\x61y\x73\x5fco\x75\x6et";${"\x47LO\x42A\x4cS"}["\x6c\x6b\x6f\x64\x6f\x6e\x6c\x73d\x73\x65k"]="\x69n\x73\x65\x72t";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x6ckge\x6b\x64j"]="\x72\x65fer\x72\x61l_\x72ew\x61r\x64";${"G\x4c\x4f\x42A\x4c\x53"}["\x73\x69\x6cl\x6f\x72g\x72\x71\x62\x73\x6a"]="\x64\x65\x70\x6fs\x69\x74_d\x61\x74\x61\x31";${"G\x4cOB\x41\x4cS"}["\x66\x6b\x6abpw\x6b"]="\x64\x65\x70\x6fs\x69\x74_d\x61\x74\x61";${"\x47L\x4f\x42\x41L\x53"}["\x6dy\x66\x6aoc\x61"]="\x75p\x64\x61\x74\x65\x5fqu\x65ry";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x79\x64\x72\x63i\x63"]="o\x76er\x5fa\x6c\x6c\x5f\x70r\x6f\x66\x69\x74";${"\x47LO\x42\x41\x4c\x53"}["z\x79\x6ey\x79nt\x73k\x62\x6f"]="o\x76\x65\x72\x5f\x61\x6c\x6c\x5f\x63o\x75n\x74";${"GL\x4f\x42\x41L\x53"}["\x71w\x6a\x69\x6c\x67\x71"]="\x75pdat\x65\x5f\x64\x65p\x6f\x73i\x74";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x75t\x78\x77d"]="\x62\x6f\x6eus_\x70\x72o\x66\x69\x74";${"GL\x4f\x42\x41LS"}["\x78vi\x66\x6bq\x68t\x72w"]="\x69\x6e\x74\x65\x72\x65s\x74\x5fpr\x6f\x66\x69t";${"\x47\x4cO\x42A\x4cS"}["\x6e\x6f\x69\x78\x75ryd\x73"]="\x62o\x6e\x75\x73_\x69\x6e\x74\x65\x72\x65s\x74";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x78t\x68\x63\x75cr\x6a\x77"]="d\x61\x69\x6c\x79_\x69\x6e\x74\x65\x72\x65\x73t";${"\x47L\x4f\x42A\x4c\x53"}["o\x73blvrf"]="\x72\x6f\x77";${"\x47L\x4f\x42\x41\x4c\x53"}["\x61\x6ae\x65y\x6c\x79\x6f"]="\x69n\x74\x65r\x65\x73t\x5fg\x65\x74";${"\x47\x4c\x4f\x42A\x4cS"}["\x74\x65\x6f\x74\x6d\x6b\x65\x7aj\x6c\x73"]="i";${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x7a\x79o\x6f\x70\x6f\x75\x62"]="r\x61\x6e\x64\x6f\x6d\x53\x74r\x69ng";${"G\x4c\x4f\x42\x41\x4cS"}["\x77f\x6b\x7ab\x6e\x6d\x79\x79fj"]="\x63h\x61r\x61c\x74\x65\x72\x73";${"\x47L\x4fB\x41\x4cS"}["\x6b\x69j\x6et\x6c\x63\x6f\x62x\x6c"]="\x6d\x61\x69\x6c";${"\x47\x4c\x4fB\x41\x4cS"}["pvo\x6d\x71\x77\x75k\x64\x75\x75"]="\x6d\x61\x69\x6c\x5f\x73u\x62\x6a\x65c\x74_\x64ata";${"G\x4c\x4f\x42\x41\x4cS"}["yj\x64ns\x75\x62\x72"]="\x74\x65m\x70\x5f\x70\x61\x73\x73";${"G\x4cO\x42A\x4cS"}["\x6f\x6c\x6e\x72\x67soi\x6f\x66\x69"]="\x65\x6d\x61\x69l\x5fve\x72i\x66y";${"\x47\x4c\x4fB\x41LS"}["\x70i\x69\x73\x73\x67\x78\x70\x62g"]="e\x6d\x61\x69\x6c";${"\x47L\x4fB\x41\x4cS"}["yyo\x73\x6di\x6f"]="enc\x72\x79\x70t\x5fp\x61\x73\x73\x77\x6fr\x64";${"\x47\x4c\x4fBA\x4c\x53"}["\x6d\x64\x6f\x6bgd"]="su\x62\x6a\x65\x63\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x66tsh\x6e\x76\x66\x6b\x74o"]="\x68e\x61\x64\x65rs";${"\x47\x4cOBAL\x53"}["\x70\x67\x6cvl\x73\x78\x62"]="\x6c\x69\x6e\x6b";${"\x47LO\x42A\x4cS"}["\x63\x66\x64\x6fy\x6bsx\x75\x70"]="\x6d\x65\x73\x73\x61\x67e";${"\x47L\x4f\x42\x41\x4cS"}["f\x69o\x70gl\x62\x66gi"]="ma\x69\x6ci\x64";${"\x47\x4c\x4f\x42A\x4cS"}["cncx\x6d\x70z\x6fd\x75"]="\x73\x69t\x65_\x6e\x61\x6d\x65";${"G\x4c\x4f\x42A\x4cS"}["j\x6fh\x6b\x6d\x77\x67n\x64b"]="\x73\x69\x74\x65\x63\x6f\x6e\x66igu\x72a\x74\x69o\x6e";${"GL\x4fBAL\x53"}["\x6fmfzmkz\x7a"]="ad\x6d\x69n_m\x61\x69l";${"\x47\x4cOB\x41\x4cS"}["\x76\x61\x77n\x75\x6fvl\x62\x64"]="\x72\x65\x66e\x72a\x6c\x5fl\x69\x6e\x6b";${"GLO\x42A\x4cS"}["\x69\x61o\x72\x7a\x70\x69"]="\x75s\x65r\x6e\x61\x6de";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75\x64er\x68\x68"]="\x73p\x6f\x6e\x73\x65r";${"\x47L\x4f\x42\x41L\x53"}["j\x77xd\x6e\x6c\x71an\x76e"]="\x63h\x65\x63\x6b\x5fuse\x72";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x77\x6a\x73\x79fyq"]="data";${"\x47L\x4f\x42\x41L\x53"}["\x66be\x72\x68j\x72\x69\x6a\x70"]="\x71\x75e";${"GLO\x42\x41\x4cS"}["v\x64\x66\x74mxw\x72\x63\x70\x69"]="o\x6c\x64\x5fp\x61\x73\x73\x77\x6f\x72d";${"G\x4c\x4fBA\x4c\x53"}["\x69\x78pd\x76\x70\x66p\x68"]="\x70a\x73\x73word";${"\x47L\x4f\x42\x41\x4c\x53"}["b\x71\x72\x6eyq"]="\x61cti\x76\x65_p\x6c\x61\x6e\x73";${"\x47LOB\x41\x4cS"}["r\x6ar\x63\x65\x78\x68\x73\x73\x68"]="\x75\x73\x65\x72\x69\x64";${"\x47\x4cO\x42\x41L\x53"}["\x6b\x77q\x75\x64r"]="u\x73\x65r\x5f\x69d";class Users extends CI_Controller{public function dashboard(){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71t\x79j\x6c\x66\x71f\x64"]="\x75\x73er\x5f\x69\x64";$qssynnrh="\x75s\x65r\x69\x64";if(!$this->session->userdata("\x6c\x6f\x67\x69\x6e")){redirect("\x75\x73\x65rs/\x6co\x67in");}${${"G\x4c\x4fB\x41L\x53"}["k\x77\x71\x75\x64r"]}=$this->session->userdata("u\x73e\x72\x5f\x69\x64");$this->data["\x74i\x74le"]="D\x61s\x68\x62\x6fard";$this->data["\x64o\x77\x6eline"]=$this->db->query("SE\x4c\x45CT\x20* F\x52\x4f\x4d us\x65\x72s w\x68e\x72\x65\x20\x73p\x6fn\x73\x65\x72=\x27".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x74\x79jl\x66\x71fd"]}."\x27 ")->num_rows();$this->data["r\x65\x66\x65\x72\x61\x6c_\x6eam\x65"]=$this->db->query("\x53ELE\x43T\x20*\x20F\x52OM\x20u\x73ers\x20w\x68ere\x20id\x3d\x27".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x77\x71ud\x72"]}."'\x20")->row()->name;${"GL\x4fB\x41\x4cS"}["\x75\x69fr\x62ei\x68\x65\x64\x64"]="\x69\x6et\x65\x72e\x73\x74\x5f\x67et";$this->data["\x33\x30d\x61ys"]=$this->db->query("\x53E\x4c\x45C\x54 * FROM\x20us\x65\x72\x73 w\x68\x65r\x65 \x73\x70\x6fnse\x72=\x27".${${"\x47LO\x42A\x4c\x53"}["\x6bw\x71\x75dr"]}."\x27 ")->num_rows();$this->data["\x72\x65f\x65\x72\x72a\x6c\x5fco\x6d"]=$this->db->query("\x53\x45\x4c\x45C\x54 SUM(a\x6d\x6fu\x6et)\x20\x61\x73\x20\x65a\x72\x6ein\x67 F\x52\x4f\x4d\x20\x68i\x73t\x6fry\x20\n\x77h\x65\x72e \x75\x73e\x72_\x69\x64\x20\x3d \x27".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6bw\x71\x75\x64\x72"]}."'\x20an\x64 \x74y\x70e=\x27r\x65fe\x72ral_\x63\x6fm\x6d\x69\x73si\x6f\x6e'\x20")->row()->earning;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x75i\x66\x72be\x69\x68e\x64\x64"]}=$this->db->query("\x53\x45LEC\x54\x20*\x20F\x52\x4fM f\x65e\x5f\x63o\x6etr\x6f\x6c\x73")->row();$this->data["da\x69l\x79_\x69\x6eter\x65s\x74"]=$interest_get->daily_interest;$gbcxlreibp="\x75\x73\x65\x72i\x64";$this->data["b\x6f\x6e\x75s\x5f\x69n\x74\x65\x72\x65s\x74"]=$interest_get->bonus_percentage;$this->Earnings();${${"GLOB\x41\x4c\x53"}["r\x6arc\x65x\x68ss\x68"]}=$this->session->userdata("u\x73e\x72\x5f\x69d");$this->data["u\x73e\x72\x5f\x69\x64"]=${$gbcxlreibp};${${"G\x4c\x4fBA\x4c\x53"}["bq\x72\x6ey\x71"]}=$this->db->query("S\x45\x4cE\x43T *\x20F\x52OM \x75\x73e\x72\x5fd\x65p\x6f\x73\x69\x74 \x77\x68\x65r\x65\n\x75\x73e\x72_id\x20\x3d '".${$qssynnrh}."\x27 and \x73\x74\x61tus\x20= '\x31' ")->result();if(!empty(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x71rn\x79\x71"]})){$mjofwkbhn="a\x63\x74\x69ve\x5fp\x6can\x73";$this->data["\x61\x63ti\x76e\x5f\x70lans"]=${$mjofwkbhn};}else{$this->data["a\x63\x74ive\x5fp\x6c\x61\x6es"]="";}$this->load->view("\x75s\x65r\x73/d\x61s\x68bo\x61rd",$this->data);}public function myreferal(){if(!$this->session->userdata("\x6c\x6fg\x69\x6e")){redirect("users/login");}${"\x47LO\x42A\x4cS"}["r\x67\x68uvp\x66\x73c\x77b"]="\x75\x73\x65r\x5f\x69d";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x67hu\x76pfs\x63w\x62"]}=$this->session->userdata("\x75\x73\x65\x72\x5fid");$this->data["t\x69\x74\x6ce"]="\x4dy Refer\x61l";$brivmejkkn="u\x73\x65r\x5fi\x64";$this->data["\x64\x6f\x77\x6e\x6c\x69n\x65"]=$this->db->query("S\x45LEC\x54 *\x20\x46\x52\x4fM\x20\x75s\x65\x72\x73\x20w\x68e\x72e\x20\x73\x70on\x73\x65r=\x27".${${"\x47\x4cO\x42\x41L\x53"}["\x6b\x77q\x75\x64\x72"]}."\x27 ")->num_rows();$this->data["r\x65fera\x6c\x5f\x6eam\x65"]=$this->db->query("\x53\x45LE\x43\x54\x20*\x20\x46\x52\x4fM \x75\x73ers\x20w\x68e\x72e\x20i\x64='".${$brivmejkkn}."\x27\x20")->row()->name;$this->data["\x330day\x73"]=$this->db->query("S\x45\x4cE\x43T *\x20F\x52OM\x20u\x73\x65r\x73 whe\x72e\x20s\x70o\x6eser='".${${"G\x4c\x4f\x42A\x4cS"}["\x6b\x77\x71\x75d\x72"]}."'\x20")->num_rows();$this->data["\x72\x65\x66\x65\x72\x72\x61\x6c_com"]=$this->db->query("SELEC\x54 SUM(a\x6d\x6fu\x6e\x74) \x61s\x20ea\x72ning F\x52\x4fM\x20\x68\x69stor\x79\x20\n\x77h\x65\x72\x65 user_\x69d \x3d\x20\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["kw\x71\x75d\x72"]}."'\x20and \x74y\x70e\x3d\x27\x72\x65\x66erral\x5f\x63\x6f\x6d\x6d\x69\x73\x73i\x6fn' ")->row()->earning;$this->data["t\x72a\x6esacti\x6f\x6e"]=$this->db->query("\x53ELE\x43T\x20* \x46R\x4fM\x20\x75s\x65rs\x20\x77\x68\x65r\x65 sp\x6f\x6e\x73\x65\x72 = \x27".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6b\x77\x71\x75d\x72"]}."\x27")->result();$this->load->view("us\x65r\x73/myr\x65\x66e\x72al",$this->data);}public function change_password(){if(!$this->session->userdata("l\x6f\x67\x69n")){redirect("\x75\x73ers/\x6co\x67in");}${"\x47\x4c\x4f\x42AL\x53"}["\x6a\x68\x71\x7au\x70\x6b"]="d\x61\x74\x61";${"\x47\x4c\x4fBA\x4c\x53"}["\x67\x66\x71\x6d\x67e\x6f\x78\x63g\x72"]="\x75\x73\x65\x72\x5fi\x64";${${"G\x4c\x4f\x42ALS"}["jh\x71\x7a\x75pk"]}["title"]="Ch\x61\x6e\x67\x65\x20p\x61\x73\x73\x77\x6fr\x64";${${"\x47\x4c\x4fB\x41LS"}["\x67\x66\x71\x6d\x67\x65\x6f\x78c\x67\x72"]}=$this->session->userdata("\x75se\x72\x5fi\x64");if($this->input->post()){$this->form_validation->set_rules("o\x6c\x64\x5f\x70\x61\x73swo\x72\x64","\x4fl\x64\x20\x50as\x73word","\x72equi\x72e\x64|\x63\x61l\x6cb\x61c\x6b\x5f\x6d\x61tch_\x6fld_pas\x73w\x6f\x72\x64");$this->form_validation->set_rules("ne\x77_p\x61\x73\x73wor\x64","Ne\x77 \x50\x61\x73s\x77o\x72d Field","\x72\x65\x71u\x69r\x65\x64");$this->form_validation->set_rules("c\x6fnfi\x72\x6d_\x6e\x65\x77_p\x61sswo\x72d","Conf\x69r\x6d\x20\x4e\x65w Pa\x73\x73wo\x72\x64","\x6d\x61t\x63h\x65\x73[\x6eew\x5fpa\x73s\x77\x6f\x72\x64]");if($this->form_validation->run()===FALSE){$this->session->set_flashdata("er\x72or\x5f\x6d\x65\x73\x73\x61\x67\x65","\x50\x61\x73s\x77o\x72d H\x61s B\x65e\x6e \x43\x68anged \x46\x61\x69l\x64.");redirect("use\x72\x73/\x63han\x67\x65_\x70\x61ss\x77o\x72\x64");}else{$this->Administrator_Model->change_password($this->input->post("ne\x77_pa\x73sw\x6f\x72\x64"));$this->session->set_flashdata("\x73uc\x63\x65\x73\x73_\x6d\x65\x73\x73\x61ge","P\x61\x73s\x77o\x72d\x20H\x61s \x42\x65en\x20C\x68a\x6eg\x65\x64 S\x75\x63cessf\x75l\x6c.");redirect("\x75\x73\x65\x72s/\x63\x68\x61ng\x65\x5f\x70ass\x77o\x72\x64");}}$this->load->view("u\x73\x65rs/ch\x61n\x67\x65\x70\x61s\x73\x77\x6fr\x64",$this->data);}public function match_old_password($old_password){${"\x47\x4c\x4f\x42ALS"}["t\x77\x6cp\x6c\x74gf"]="p\x61\x73\x73\x77or\x64";$this->form_validation->set_message("\x6d\x61\x74\x63h_o\x6cd\x5fpas\x73\x77ord","C\x75rre\x6et Pa\x73\x73w\x6f\x72d\x20\x44\x6f\x65\x73 \x6eot \x6dat\x63\x68\x65\x64,\x20Pl\x65ase Try \x41g\x61i\x6e.");$vdxaxiqn="\x71\x75\x65";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x78\x70\x64vp\x66\x70\x68"]}=md5(${${"G\x4cO\x42\x41\x4c\x53"}["\x76\x64\x66tm\x78\x77\x72c\x70\x69"]});${${"GLO\x42A\x4c\x53"}["\x66\x62\x65r\x68j\x72\x69j\x70"]}=$this->Administrator_Model->match_old_password(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x77l\x70l\x74\x67\x66"]});if(${$vdxaxiqn}){return true;}else{return false;}}public function register(){${${"\x47\x4cO\x42\x41\x4c\x53"}["d\x77\x6as\x79f\x79\x71"]}["\x74i\x74\x6c\x65"]="\x53i\x67n Up";$this->form_validation->set_rules("\x6e\x61m\x65","\x4e\x61\x6d\x65","\x72equ\x69\x72\x65\x64|ca\x6c\x6cback\x5f\x63\x68\x65c\x6b_u\x73erna\x6d\x65_e\x78i\x73t\x73");$this->form_validation->set_rules("\x65mai\x6c","E\x6d\x61i\x6c","\x72\x65\x71\x75\x69re\x64|\x63al\x6cb\x61c\x6b\x5f\x63\x68e\x63\x6b_\x65\x6d\x61\x69\x6c\x5f\x65\x78i\x73\x74s");$this->form_validation->set_rules("\x70\x68\x6fne","Ph\x6fn\x65","re\x71\x75i\x72ed|\x63\x61l\x6c\x62\x61c\x6b\x5fche\x63\x6b\x5f\x75s\x65r\x70h\x6fn\x65\x5f\x65xi\x73\x74\x73");$this->form_validation->set_rules("\x70\x61\x73swor\x64","Pa\x73\x73w\x6f\x72d","re\x71\x75i\x72\x65\x64");$this->form_validation->set_rules("pa\x73\x73\x77\x6frd2","\x43\x6fn\x66\x69r\x6d \x50as\x73w\x6f\x72\x64","\x6d\x61\x74\x63\x68es[p\x61ss\x77\x6frd]");if($this->form_validation->run()===FALSE){$this->load->view("\x75\x73\x65\x72\x73/r\x65g\x69ster",${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x77\x6a\x73\x79\x66\x79\x71"]});}else{${"G\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x63db\x70\x76"]="\x65\x6ec\x72\x79\x70t\x5f\x70\x61\x73s\x77\x6f\x72\x64";$beaqtwqgc="\x65n\x63\x72\x79\x70\x74\x5f\x70\x61\x73s\x77\x6fr\x64";${"\x47L\x4fBAL\x53"}["wh\x71\x6a\x68qj\x73\x74"]="\x75s\x65\x72\x65\x6dai\x6c";${"\x47\x4cO\x42AL\x53"}["\x6a\x72\x64\x6at\x68\x77c\x6b"]="u\x73e\x72\x65\x6d\x61\x69l";if($this->input->post("\x73\x70\x6fn\x73\x65r")!=""){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x77x\x64\x6e\x6cqan\x76\x65"]}=$this->db->query("SEL\x45CT *\x20\x46ROM\x20u\x73\x65r\x73 \x77\x68e\x72\x65 n\x61\x6de\x20\x3d\x20'".$this->input->post("\x73p\x6f\x6e\x73\x65r")."'")->row();if(empty(${${"\x47\x4cO\x42A\x4cS"}["jwx\x64\x6e\x6cq\x61\x6e\x76\x65"]})){$this->session->set_flashdata("\x65rror\x5f\x6d\x65\x73\x73\x61\x67e","In\x76ali\x64\x65\x20\x53p\x6f\x6ese\x72 \x4e\x61me!.");}else{${${"\x47L\x4f\x42\x41\x4c\x53"}["ud\x65r\x68\x68"]}=$check_user->id;}}else{${"\x47LO\x42\x41\x4c\x53"}["\x6cj\x77\x64\x69vul\x78\x64"]="\x73\x70\x6f\x6eser";${${"\x47L\x4f\x42A\x4c\x53"}["\x6cj\x77\x64\x69\x76\x75l\x78\x64"]}="\x30";}$pfjlfcow="li\x6e\x6b";$xtuluegu="a\x64\x6d\x69\x6e\x5fm\x61\x69\x6c";${"GL\x4fBAL\x53"}["\x79\x69\x6d\x6dv\x65\x61\x61\x78ri"]="u\x73\x65rn\x61\x6d\x65";${"\x47\x4cOB\x41\x4c\x53"}["\x77\x62\x72\x7ah\x6c\x68\x74\x78n"]="\x6d\x65\x73\x73\x61\x67\x65";${"\x47L\x4f\x42\x41\x4cS"}["\x6a\x6d\x6bj\x6f\x79\x61\x61\x61t"]="\x73\x69\x74\x65\x63\x6f\x6e\x66\x69g\x75r\x61\x74i\x6f\x6e";$zvapdnu="m\x65\x73\x73\x61g\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7ac\x64\x62\x70\x76"]}=md5($this->input->post("\x70a\x73\x73w\x6f\x72\x64"));${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x62\x6dt\x73\x75\x63\x67"]="s\x69te\x5f\x6ea\x6d\x65";$this->User_Model->register(${$beaqtwqgc},${${"\x47\x4c\x4fB\x41LS"}["\x75\x64\x65\x72\x68\x68"]});${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69a\x6fr\x7a\x70\x69"]}=$this->input->post("\x6ea\x6d\x65");${"\x47L\x4fB\x41L\x53"}["\x65\x64qh\x70\x6cq\x75\x69\x72"]="\x6de\x73\x73\x61\x67\x65";$jtxdldv="\x6d\x61\x69l_\x73\x75\x62\x6a\x65\x63t_\x64\x61\x74a";${$pfjlfcow}=base_url()."user/\x6co\x67in";$znsksyvduuh="\x6de\x73\x73\x61\x67e";$lxgniwehpb="\x75\x73\x65\x72na\x6de";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x78\x66\x64usv\x67\x65\x69"]="\x73ubj\x65\x63\x74";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6a\x72\x64\x6at\x68w\x63\x6b"]}=$this->input->post("\x65\x6d\x61i\x6c");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x61wnuo\x76l\x62d"]}=base_url()."\x75se\x72s/regi\x73t\x65r?r\x65\x67=".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x61or\x7a\x70\x69"]};$qymmaut="\x6de\x73\x73a\x67e";${${"\x47LOB\x41L\x53"}["\x6am\x6b\x6ao\x79\x61\x61\x61\x74"]}=$this->Administrator_Model->get_siteconfiguration();${${"\x47\x4c\x4fBA\x4c\x53"}["o\x6df\x7am\x6bz\x7a"]}=${${"G\x4c\x4f\x42A\x4cS"}["\x6a\x6fh\x6b\x6dw\x67n\x64\x62"]}[0]["\x63o\x6e\x74\x61\x63\x74_e\x6d\x61il"];${${"\x47LO\x42A\x4cS"}["\x63n\x63\x78\x6dp\x7a\x6fd\x75"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["j\x6f\x68\x6b\x6dw\x67\x6e\x64\x62"]}[0]["si\x74e_\x6e\x61m\x65"];$uvzfihiyzf="\x6d\x65\x73\x73\x61\x67\x65";${${"GLOB\x41L\x53"}["\x66io\x70g\x6c\x62\x66\x67\x69"]}="1";${$jtxdldv}=$this->User_Model->getMailTemplate(${${"\x47L\x4f\x42\x41\x4cS"}["fi\x6f\x70\x67l\x62\x66\x67i"]});${${"\x47L\x4f\x42A\x4c\x53"}["\x77\x62\x72\x7a\x68\x6c\x68\x74\x78n"]}=str_replace("[\x46I\x52ST\x4e\x41ME]",${${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x61o\x72zp\x69"]},$mail_subject_data->message);${${"G\x4c\x4f\x42\x41L\x53"}["c\x66\x64\x6f\x79\x6b\x73\x78\x75p"]}=str_replace("[USER\x4e\x41ME]",${$lxgniwehpb},${${"\x47LOBALS"}["\x63\x66\x64\x6f\x79\x6b\x73x\x75\x70"]});${$znsksyvduuh}=str_replace("[\x52\x45FER\x52A\x4c\x5fLINK]",${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76a\x77\x6eu\x6f\x76l\x62\x64"]},${$qymmaut});${$zvapdnu}=str_replace("\x23ve\x72fyu\x72\x6c",${${"\x47\x4cOBA\x4c\x53"}["\x70\x67lv\x6csx\x62"]},${${"\x47LO\x42\x41L\x53"}["\x63fd\x6fy\x6bsx\x75\x70"]});${$uvzfihiyzf}=str_replace("\x23ad\x6d\x69\x6eem\x61\x69\x6c",${${"GL\x4f\x42A\x4cS"}["o\x6d\x66z\x6d\x6b\x7a\x7a"]},${${"GLOB\x41\x4c\x53"}["\x63\x66\x64\x6f\x79k\x73x\x75\x70"]});${${"\x47L\x4f\x42A\x4c\x53"}["c\x66doy\x6bs\x78u\x70"]}=str_replace("#\x73it\x65nam\x65",${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x62mts\x75c\x67"]},${${"\x47\x4cOB\x41\x4cS"}["c\x66\x64oyksxup"]});$htxbasskvbe="\x73\x75\x62\x6a\x65c\x74";${${"\x47L\x4f\x42\x41L\x53"}["sx\x66\x64\x75s\x76\x67\x65\x69"]}=$mail_subject_data->subject;$this->sendmail(${${"\x47\x4cO\x42\x41\x4cS"}["\x77h\x71\x6a\x68q\x6as\x74"]},${${"\x47\x4c\x4f\x42AL\x53"}["\x79\x69\x6dm\x76\x65\x61\x61\x78r\x69"]},${$htxbasskvbe},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x64\x71\x68\x70l\x71\x75\x69\x72"]},${$xtuluegu});$this->session->set_flashdata("\x73\x75c\x63e\x73s_m\x65s\x73ag\x65","Yo\x75 a\x72e\x20re\x67i\x73t\x65\x72e\x64\x20a\x6ed\x20\x63\x61\x6e \x6co\x67 \x69n.");redirect("us\x65rs/\x6c\x6f\x67\x69\x6e");}}public function testmail(){${"GLO\x42\x41\x4c\x53"}["\x65\x6c\x68\x79i\x67\x61ha\x6a"]="\x75\x73\x65\x72e\x6d\x61\x69l";$qbzfhulpftc="\x68e\x61d\x65\x72\x73";${"G\x4cOB\x41L\x53"}["\x68\x69wb\x61\x71\x6fx"]="us\x65\x72\x65\x6d\x61\x69\x6c";$exgkyulqewz="s\x75b\x6ae\x63t";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x6b\x73\x66\x73\x66dp\x72\x72f"]="\x65\x6da\x69\x6c";${"\x47\x4c\x4f\x42AL\x53"}["\x65\x63\x63\x72\x70\x72rq\x71\x6ek"]="\x73u\x62\x6a\x65\x63t";$nidyqzdl="\x65\x6d\x61\x69\x6c";${"G\x4cOB\x41L\x53"}["\x79\x68jmbr"]="\x68\x65a\x64e\x72s";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x6chyig\x61h\x61\x6a"]}="a\x73ho\x6b\x65\x63\x656\x38@\x67\x6d\x61i\x6c.\x63\x6f\x6d";${$exgkyulqewz}="\x74\x65\x73t\x69\x6e\x67";${${"G\x4c\x4fBA\x4c\x53"}["\x63\x66\x64\x6fy\x6b\x73\x78\x75\x70"]}="test\x69\x6eg m\x61i\x6c";$cftkidj="he\x61d\x65\x72s";${${"\x47\x4c\x4f\x42A\x4cS"}["o\x6d\x66\x7amk\x7a\x7a"]}="\x61\x73ho\x6b\x65c\x65\x36\x38\x40\x67mai\x6c\x2e\x63o\x6d";${${"G\x4c\x4f\x42\x41L\x53"}["\x6cft\x73\x68\x6e\x76fkto"]}="Fro\x6d:\x20$admin_mail\r\n";${$cftkidj}.="\x4d\x49ME-\x56\x65\x72\x73i\x6fn: \x31\x2e\x30\r\n";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x68j\x6d\x62\x72"]}.="\x43on\x74en\x74-\x54y\x70\x65:\x20text/html; \x63\x68\x61\x72se\x74=\x75\x74\x66-8\r\n";$doujtdfc="\x6des\x73\x61\x67\x65";${${"\x47LOB\x41\x4c\x53"}["nksf\x73\x66\x64\x70\x72\x72\x66"]}=mail(${${"G\x4cO\x42\x41L\x53"}["\x68iwb\x61\x71\x6fx"]},${${"\x47L\x4fB\x41\x4c\x53"}["\x65ccrprrq\x71n\x6b"]},${$doujtdfc},${$qbzfhulpftc});if(${$nidyqzdl}){echo"\x73\x65\x6e\x64";}else{echo"n\x6ft \x73\x65nd";}}public function sendmail($useremail,$username,$subject,$message,$admin_mail){${"\x47L\x4fBA\x4c\x53"}["\x66wf\x71\x77\x71\x61\x67"]="\x75\x73\x65\x72em\x61i\x6c";$this->load->library("\x65\x6dai\x6c",array("m\x61\x69\x6c\x74\x79p\x65"=>"\x68tm\x6c"));$xnoyhde="\x61d\x6d\x69\x6e\x5f\x6d\x61\x69\x6c";$this->email->from(${$xnoyhde},"Si\x74e");$hlrydetd="m\x65\x73sa\x67\x65";$this->email->to(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x77\x66q\x77\x71\x61g"]});$this->email->subject(${${"\x47\x4c\x4f\x42\x41LS"}["\x6dd\x6f\x6bg\x64"]});$this->email->message(${$hlrydetd});if($this->email->send()){return true;}else{$unpjbbgpof="\x68e\x61\x64\x65\x72\x73";$sonypyhp="\x75\x73\x65\x72\x65\x6da\x69\x6c";$ynlyriier="\x6d\x65s\x73\x61\x67e";${$unpjbbgpof}="\x46\x72o\x6d:\x20$admin_mail\r\n";$kddcydarkep="he\x61\x64\x65\x72\x73";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6cf\x74\x73\x68nv\x66k\x74\x6f"]}.="MIME-V\x65\x72s\x69\x6f\x6e: \x31.\x30\r\n";${"GLOB\x41LS"}["\x77\x75\x76\x66\x77\x64\x62\x67\x6a"]="h\x65\x61de\x72\x73";${${"\x47\x4cO\x42\x41\x4cS"}["\x77\x75\x76\x66w\x64b\x67\x6a"]}.="\x43\x6fn\x74ent-T\x79\x70\x65:\x20\x74\x65xt/\x68\x74\x6dl;\x20cha\x72\x73et=u\x74\x66-8\r\n";mail(${$sonypyhp},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6ddo\x6b\x67\x64"]},${$ynlyriier},${$kddcydarkep});return true;}}public function login(){${${"\x47\x4cO\x42ALS"}["d\x77\x6as\x79\x66y\x71"]}["\x74\x69t\x6c\x65"]="Si\x67n\x20I\x6e";$this->form_validation->set_rules("\x75s\x65\x72name","U\x73\x65\x72na\x6de","\x72equ\x69\x72ed");$this->form_validation->set_rules("\x70\x61\x73\x73w\x6frd","P\x61\x73swo\x72d","re\x71\x75\x69re\x64");if($this->form_validation->run()===FALSE){$this->load->view("\x75\x73\x65rs/\x6co\x67in",${${"GL\x4fBALS"}["\x64w\x6a\x73\x79fyq"]});}else{$cnffsogbn="u\x73er\x6e\x61m\x65";${"\x47\x4c\x4fBA\x4c\x53"}["\x6dd\x61\x6d\x76ny\x68"]="u\x73e\x72\x5f\x69d";${${"G\x4cO\x42\x41\x4c\x53"}["\x69a\x6f\x72\x7a\x70\x69"]}=$this->input->post("\x75se\x72\x6e\x61\x6de");${${"GL\x4f\x42\x41L\x53"}["y\x79o\x73\x6d\x69o"]}=md5($this->input->post("\x70\x61\x73\x73w\x6fr\x64"));${${"\x47\x4cO\x42A\x4c\x53"}["\x6d\x64\x61\x6dv\x6ey\x68"]}=$this->User_Model->login(${$cnffsogbn},${${"\x47\x4c\x4fB\x41L\x53"}["\x79\x79\x6f\x73\x6d\x69\x6f"]});if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6b\x77qudr"]}){if($user_id->get_status=="\x30"){$owivbecfbds="\x75\x73e\x72\x5f\x64\x61ta";$tdqsylmfsu="u\x73\x65\x72\x6ea\x6d\x65";$gkujosth="us\x65\x72\x5f\x64\x61t\x61";${$owivbecfbds}=array("us\x65r_\x69\x64"=>$user_id->id,"u\x73er\x6ea\x6d\x65"=>${$tdqsylmfsu},"\x65\x6da\x69\x6c"=>$user_id->email,"lo\x67i\x6e"=>true);$this->session->set_userdata(${$gkujosth});$this->session->set_flashdata("s\x75\x63c\x65\x73s\x5f\x6d\x65\x73\x73\x61\x67\x65","\x59o\x75 \x61\x72e \x6e\x6fw log\x67ed\x20\x69n\x2e");redirect("u\x73\x65\x72\x73/\x64a\x73hb\x6fa\x72\x64");}else{$this->session->set_flashdata("e\x72r\x6f\x72_m\x65s\x73\x61\x67e","\x4cogin is \x69\x6e\x76a\x6ci\x64\x2e");redirect("\x75se\x72\x73/l\x6f\x67in");}}else{$this->session->set_flashdata("er\x72\x6fr_\x6de\x73\x73\x61g\x65","L\x6f\x67\x69n\x20\x69s\x20inval\x69d\x2e");redirect("use\x72s/\x6c\x6fg\x69n");}}}public function logout(){$this->session->unset_userdata("log\x69n");$this->session->unset_userdata("us\x65r\x5f\x69\x64");$this->session->unset_userdata("\x75se\x72\x6ea\x6de");$this->session->set_flashdata("\x73\x75ccess_\x6d\x65s\x73ag\x65","Yo\x75\x20are\x20\x6c\x6f\x67g\x65\x64\x20\x6f\x75\x74.");redirect(base_url());}public function check_username_exists($username){$this->form_validation->set_message("\x63heck\x5fu\x73\x65r\x6e\x61me\x5fexists","T\x68at use\x72\x6eame\x20is\x20\x61lrea\x64\x79 \x74\x61\x6be\x6e, \x50\x6cea\x73e\x20c\x68o\x6f\x73\x65\x20\x61 d\x69\x66fe\x72\x65n\x74\x20on\x65.");if($this->User_Model->check_username_exists(${${"\x47\x4cOBA\x4c\x53"}["\x69\x61\x6f\x72\x7a\x70\x69"]})){return true;}else{return false;}}public function check_email_exists($email){$this->form_validation->set_message("ch\x65\x63k_emai\x6c_exis\x74\x73","\x54\x68\x69s em\x61i\x6c\x20\x69s \x61lr\x65ad\x79 r\x65g\x69s\x74\x65re\x64\x2e");if($this->User_Model->check_email_exists(${${"\x47L\x4fB\x41LS"}["\x70i\x69\x73\x73\x67\x78p\x62\x67"]})){return true;}else{return false;}}public function check_email_forgot($email){$dwmwpjecwrp="\x65\x6d\x61i\x6c\x5f\x76\x65\x72\x69\x66y";$wiemyberib="\x65m\x61\x69\x6c";${$dwmwpjecwrp}=$this->db->query("S\x45LE\x43T\x20* \x46\x52OM u\x73er\x73\x20w\x68ere\x20\x65\x6d\x61\x69l\x20='".${$wiemyberib}."\x27 a\x6e\x64 id\x20\x21=\x20\x271'")->num_rows();if(${${"\x47\x4cO\x42\x41L\x53"}["oln\x72\x67\x73\x6fi\x6f\x66\x69"]}){return true;}else{return false;}}public function check_userphone_exists($username){$this->form_validation->set_message("\x63hec\x6b\x5fus\x65rphone_\x65xi\x73\x74s","Tha\x74 pho\x6e\x65 numb\x65\x72\x20\x69\x73\x20a\x6c\x72eady t\x61ke\x6e,\x20\x50l\x65as\x65\x20c\x68oo\x73e\x20\x61\x20\x64i\x66f\x65r\x65\x6et\x20o\x6ee.");if($this->User_Model->check_userphone_exists(${${"\x47\x4cOB\x41\x4c\x53"}["\x69\x61orzpi"]})){return true;}else{return false;}}public function forget_password_mail(){$this->load->library("for\x6d_\x76\x61l\x69d\x61\x74i\x6f\x6e");$nhxtrqcoo="\x65\x6d\x61\x69\x6c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["aclik\x70\x67\x67\x74\x74\x70"]="\x65\x6d\x61il";$this->form_validation->set_rules("u\x73e\x72\x65m\x61\x69\x6c","\x45mai\x6c","\x72eq\x75\x69r\x65d|t\x72\x69m|x\x73\x73_\x63l\x65an");${$nhxtrqcoo}=$this->input->post("\x75sere\x6d\x61\x69\x6c");if($this->check_email_forgot(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x63\x6cik\x70\x67\x67tt\x70"]})){$nnjilbxe="\x6de\x73s\x61\x67\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["e\x6etw\x6b\x66\x78\x73t\x65"]="\x73i\x74e_\x6eame";${"\x47\x4c\x4f\x42A\x4cS"}["v\x68\x6d\x6f\x66\x62"]="\x6d\x65s\x73ag\x65";$tpwmwufv="\x73i\x74\x65\x63\x6f\x6efi\x67\x75ra\x74\x69\x6fn";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x6a\x64\x6es\x75\x62\x72"]}=$this->generateRandomString(7);$couftwxqyj="\x73\x69\x74e\x63onfigu\x72a\x74i\x6fn";$this->Administrator_Model->change_password_forgot(${${"\x47L\x4fB\x41\x4c\x53"}["y\x6a\x64ns\x75\x62\x72"]},${${"\x47\x4c\x4fB\x41L\x53"}["\x70i\x69ss\x67\x78\x70b\x67"]});$hvmclji="su\x62j\x65\x63\x74";${"\x47\x4c\x4f\x42AL\x53"}["t\x6d\x75\x61sjd\x78j\x62"]="m\x65\x73\x73a\x67\x65";${$tpwmwufv}=$this->Administrator_Model->get_siteconfiguration();${${"G\x4c\x4fB\x41\x4cS"}["\x6f\x6d\x66z\x6dk\x7az"]}=${${"G\x4c\x4f\x42\x41\x4cS"}["\x6a\x6f\x68\x6b\x6d\x77\x67\x6e\x64b"]}[0]["\x63\x6fn\x74a\x63t\x5fem\x61\x69l"];$peicbd="m\x65ssage";$cgwaaontgfup="\x73\x75\x62\x6a\x65\x63t";${"\x47\x4cO\x42\x41\x4c\x53"}["\x7al\x67\x70\x76\x76q\x6a\x70\x75"]="\x74\x65\x6d\x70\x5fp\x61\x73s";${"\x47\x4c\x4f\x42A\x4cS"}["\x61\x61\x6c\x73\x66w\x67\x64lnh\x62"]="\x6d\x65\x73\x73\x61\x67e";${${"G\x4c\x4f\x42A\x4c\x53"}["\x63\x6e\x63xm\x70\x7a\x6f\x64\x75"]}=${$couftwxqyj}[0]["si\x74\x65\x5f\x6e\x61\x6de"];$mqsypavstp="me\x73s\x61\x67\x65";${${"G\x4cO\x42AL\x53"}["\x66\x69\x6f\x70\x67\x6c\x62\x66\x67\x69"]}="2";${${"\x47\x4cOB\x41\x4c\x53"}["\x70v\x6f\x6d\x71\x77u\x6b\x64\x75\x75"]}=$this->User_Model->getMailTemplate(${${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x69o\x70\x67l\x62f\x67\x69"]});${${"G\x4c\x4fB\x41L\x53"}["\x63\x66\x64\x6f\x79\x6b\x73x\x75\x70"]}=str_replace("[NAME]",${${"\x47\x4c\x4f\x42A\x4c\x53"}["p\x69\x69\x73\x73\x67\x78\x70\x62g"]},$mail_subject_data->message);${$mqsypavstp}=str_replace("[E\x4dA\x49\x4c]",${${"G\x4cOB\x41L\x53"}["\x70\x69\x69\x73sg\x78\x70\x62\x67"]},${${"\x47LO\x42\x41L\x53"}["a\x61ls\x66wg\x64\x6c\x6e\x68b"]});${${"G\x4c\x4f\x42\x41L\x53"}["c\x66\x64\x6fy\x6bs\x78u\x70"]}=str_replace("[\x54\x52A\x4e\x53PI\x4e]",${${"\x47\x4c\x4f\x42AL\x53"}["z\x6cg\x70\x76\x76\x71\x6a\x70\x75"]},${$nnjilbxe});$srqrfvdsnvd="\x61\x64\x6d\x69\x6e\x5fm\x61\x69\x6c";${${"\x47\x4cO\x42A\x4c\x53"}["\x76\x68\x6d\x6ff\x62"]}=str_replace("#site\x6ea\x6de",${${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x6e\x74\x77\x6b\x66x\x73t\x65"]},${$peicbd});${${"G\x4c\x4fBA\x4c\x53"}["\x63f\x64\x6f\x79\x6b\x73xu\x70"]}=str_replace("\x23\x61dm\x69\x6ee\x6da\x69l",${$srqrfvdsnvd},${${"G\x4c\x4f\x42A\x4c\x53"}["\x74\x6d\x75a\x73\x6a\x64\x78\x6a\x62"]});${$cgwaaontgfup}=$mail_subject_data->subject;${${"\x47\x4c\x4fB\x41L\x53"}["\x6bij\x6et\x6c\x63\x6f\x62\x78\x6c"]}=$this->sendmail(${${"GL\x4f\x42\x41LS"}["p\x69\x69ssgxp\x62\x67"]},${${"G\x4c\x4f\x42AL\x53"}["\x69\x61\x6f\x72zpi"]},${$hvmclji},${${"G\x4cO\x42ALS"}["\x63\x66d\x6fyk\x73x\x75\x70"]},${${"\x47LO\x42\x41\x4c\x53"}["o\x6df\x7amkz\x7a"]});if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x69\x6a\x6e\x74\x6c\x63\x6f\x62xl"]}){$this->session->set_flashdata("\x73u\x63ce\x73s_\x6des\x73a\x67\x65","\x63\x68\x65\x63\x6b\x20y\x6f\x75r \x65\x6dail\x20f\x6f\x72\x20in\x73\x74r\x75ct\x69\x6f\x6es, th\x61nk\x20\x79o\x75");redirect("\x70\x61\x67e\x73/rese\x74");}else{$this->session->set_flashdata("\x65\x72\x72or\x5fmessa\x67\x65","em\x61i\x6c\x20wa\x73 \x6e\x6f\x74\x20\x73en\x74,\x20please \x63\x6fnta\x63\x74 yo\x75\x72\x20admi\x6eist\x72a\x74or");redirect("\x70a\x67\x65s/r\x65\x73e\x74");}}else{$this->session->set_flashdata("\x65\x72r\x6fr_m\x65\x73\x73\x61ge","your\x20\x65\x6da\x69l \x69\x73 \x6e\x6f\x74 i\x6e o\x75\x72 \x64a\x74\x61\x62as\x65");redirect("p\x61g\x65s/\x72\x65\x73et");}}function generateRandomString($length=8){${"\x47L\x4f\x42ALS"}["\x6e\x74\x71\x6c\x79\x68\x6e"]="\x69";${"\x47LO\x42A\x4c\x53"}["\x68\x6f\x77\x75\x68\x78\x73kee"]="\x69";${"\x47L\x4f\x42\x41\x4c\x53"}["yml\x79\x6afh"]="r\x61ndo\x6d\x53\x74r\x69\x6e\x67";$agcotfqs="\x6c\x65ng\x74\x68";${${"\x47L\x4f\x42\x41\x4cS"}["\x77\x66\x6b\x7a\x62nm\x79yf\x6a"]}="\x301\x323\x34\x35\x367\x389abc\x64\x65\x66ghi\x6akl\x6d\x6e\x6fpqrs\x74\x75vw\x78\x79zA\x42\x43\x44\x45\x46G\x48IJK\x4cM\x4eO\x50\x51\x52\x53\x54\x55VWXY\x5a";${${"G\x4cOB\x41LS"}["\x77\x7a\x79oo\x70\x6f\x75\x62"]}="";for(${${"\x47\x4cOB\x41\x4cS"}["\x6e\x74\x71l\x79\x68\x6e"]}=0;${${"\x47L\x4fB\x41L\x53"}["\x68\x6f\x77\x75h\x78s\x6bee"]}<${$agcotfqs};${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["t\x65\x6f\x74\x6dke\x7a\x6als"]}++){${"G\x4cO\x42A\x4c\x53"}["u\x76w\x6c\x64\x73\x6e\x65"]="\x63ha\x72\x61c\x74\x65\x72s";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x7a\x79o\x6f\x70\x6f\x75\x62"]}.=${${"GL\x4f\x42\x41\x4c\x53"}["\x77\x66\x6b\x7a\x62n\x6dyy\x66\x6a"]}[rand(0,strlen(${${"\x47LOB\x41\x4cS"}["\x75\x76\x77l\x64s\x6ee"]})-1)];}return${${"\x47\x4c\x4fB\x41LS"}["\x79ml\x79\x6a\x66\x68"]};}public function Earnings(){${"\x47\x4cOB\x41\x4c\x53"}["\x66\x76\x73r\x6d\x76\x6c\x73\x67v"]="\x61\x63\x74\x69\x76e_\x70l\x61\x6es";${${"\x47LO\x42\x41\x4c\x53"}["\x61\x6ae\x65\x79\x6c\x79\x6f"]}=$this->db->query("S\x45L\x45\x43\x54\x20* \x46RO\x4d\x20f\x65e\x5f\x63ontro\x6c\x73")->row();${${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x76\x73\x72mv\x6c\x73\x67\x76"]}=$this->db->query("S\x45LECT *\x20FRO\x4d \x75s\x65r\x5fd\x65\x70o\x73\x69t \x77\x68e\x72\x65\x20\x73\x74\x61t\x75\x73\x20\x3d\x20'\x31\x27 ")->result();if(!empty(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62qrn\x79\x71"]})){$turfgivv="\x61\x63\x74i\x76\x65_pla\x6es";foreach(${$turfgivv} as${${"\x47LO\x42AL\x53"}["\x6f\x73\x62l\x76\x72\x66"]}){${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x67\x76\x78d\x74m"]="\x63h\x65c\x6b\x5f\x69n\x74\x65\x72e\x73\x74";${"\x47\x4cO\x42A\x4c\x53"}["l\x67\x74\x63\x67\x6ao\x73h\x74\x68"]="\x63heck\x5fi\x6e\x74\x65\x72e\x73\x74";${${"\x47LOBA\x4c\x53"}["\x79g\x76xdt\x6d"]}=$this->db->query("\x53\x45LECT\x20* \x66\x72\x6f\x6d \x68\x69\x73\x74\x6fry\x20\x77here\x20inv\x65st_i\x64\x20\x3d\x20\x27".$row->id."'\nan\x64\x20\x64a\x74\x65\x20= \x27".date("Y-m-\x64")."'")->num_rows();if(${${"G\x4c\x4f\x42A\x4cS"}["\x6c\x67\x74c\x67\x6ao\x73\x68\x74\x68"]}<=0){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x6f\x63\x6a\x64\x66\x77"]="\x64\x61\x69ly_i\x6e\x74e\x72\x65s\x74";$wycwrnrtxcp="inte\x72e\x73t_p\x72\x6f\x66i\x74";$mpjzngevfgla="\x6fv\x65r_\x61\x6c\x6c_\x70\x72of\x69t";$uemwowtyx="\x6e\x65\x78\x74\x5f\x64\x61\x74\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["z\x61\x64\x62\x70\x77j"]="\x72\x65\x66e\x72r\x61\x6c_r\x65w\x61\x72\x64";${"\x47LO\x42\x41\x4c\x53"}["\x76phld\x70\x62\x79\x7a"]="\x6f\x76e\x72_all\x5fpr\x6f\x66it";${${"\x47\x4cOBA\x4c\x53"}["\x75\x78thcuc\x72\x6aw"]}=$interest_get->daily_interest;$kbzqvvxoedlk="o\x76\x65\x72\x5f\x61\x6c\x6c_c\x6f\x75n\x74";${${"GL\x4fB\x41\x4cS"}["n\x6f\x69\x78u\x72\x79\x64\x73"]}=$interest_get->bonus_percentage;${${"\x47\x4cO\x42A\x4c\x53"}["z\x61\x64b\x70\x77\x6a"]}=$interest_get->referral_reward;${"\x47\x4c\x4f\x42A\x4cS"}["\x64\x63\x70o\x79rz"]="\x62\x6f\x6eu\x73_\x69nt\x65r\x65\x73\x74";${${"\x47L\x4f\x42\x41\x4cS"}["xv\x69f\x6b\x71\x68t\x72w"]}=$row->amount*${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65o\x63jd\x66w"]}/100;if(${${"\x47\x4c\x4f\x42\x41LS"}["\x64\x63\x70\x6f\x79\x72z"]}>0){${"G\x4c\x4fB\x41\x4c\x53"}["\x73b\x61\x64c\x70hp\x75"]="bon\x75s\x5f\x69\x6e\x74\x65\x72\x65st";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x75txw\x64"]}=${${"\x47\x4c\x4f\x42\x41LS"}["x\x76i\x66\x6b\x71\x68\x74\x72\x77"]}*${${"G\x4c\x4f\x42A\x4cS"}["\x73b\x61\x64\x63ph\x70\x75"]}/100;}$portscehiw="n\x65\x78\x74_d\x61\x74\x65";${$mpjzngevfgla}=$row->profit+${$wycwrnrtxcp};${$kbzqvvxoedlk}=$row->days_count+1;${$uemwowtyx}=date("Y-\x6d-d",strtotime("\x20+1 d\x61\x79"));${${"\x47L\x4f\x42\x41L\x53"}["\x71w\x6ai\x6cgq"]}=array("pr\x6f\x66\x69t"=>${${"G\x4cO\x42\x41\x4cS"}["\x76ph\x6cd\x70by\x7a"]},"day\x73\x5fc\x6f\x75nt"=>${${"\x47L\x4fB\x41\x4cS"}["\x7ay\x6e\x79y\x6e\x74\x73\x6b\x62\x6f"]},"run\x64ate"=>${$portscehiw});if($row->reward_status=="\x31"){${"\x47L\x4fBA\x4c\x53"}["\x79o\x73\x66\x6cn\x73\x63\x70"]="\x6fv\x65r_\x61l\x6c_p\x72\x6f\x66\x69t";${"GL\x4fBA\x4c\x53"}["\x66\x6a\x68\x75e\x73p\x6d\x6e\x64"]="bonu\x73_\x70\x72\x6f\x66\x69\x74";${"\x47\x4cO\x42A\x4c\x53"}["j\x6d\x71j\x6c\x7a\x61md\x6f\x6b"]="\x75\x70dat\x65_\x64\x65pos\x69t";${${"\x47\x4c\x4fBALS"}["y\x6f\x73\x66\x6c\x6e\x73\x63\x70"]}=$row->reward_amount+${${"\x47\x4c\x4f\x42\x41\x4cS"}["f\x6a\x68\x75\x65\x73\x70\x6dn\x64"]};${${"GLO\x42A\x4c\x53"}["j\x6d\x71\x6a\x6cz\x61\x6d\x64o\x6b"]}["\x72e\x77a\x72d_\x61\x6do\x75n\x74"]=${${"\x47\x4cOBA\x4c\x53"}["\x71y\x64\x72\x63i\x63"]};}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dyf\x6a\x6f\x63\x61"]}=$this->db->where("\x69\x64",$row->id)->update("u\x73er_d\x65\x70osit",${${"G\x4cO\x42\x41\x4cS"}["\x71wj\x69\x6c\x67q"]});if(${${"\x47\x4cOB\x41\x4cS"}["\x6d\x79fj\x6fca"]}){${"GLO\x42\x41\x4cS"}["\x6d\x62y\x68qo\x73b"]="\x64e\x70\x6f\x73\x69\x74\x5fd\x61\x74a";$tsxirtadhte="\x69\x6e\x73e\x72t";${${"\x47LOB\x41\x4c\x53"}["\x6d\x62y\x68\x71\x6fsb"]}=array("us\x65r\x5fi\x64"=>$row->user_id,"a\x6d\x6fu\x6e\x74"=>${${"\x47L\x4f\x42A\x4cS"}["\x78\x76\x69\x66k\x71\x68trw"]},"\x74\x79\x70\x65"=>"in\x74\x72e\x73t","d\x61\x74e"=>date("\x59-m-d"),"s\x74a\x74u\x73"=>"1","\x69n\x76\x65\x73t_id"=>$row->id,"d\x65\x73\x63r\x69ption"=>"In\x74er\x65st\x20Ma\x64e");$ylqlxuwrk="ref\x65\x72\x72a\x6c\x5fco\x6d\x6di\x73si\x6f\x6e";${$tsxirtadhte}=$this->db->insert("\x68\x69s\x74o\x72\x79",${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x6b\x6a\x62\x70\x77\x6b"]});if($row->reward_status=="\x31"){$gsninggftgx="\x62o\x6e\x75\x73\x5fpr\x6ff\x69\x74";${${"\x47\x4cOBA\x4c\x53"}["si\x6clorg\x72\x71b\x73\x6a"]}=array("u\x73er\x5fid"=>$row->user_id,"\x61\x6do\x75nt"=>${$gsninggftgx},"t\x79\x70\x65"=>"\x72e\x77\x61\x72d","d\x61\x74e"=>date("Y-m-d"),"\x73\x74\x61tu\x73"=>"\x31","\x69\x6eves\x74_\x69\x64"=>$row->id,"\x64e\x73\x63r\x69pt\x69\x6f\x6e"=>"R\x65ward\x20\x4d\x61de");}${$ylqlxuwrk}=$this->referral_commission($row->user_id,${${"GLO\x42\x41\x4c\x53"}["x\x76\x69\x66\x6b\x71h\x74\x72w"]},${${"G\x4c\x4fBAL\x53"}["\x6flk\x67e\x6b\x64\x6a"]});if(${${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x6b\x6fd\x6fnls\x64\x73\x65\x6b"]}){${${"\x47LO\x42AL\x53"}["\x68\x73x\x72bo\x74\x6cf\x6d\x71"]}=$row->days_count;$vdrlmenxd="\x64\x61t\x65\x5fco\x75\x6et\x73";${$vdrlmenxd}=$this->db->query("SEL\x45\x43\x54\x20*\x20F\x52\x4fM\x20user\x5fdep\x6fsit WHER\x45\x20i\x64 \x3d '".$row->id."\x27")->row();if($date_counts->days_count%30=="0"){${${"\x47\x4cO\x42\x41L\x53"}["\x75u\x72\x69pc\x74\x66\x64\x69"]}=date("Y-m-\x64",strtotime("+3\x30 d\x61\x79\x73"));${"GL\x4fB\x41\x4c\x53"}["\x69g\x79\x6f\x75j\x61\x77"]="\x75\x70\x64\x61\x74\x65_w\x69t\x68\x64\x72\x61\x77\x5f\x64ate";$ocwcilwum="u\x70\x64\x61\x74\x65\x5f\x77\x69\x74\x68\x64\x72\x61w\x5fd\x61\x74e";${${"\x47L\x4f\x42\x41\x4c\x53"}["igy\x6f\x75\x6a\x61\x77"]}["\x6ee\x78t_\x77i\x74h\x64ra\x77"]=${${"\x47\x4cO\x42\x41L\x53"}["\x75\x75r\x69\x70ct\x66\x64\x69"]};${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x79\x66j\x6f\x63\x61"]}=$this->db->where("i\x64",$row->id)->update("user\x5fdepo\x73i\x74",${$ocwcilwum});${${"GL\x4f\x42A\x4cS"}["\x65\x78\x6b\x68\x63\x6e\x64\x6af\x62x"]}=array("\x73\x74a\x74\x75\x73"=>"1",);}}}}}}}public function referral_commission($userid,$amount,$daily_interest){$eepvkfvbjbbb="g\x65t_\x72ef\x65\x72\x72a\x6c";$slzidnekd="\x67\x65t\x5f\x72\x65\x66e\x72\x72\x61l";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["pb\x73\x74c\x6ah"]="u\x73\x65\x72\x69\x64";${$eepvkfvbjbbb}=$this->db->query("\x53\x45\x4c\x45\x43\x54\x20*\x20\x66\x72\x6f\x6d u\x73\x65\x72s w\x68\x65r\x65\x20\x69\x64\x20\x3d\x20\x27".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x62\x73\x74\x63\x6a\x68"]}."' ")->row()->sponser;if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63n\x7aq\x6a\x7a\x70\x79\x72l"]}!=""&&${$slzidnekd}>0){${"G\x4c\x4fBAL\x53"}["g\x72\x67\x6f\x62\x6c\x6f\x6b\x63j"]="\x67\x65\x74_\x72e\x66err\x61\x6c";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x76\x69fkq\x68\x74\x72\x77"]}=${${"\x47\x4c\x4f\x42\x41LS"}["\x78m\x6dj\x75\x6e\x70"]}*${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x78\x74h\x63u\x63\x72\x6a\x77"]}/100;$bvamjudh="\x64\x65p\x6fs\x69t\x5fd\x61\x74\x61";${$bvamjudh}=array("u\x73\x65\x72_\x69d"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x72\x67o\x62\x6c\x6f\x6b\x63\x6a"]},"\x61\x6do\x75n\x74"=>${${"\x47\x4c\x4fBA\x4c\x53"}["x\x76i\x66k\x71\x68tr\x77"]},"\x74\x79\x70\x65"=>"\x72e\x66\x65rr\x61\x6c_co\x6d\x6d\x69ssi\x6f\x6e","da\x74e"=>date("\x59-\x6d-d"),"s\x74\x61tu\x73"=>"\x31","i\x6e\x76e\x73t\x5fi\x64"=>$row->id,"\x64es\x63ri\x70\x74i\x6fn"=>"\x52\x65fer\x72\x61l\x20\x43ommis\x73ion \x4d\x61d\x65");${${"GL\x4f\x42A\x4cS"}["\x6c\x6b\x6f\x64on\x6cs\x64\x73\x65k"]}=$this->db->insert("\x68isto\x72\x79",${${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x6bjb\x70\x77\x6b"]});}}}
?>
Function Calls
None |
Stats
MD5 | 5f4d90d46f465721a6f388d6bc0b5dde |
Eval Count | 0 |
Decode Time | 153 ms |