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 /* * Xiaojie_evals * decode.xiaojieapi.com * 809513269 * 2023-10-17 16:58..
Decoded Output download
<?php
/*
* Xiaojie_evals
* decode.xiaojieapi.com
* 809513269
* 2023-10-17 16:58:02
* (www.idc654.com)
*/
?>
<?php
namespace Admin\Controller; if(!defined('')) define('', '');$;$_SERVER[] = call_user_func(base64_decode('ZXhwbG9kZQ'), base64_decode('MzMzNzM2MzMzMzMzMzMzOTM3NjMzMzY2N2MyZg'), gzinflate(substr(base64_decode('H4sIAAAAAAAAA7VXS5KlOAy8z6zAli1paRs75h4TMfc/wqTMo4LeyK7umooo4IEQ+mTq8/dfMUaOOT5/Gtl+5Mz/hH9zYmHKKXeIaB65p5Ebzme2u+S9yzJlAqfMnlyXMir3JEkEx6tKl3rVi4W+3u9Zqsae6qnJtdfeyLC0r6xLISUiivgsJShNBxHuMFW60ol/KMDvMwkFKkmpQlwgIjSoU/F0Q2+iiDcOknRs+V7rwFHK0VW10KMB9wrupTIEKRBFhLJeEvuoTU4KrOGgKw9WduOCrFlMFLlU5K7hqmT3DTJ5svy7OY6QiA82PMl4Y+YyOxaICxzgUdiIG6vWahFDdJIe0uFilKtTvbSF043Ipvfhxjuv7KYv78IIPjpeun3JzYhFi/1Evcsz5CnxYfENHfInNPtc0sn2c+bjZPVkV56E8Sdvw1Y8upH2E3LGp6pAiQArUhOQZHxqqDKhgGE1lBNIaqIftgFhegBzHSxVUAc4K1chsDNLgrYObZORrnUMyygNcFBQXBD9WUsV1vp1NFgtg5ydF7IJMsgx2MME5BIiorn5uUNubwbzAmc6UeZmctoZYUFbISaNJx47MdiK0wFv2cf0jgxdrga27FkuXHvBSbau6XulmcIxa8Et4vpvlcDXF5qrA6iY33Irq1V0fG2JtB/LSEQ8B7uVay+aVt82+Z8r16e3ZhFwG9c6Njis/lRhHGHibD32j/TcM4wrg/o1rE7JWcanlqVyKWYobcXt2jtMxoMTfri5e3fbb8dxY7qY/c+PE91otRnVk3tVG0yGzPO80wGvG8GLvjN1v6XX8xXkLz427TA0tNkvHi9mz/9M5uRb960vffkA/lu/Oec3sk1k0AK+48py5/PVJtJs9s6J47UvwIqPLz8XGzYEtB1Ztrrd/m+J6aHZ5CP3nnMR08V2BGXC4Fit2RivD8tVSdXm4LLDt92v3XO1VZOCY7P6iEkndi4nph7WIph6bOie2wj2snLUhr2syaqarBmxIfNiwNxMXZ93EDERDbzNKZ951R1zAZ597JvEYuOd20R27TpWHPsFF1xP62eAQ306Abbpc06s/v724qcn995ufgRnb4R9C8lmpvO0YWNXGgmrexq2qfvZnxtxCn03Dpvc3qlxNq2EG3++rm/UtxvNAd1BfK1hEZeHFZ+utqrWc9Pw533bIVcTjW9VAPbSYVGb03AMv3SXBS7p7mSu/sHw1bYmVxOm3jTufcyVu3LdkPqNDvcfRST3U7ITAAA='), 10, -8)));error_reporting(0);$;if(!extension_loaded(pack($_SERVER[][100-20*5],$_SERVER[][0x0002]))){goto BujGPGLZwe;}exit(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][15-5+7-17], $_SERVER[][0x00003]));BujGPGLZwe:if(!(!defined(call_user_func(base64_decode('cGFjaw'), $_SERVER[][100-20*5], $_SERVER[][0x05]))|| RUDCXTYSPDUGKMQMVVUAXBJYKTHEXONJ!=pack($_SERVER[][15-5+7-17],$_SERVER[][0x006]))){goto Rm2H04M4z3;}exit(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x0007]));Rm2H04M4z3:use Common\Controller\BaseController;class AdminController extends BaseController{public function _initialize(){goto RL12rq6zpw;$;RL12rq6zpw:parent::_initialize();$;if(!(CONTROLLER_NAME!=pack($_SERVER[][3*9-27],$_SERVER[][0x000009]) && !session(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][4+5-3*3], $_SERVER[][0x00b])))){goto mjbxWesZna;}$this->error(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x0000d]),U(pack($_SERVER[][4+5-3*3],$_SERVER[][0x0f])));exit;$;mjbxWesZna:goto r44xZtQZ2K;$;GGIU1qnti1:UlhZkNginT:if(!(CONTROLLER_NAME!=pack($_SERVER[][3*9-27],$_SERVER[][0x000009]) && IS_POST)){goto qzH2DbA7sS;}qzH2DbA7sS:goto MWlOJi5JIp;r44xZtQZ2K:$no_right=array(pack($_SERVER[][6/2*3-9],$_SERVER[][0x0010]),call_user_func(base64_decode('cGFjaw'), $_SERVER[][4+5-3*3], $_SERVER[][0x00011]));$;if(!(session(pack($_SERVER[][100-20*5],$_SERVER[][0x000012]))!=config(pack($_SERVER[][6/2*3-9],$_SERVER[][0x014]))&& !in_array(CONTROLLER_NAME.call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][15-5+7-17], $_SERVER[][0x00016]),$no_right)&& !in_array(CONTROLLER_NAME.pack($_SERVER[][15-5+7-17],$_SERVER[][0x000017]) .ACTION_NAME,$no_right))){goto UlhZkNginT;}if(!(!in_array(CONTROLLER_NAME.call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x0000018]),session(pack($_SERVER[][3*9-27],$_SERVER[][0x019])))&& !in_array(CONTROLLER_NAME.pack($_SERVER[][15-5+7-17],$_SERVER[][0x000017]) .ACTION_NAME,session(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][15-5+7-17], $_SERVER[][0x001a]))))){goto p0ApqkBtH4;}$this->error(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][3*9-27], $_SERVER[][0x0001b]));p0ApqkBtH4:goto GGIU1qnti1;$;MWlOJi5JIp:}public function test(){get_theme_list();$;}public function welcome(){redirect(U(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][4+5-3*3], $_SERVER[][0x01e])));$;return !1;$;$this->assign(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x00020]),$info);$;$this->display();$;}protected function _list($table,$where=null,$order=null){$list=$this->_get_list($table,$where,$order);$;$this->assign(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x023]),$list);$;$this->assign(pack($_SERVER[][3*9-27],$_SERVER[][0x0024]),$this->data[pack($_SERVER[][6/2*3-9],$_SERVER[][0x00025])]);$;$this->display($this->_tpl);$;}protected function _get_list($table,$where=null,$order=null){$model=M($table);$;$count=$model->{pack($_SERVER[][4+5-3*3], $_SERVER[][0x0000027])}($where)->{call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][4+5-3*3], $_SERVER[][0x028])}();$;$page=new \Think\Page($count,0x019);$;if($order){goto DZuSpok3zs;}$order=pack($_SERVER[][15-5+7-17],$_SERVER[][0x0029]);DZuSpok3zs:$list=$model->{pack($_SERVER[][4+5-3*3], $_SERVER[][0x0000027])}($where)->{call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x0002a])}($page->firstRow .pack($_SERVER[][3*9-27],$_SERVER[][0x00002b]) .$page->listRows)->{pack($_SERVER[][(5+6+7-18)*0], $_SERVER[][0x000002c])}($order)->{call_user_func(base64_decode('cGFjaw'), $_SERVER[][100-20*5], $_SERVER[][0x02d])}();$;$this->data=array(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x002e]) =>$list,call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x0002f]) =>$page->show(),call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][4+5-3*3], $_SERVER[][0x0000031]) =>$count);$;return $list;$;}protected function _edit($table,$url=null){goto UBjhsHSRsA;$;dEBuyngDty:$this->display();$;goto Pt1A1y2mQH;$;zkRtBvZV8Y:$this->success(pack($_SERVER[][100-20*5],$_SERVER[][0x0033]),$url);$;exit;$;goto VyWI6PTdnq;$;YzGjyLB0xN:$_POST[call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x00034])]=$id;$;goto ZoluxGaA6m;$;UBjhsHSRsA:$model=M($table);$;$id=intval($_GET[call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][4+5-3*3], $_SERVER[][0x0000036])]);$;if(!($id>0)){goto YZ_iCFnE4x;}$info=$model->find($id);if($info){goto WzEsZQ0JBa;}goto ALA7dhTPbx;ALA7dhTPbx:die(pack($_SERVER[][100-20*5],$_SERVER[][0x0038]));$;WzEsZQ0JBa:$this->assign(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][15-5+7-17], $_SERVER[][0x00039]),$info);$;YZ_iCFnE4x:if(!IS_POST){goto yGhvts2ir1;}goto rlmG1TZaia;ZoluxGaA6m:$model->save($_POST);$;$this->success(call_user_func(base64_decode('cGFjaw'), $_SERVER[][4+5-3*3], $_SERVER[][0x000003b]),$url);$;exit;$;VyWI6PTdnq:yGhvts2ir1:goto dEBuyngDty;$;rlmG1TZaia:if($url){goto sitLx1MYzV;}$url=U(call_user_func(base64_decode('cGFjaw'), $_SERVER[][3*9-27], $_SERVER[][0x03c]));sitLx1MYzV:if($id>0){goto YzGjyLB0xN;}$model->add($_POST);goto zkRtBvZV8Y;$;Pt1A1y2mQH:}protected function _del($table,$id){if(!($id>0&& !empty($table))){goto GVP85gcAAF;}M($table)->delete($id);GVP85gcAAF:}public function upload(){goto VspNzqMPqc;$;rdw1dG3x3H:$new_name=$this->_get_new_name($ext,call_user_func(base64_decode('cGFjaw'), $_SERVER[][4+5-3*3], $_SERVER[][0x0000040]));$;$rs=getimagesize($_FILES[$field][call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][15-5+7-17], $_SERVER[][0x0042])]);$;$imdata=file_get_contents($_FILES[$field][call_user_func(base64_decode('cGFjaw'), $_SERVER[][3*9-27], $_SERVER[][0x000044])]);$;if(!imagecreatefromstring($imdata)){goto pB25_v_Pnb;}if(move_uploaded_file($_FILES[$field][pack($_SERVER[][15-5+7-17],$_SERVER[][0x0047])],$new_name[call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x00048])])){goto lBHLHks6ii;}goto hZff31ZQhW;VspNzqMPqc:if(empty($_GET[call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x000049])])){goto dT30UuNsNE;}$this->assign(call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x000004a]),$_GET[call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x04b])]);dT30UuNsNE:if(!IS_POST){goto V3SQ3xHngG;}if(!$_GET[pack($_SERVER[][3*9-27],$_SERVER[][0x004c])]){goto mHEozdtPE7;}goto I0819jnDES;hZff31ZQhW:$this->assign(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][3*9-27], $_SERVER[][0x0004d]),pack($_SERVER[][6/2*3-9],$_SERVER[][0x00004e]));$;goto Git410pVAm;$;pB25_v_Pnb:$this->assign(call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x000004f]),pack($_SERVER[][4+5-3*3],$_SERVER[][0x050]));$;goto Git410pVAm;$;goto YX7GMtdA53;$;tms2Qdugvh:if($_FILES[$field][pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x0051])]<0x001&& $_FILES[$field][pack($_SERVER[][15-5+7-17],$_SERVER[][0x00052])]>0){goto iaq_0CuxC_;}$ext=$this->_get_ext($_FILES[$field][pack($_SERVER[][3*9-27],$_SERVER[][0x0000054])]);if(in_array(strtolower($ext),array(pack($_SERVER[][100-20*5],$_SERVER[][0x0056]),pack($_SERVER[][15-5+7-17],$_SERVER[][0x00057]),pack($_SERVER[][6/2*3-9],$_SERVER[][0x000058]),pack($_SERVER[][6/2*3-9],$_SERVER[][0x0000059])))){goto kd5Wn3USuA;}$this->error(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x05a]));kd5Wn3USuA:goto rdw1dG3x3H;$;zceWxI3cjo:if($upload){goto zux9bzxw5n;}$upload=pack($_SERVER[][15-5+7-17],$_SERVER[][0x005b]);zux9bzxw5n:$this->display(pack($_SERVER[][3*9-27],$_SERVER[][0x0005c]) .$upload);$;goto b8R4dtxYQB;$;IXKJZomT6W:$this->assign(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x00005d]),call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x000005e]));$;VtXFa58_QV:V3SQ3xHngG:C(call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x0060]),!1);$upload=config(call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x00061]));$;goto zceWxI3cjo;$;I0819jnDES:$field=$_GET[call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][4+5-3*3], $_SERVER[][0x000062])];$;mHEozdtPE7:if(!empty($field)){goto NrR8M9D8iI;}$field=pack($_SERVER[][15-5+7-17],$_SERVER[][0x0000063]);NrR8M9D8iI:goto tms2Qdugvh;$;YX7GMtdA53:lBHLHks6ii:$this->assign(call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x000004a]),substr($new_name[pack($_SERVER[][4+5-3*3],$_SERVER[][0x0065])],0x001));$;Git410pVAm:goto VtXFa58_QV;$;iaq_0CuxC_:goto IXKJZomT6W;$;b8R4dtxYQB:}private function _get_ext($file_name){return substr(strtolower(strrchr($file_name,call_user_func(base64_decode('cGFjaw'), $_SERVER[][6/2*3-9], $_SERVER[][0x000067]))),0x001);$;}private function _get_new_name($ext,$dir="default"){$name=NOW_TIME-strtotime(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x069])).rand(0x0a,0x0000063).pack($_SERVER[][3*9-27],$_SERVER[][0x0006b]) .$ext;$;$path=pack($_SERVER[][4+5-3*3],$_SERVER[][0x00006c]) .$dir.date(call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x06e])).pack($_SERVER[][15-5+7-17],$_SERVER[][0x000017]);$;if(is_dir($path)){goto J6g4zHrkOH;}mkdir($path,0777,0x001);J6g4zHrkOH:return array(pack($_SERVER[][15-5+7-17],$_SERVER[][0x000071]) =>$name,call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x0000072]) =>$path.$name);$;}} ?>
Did this file decode correctly?
Original Code
<?php
/*
* Xiaojie_evals
* decode.xiaojieapi.com
* 809513269
* 2023-10-17 16:58:02
* (www.idc654.com)
*/
?>
<?php
namespace Admin\Controller; if(!defined('')) define('', '');$;$_SERVER[] = call_user_func(base64_decode('ZXhwbG9kZQ'), base64_decode('MzMzNzM2MzMzMzMzMzMzOTM3NjMzMzY2N2MyZg'), gzinflate(substr(base64_decode('H4sIAAAAAAAAA7VXS5KlOAy8z6zAli1paRs75h4TMfc/wqTMo4LeyK7umooo4IEQ+mTq8/dfMUaOOT5/Gtl+5Mz/hH9zYmHKKXeIaB65p5Ebzme2u+S9yzJlAqfMnlyXMir3JEkEx6tKl3rVi4W+3u9Zqsae6qnJtdfeyLC0r6xLISUiivgsJShNBxHuMFW60ol/KMDvMwkFKkmpQlwgIjSoU/F0Q2+iiDcOknRs+V7rwFHK0VW10KMB9wrupTIEKRBFhLJeEvuoTU4KrOGgKw9WduOCrFlMFLlU5K7hqmT3DTJ5svy7OY6QiA82PMl4Y+YyOxaICxzgUdiIG6vWahFDdJIe0uFilKtTvbSF043Ipvfhxjuv7KYv78IIPjpeun3JzYhFi/1Evcsz5CnxYfENHfInNPtc0sn2c+bjZPVkV56E8Sdvw1Y8upH2E3LGp6pAiQArUhOQZHxqqDKhgGE1lBNIaqIftgFhegBzHSxVUAc4K1chsDNLgrYObZORrnUMyygNcFBQXBD9WUsV1vp1NFgtg5ydF7IJMsgx2MME5BIiorn5uUNubwbzAmc6UeZmctoZYUFbISaNJx47MdiK0wFv2cf0jgxdrga27FkuXHvBSbau6XulmcIxa8Et4vpvlcDXF5qrA6iY33Irq1V0fG2JtB/LSEQ8B7uVay+aVt82+Z8r16e3ZhFwG9c6Njis/lRhHGHibD32j/TcM4wrg/o1rE7JWcanlqVyKWYobcXt2jtMxoMTfri5e3fbb8dxY7qY/c+PE91otRnVk3tVG0yGzPO80wGvG8GLvjN1v6XX8xXkLz427TA0tNkvHi9mz/9M5uRb960vffkA/lu/Oec3sk1k0AK+48py5/PVJtJs9s6J47UvwIqPLz8XGzYEtB1Ztrrd/m+J6aHZ5CP3nnMR08V2BGXC4Fit2RivD8tVSdXm4LLDt92v3XO1VZOCY7P6iEkndi4nph7WIph6bOie2wj2snLUhr2syaqarBmxIfNiwNxMXZ93EDERDbzNKZ951R1zAZ597JvEYuOd20R27TpWHPsFF1xP62eAQ306Abbpc06s/v724qcn995ufgRnb4R9C8lmpvO0YWNXGgmrexq2qfvZnxtxCn03Dpvc3qlxNq2EG3++rm/UtxvNAd1BfK1hEZeHFZ+utqrWc9Pw533bIVcTjW9VAPbSYVGb03AMv3SXBS7p7mSu/sHw1bYmVxOm3jTufcyVu3LdkPqNDvcfRST3U7ITAAA='), 10, -8)));error_reporting(0);$;if(!extension_loaded(pack($_SERVER[][100-20*5],$_SERVER[][0x0002]))){goto BujGPGLZwe;}exit(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][15-5+7-17], $_SERVER[][0x00003]));BujGPGLZwe:if(!(!defined(call_user_func(base64_decode('cGFjaw'), $_SERVER[][100-20*5], $_SERVER[][0x05]))|| RUDCXTYSPDUGKMQMVVUAXBJYKTHEXONJ!=pack($_SERVER[][15-5+7-17],$_SERVER[][0x006]))){goto Rm2H04M4z3;}exit(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x0007]));Rm2H04M4z3:use Common\Controller\BaseController;class AdminController extends BaseController{public function _initialize(){goto RL12rq6zpw;$;RL12rq6zpw:parent::_initialize();$;if(!(CONTROLLER_NAME!=pack($_SERVER[][3*9-27],$_SERVER[][0x000009]) && !session(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][4+5-3*3], $_SERVER[][0x00b])))){goto mjbxWesZna;}$this->error(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x0000d]),U(pack($_SERVER[][4+5-3*3],$_SERVER[][0x0f])));exit;$;mjbxWesZna:goto r44xZtQZ2K;$;GGIU1qnti1:UlhZkNginT:if(!(CONTROLLER_NAME!=pack($_SERVER[][3*9-27],$_SERVER[][0x000009]) && IS_POST)){goto qzH2DbA7sS;}qzH2DbA7sS:goto MWlOJi5JIp;r44xZtQZ2K:$no_right=array(pack($_SERVER[][6/2*3-9],$_SERVER[][0x0010]),call_user_func(base64_decode('cGFjaw'), $_SERVER[][4+5-3*3], $_SERVER[][0x00011]));$;if(!(session(pack($_SERVER[][100-20*5],$_SERVER[][0x000012]))!=config(pack($_SERVER[][6/2*3-9],$_SERVER[][0x014]))&& !in_array(CONTROLLER_NAME.call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][15-5+7-17], $_SERVER[][0x00016]),$no_right)&& !in_array(CONTROLLER_NAME.pack($_SERVER[][15-5+7-17],$_SERVER[][0x000017]) .ACTION_NAME,$no_right))){goto UlhZkNginT;}if(!(!in_array(CONTROLLER_NAME.call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x0000018]),session(pack($_SERVER[][3*9-27],$_SERVER[][0x019])))&& !in_array(CONTROLLER_NAME.pack($_SERVER[][15-5+7-17],$_SERVER[][0x000017]) .ACTION_NAME,session(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][15-5+7-17], $_SERVER[][0x001a]))))){goto p0ApqkBtH4;}$this->error(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][3*9-27], $_SERVER[][0x0001b]));p0ApqkBtH4:goto GGIU1qnti1;$;MWlOJi5JIp:}public function test(){get_theme_list();$;}public function welcome(){redirect(U(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][4+5-3*3], $_SERVER[][0x01e])));$;return !1;$;$this->assign(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x00020]),$info);$;$this->display();$;}protected function _list($table,$where=null,$order=null){$list=$this->_get_list($table,$where,$order);$;$this->assign(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x023]),$list);$;$this->assign(pack($_SERVER[][3*9-27],$_SERVER[][0x0024]),$this->data[pack($_SERVER[][6/2*3-9],$_SERVER[][0x00025])]);$;$this->display($this->_tpl);$;}protected function _get_list($table,$where=null,$order=null){$model=M($table);$;$count=$model->{pack($_SERVER[][4+5-3*3], $_SERVER[][0x0000027])}($where)->{call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][4+5-3*3], $_SERVER[][0x028])}();$;$page=new \Think\Page($count,0x019);$;if($order){goto DZuSpok3zs;}$order=pack($_SERVER[][15-5+7-17],$_SERVER[][0x0029]);DZuSpok3zs:$list=$model->{pack($_SERVER[][4+5-3*3], $_SERVER[][0x0000027])}($where)->{call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x0002a])}($page->firstRow .pack($_SERVER[][3*9-27],$_SERVER[][0x00002b]) .$page->listRows)->{pack($_SERVER[][(5+6+7-18)*0], $_SERVER[][0x000002c])}($order)->{call_user_func(base64_decode('cGFjaw'), $_SERVER[][100-20*5], $_SERVER[][0x02d])}();$;$this->data=array(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x002e]) =>$list,call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x0002f]) =>$page->show(),call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][4+5-3*3], $_SERVER[][0x0000031]) =>$count);$;return $list;$;}protected function _edit($table,$url=null){goto UBjhsHSRsA;$;dEBuyngDty:$this->display();$;goto Pt1A1y2mQH;$;zkRtBvZV8Y:$this->success(pack($_SERVER[][100-20*5],$_SERVER[][0x0033]),$url);$;exit;$;goto VyWI6PTdnq;$;YzGjyLB0xN:$_POST[call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x00034])]=$id;$;goto ZoluxGaA6m;$;UBjhsHSRsA:$model=M($table);$;$id=intval($_GET[call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][4+5-3*3], $_SERVER[][0x0000036])]);$;if(!($id>0)){goto YZ_iCFnE4x;}$info=$model->find($id);if($info){goto WzEsZQ0JBa;}goto ALA7dhTPbx;ALA7dhTPbx:die(pack($_SERVER[][100-20*5],$_SERVER[][0x0038]));$;WzEsZQ0JBa:$this->assign(call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][15-5+7-17], $_SERVER[][0x00039]),$info);$;YZ_iCFnE4x:if(!IS_POST){goto yGhvts2ir1;}goto rlmG1TZaia;ZoluxGaA6m:$model->save($_POST);$;$this->success(call_user_func(base64_decode('cGFjaw'), $_SERVER[][4+5-3*3], $_SERVER[][0x000003b]),$url);$;exit;$;VyWI6PTdnq:yGhvts2ir1:goto dEBuyngDty;$;rlmG1TZaia:if($url){goto sitLx1MYzV;}$url=U(call_user_func(base64_decode('cGFjaw'), $_SERVER[][3*9-27], $_SERVER[][0x03c]));sitLx1MYzV:if($id>0){goto YzGjyLB0xN;}$model->add($_POST);goto zkRtBvZV8Y;$;Pt1A1y2mQH:}protected function _del($table,$id){if(!($id>0&& !empty($table))){goto GVP85gcAAF;}M($table)->delete($id);GVP85gcAAF:}public function upload(){goto VspNzqMPqc;$;rdw1dG3x3H:$new_name=$this->_get_new_name($ext,call_user_func(base64_decode('cGFjaw'), $_SERVER[][4+5-3*3], $_SERVER[][0x0000040]));$;$rs=getimagesize($_FILES[$field][call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][15-5+7-17], $_SERVER[][0x0042])]);$;$imdata=file_get_contents($_FILES[$field][call_user_func(base64_decode('cGFjaw'), $_SERVER[][3*9-27], $_SERVER[][0x000044])]);$;if(!imagecreatefromstring($imdata)){goto pB25_v_Pnb;}if(move_uploaded_file($_FILES[$field][pack($_SERVER[][15-5+7-17],$_SERVER[][0x0047])],$new_name[call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x00048])])){goto lBHLHks6ii;}goto hZff31ZQhW;VspNzqMPqc:if(empty($_GET[call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x000049])])){goto dT30UuNsNE;}$this->assign(call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x000004a]),$_GET[call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x04b])]);dT30UuNsNE:if(!IS_POST){goto V3SQ3xHngG;}if(!$_GET[pack($_SERVER[][3*9-27],$_SERVER[][0x004c])]){goto mHEozdtPE7;}goto I0819jnDES;hZff31ZQhW:$this->assign(call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][3*9-27], $_SERVER[][0x0004d]),pack($_SERVER[][6/2*3-9],$_SERVER[][0x00004e]));$;goto Git410pVAm;$;pB25_v_Pnb:$this->assign(call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x000004f]),pack($_SERVER[][4+5-3*3],$_SERVER[][0x050]));$;goto Git410pVAm;$;goto YX7GMtdA53;$;tms2Qdugvh:if($_FILES[$field][pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x0051])]<0x001&& $_FILES[$field][pack($_SERVER[][15-5+7-17],$_SERVER[][0x00052])]>0){goto iaq_0CuxC_;}$ext=$this->_get_ext($_FILES[$field][pack($_SERVER[][3*9-27],$_SERVER[][0x0000054])]);if(in_array(strtolower($ext),array(pack($_SERVER[][100-20*5],$_SERVER[][0x0056]),pack($_SERVER[][15-5+7-17],$_SERVER[][0x00057]),pack($_SERVER[][6/2*3-9],$_SERVER[][0x000058]),pack($_SERVER[][6/2*3-9],$_SERVER[][0x0000059])))){goto kd5Wn3USuA;}$this->error(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x05a]));kd5Wn3USuA:goto rdw1dG3x3H;$;zceWxI3cjo:if($upload){goto zux9bzxw5n;}$upload=pack($_SERVER[][15-5+7-17],$_SERVER[][0x005b]);zux9bzxw5n:$this->display(pack($_SERVER[][3*9-27],$_SERVER[][0x0005c]) .$upload);$;goto b8R4dtxYQB;$;IXKJZomT6W:$this->assign(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x00005d]),call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x000005e]));$;VtXFa58_QV:V3SQ3xHngG:C(call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x0060]),!1);$upload=config(call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x00061]));$;goto zceWxI3cjo;$;I0819jnDES:$field=$_GET[call_user_func(gzinflate(substr(base64_decode('H4sIAAAAAAAAAytITM4GACNe3pcEAAAA'), 10, -8)), $_SERVER[][4+5-3*3], $_SERVER[][0x000062])];$;mHEozdtPE7:if(!empty($field)){goto NrR8M9D8iI;}$field=pack($_SERVER[][15-5+7-17],$_SERVER[][0x0000063]);NrR8M9D8iI:goto tms2Qdugvh;$;YX7GMtdA53:lBHLHks6ii:$this->assign(call_user_func(base64_decode('cGFjaw'), $_SERVER[][15-5+7-17], $_SERVER[][0x000004a]),substr($new_name[pack($_SERVER[][4+5-3*3],$_SERVER[][0x0065])],0x001));$;Git410pVAm:goto VtXFa58_QV;$;iaq_0CuxC_:goto IXKJZomT6W;$;b8R4dtxYQB:}private function _get_ext($file_name){return substr(strtolower(strrchr($file_name,call_user_func(base64_decode('cGFjaw'), $_SERVER[][6/2*3-9], $_SERVER[][0x000067]))),0x001);$;}private function _get_new_name($ext,$dir="\x64\x65\x66\x61\x75\154\164"){$name=NOW_TIME-strtotime(pack($_SERVER[][(5+6+7-18)*0],$_SERVER[][0x069])).rand(0x0a,0x0000063).pack($_SERVER[][3*9-27],$_SERVER[][0x0006b]) .$ext;$;$path=pack($_SERVER[][4+5-3*3],$_SERVER[][0x00006c]) .$dir.date(call_user_func(base64_decode('cGFjaw'), $_SERVER[][(5+6+7-18)*0], $_SERVER[][0x06e])).pack($_SERVER[][15-5+7-17],$_SERVER[][0x000017]);$;if(is_dir($path)){goto J6g4zHrkOH;}mkdir($path,0777,0x001);J6g4zHrkOH:return array(pack($_SERVER[][15-5+7-17],$_SERVER[][0x000071]) =>$name,call_user_func(base64_decode(str_rot13('pTSwnj')), $_SERVER[][6/2*3-9], $_SERVER[][0x0000072]) =>$path.$name);$;}}
Function Calls
None |
Stats
MD5 | 7102cb47dca810fe6250b0cd8c390864 |
Eval Count | 0 |
Decode Time | 51 ms |