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"}["j\x72v\x68l\x67\x67\x65\x75\x76\x71z"]="\x6ci\x73..
Decoded Output download
<?php ${"GLOBALS"}["jrvhlggeuvqz"]="listid";${"GLOBALS"}["uuyblkq"]="photo";${"GLOBALS"}["noordqfjsh"]="row";${"GLOBALS"}["yzuogpdqlv"]="data";${"GLOBALS"}["mwijko"]="file_name";${"GLOBALS"}["kvooxcpg"]="item_com";${"GLOBALS"}["moeobimtsyr"]="item";${"GLOBALS"}["mgpmxi"]="id";${"GLOBALS"}["slsgoohggdll"]="items";${"GLOBALS"}["pbxltbgic"]="pageSize";${"GLOBALS"}["hmerdysfxt"]="page";${"GLOBALS"}["myrlgadx"]="dem";${"GLOBALS"}["rmpgdwsp"]="sql";${"GLOBALS"}["jodpxwcdymf"]="where";${"GLOBALS"}["utklkfxni"]="i";${"GLOBALS"}["bsxlxbttvu"]="result";${"GLOBALS"}["wmrjtqw"]="template";$jksvfvlhxe="template";${"GLOBALS"}["cxepqeb"]="urlcu";$ifmniv="urlcu";${"GLOBALS"}["otibnux"]="act";${"GLOBALS"}["lmqfgtyguui"]="template";if(!defined("_source"))die("Error");${${"GLOBALS"}["otibnux"]}=(isset($_REQUEST["act"]))?addslashes($_REQUEST["act"]):"";${${"GLOBALS"}["cxepqeb"]}="";${$ifmniv}.=(isset($_REQUEST["p"]))?"&p=".addslashes($_REQUEST["p"]):"";switch(${${"GLOBALS"}["otibnux"]}){case"man":get_items();${${"GLOBALS"}["wmrjtqw"]}="phanquyen/items";break;case"add":${$jksvfvlhxe}="phanquyen/item_add";break;case"edit":get_item();get_com();${${"GLOBALS"}["lmqfgtyguui"]}="phanquyen/item_add";break;case"save":save_item();break;case"savestt":savestt_item();break;case"delete":delete_item();break;default:${${"GLOBALS"}["wmrjtqw"]}="index";}function fns_Rand_digit($min,$max,$num){$czelnpch="i";${${"GLOBALS"}["bsxlxbttvu"]}="";${"GLOBALS"}["hrxyimtcaq"]="i";${"GLOBALS"}["bqkeoqdq"]="result";${"GLOBALS"}["wrvmbf"]="num";for(${$czelnpch}=0;${${"GLOBALS"}["hrxyimtcaq"]}<${${"GLOBALS"}["wrvmbf"]};${${"GLOBALS"}["utklkfxni"]}++){$svfeqwpt="result";$uzryhh="max";$thdqeocllv="min";${$svfeqwpt}.=rand(${$thdqeocllv},${$uzryhh});}return${${"GLOBALS"}["bqkeoqdq"]};}function get_items(){$scmqhr="sql";${"GLOBALS"}["gikxvxhlheuz"]="page";$ylydmfuhriku="dem";$byuwwwrsy="totalRows";global$d,$items,$url_link,$totalRows,$pageSize,$offset,$paging,$urlcu;if($_REQUEST["key"]!=""){${"GLOBALS"}["ydewgkaxvfkp"]="where";${${"GLOBALS"}["ydewgkaxvfkp"]}.=" and ten like '%".$_REQUEST["key"]."%'";}$xpholnuykx="offset";${${"GLOBALS"}["jodpxwcdymf"]}.=" order by stt,id desc";${${"GLOBALS"}["rmpgdwsp"]}="SELECT count(id) AS numrows FROM #_phanquyen where id<>0 $where";$d->query(${$scmqhr});${"GLOBALS"}["rzztsrwkn"]="page";${$ylydmfuhriku}=$d->fetch_array();${$byuwwwrsy}=${${"GLOBALS"}["myrlgadx"]}["numrows"];${${"GLOBALS"}["hmerdysfxt"]}=$_GET["p"];$xqpjbjimuoy="bg";${${"GLOBALS"}["pbxltbgic"]}=20;${$xpholnuykx}=10;if(${${"GLOBALS"}["rzztsrwkn"]}=="")${${"GLOBALS"}["hmerdysfxt"]}=1;else${${"GLOBALS"}["gikxvxhlheuz"]}=$_GET["p"];${${"GLOBALS"}["hmerdysfxt"]}--;${$xqpjbjimuoy}=${${"GLOBALS"}["pbxltbgic"]}*${${"GLOBALS"}["hmerdysfxt"]};${${"GLOBALS"}["rmpgdwsp"]}="select * from #_phanquyen where id<>0 $where limit $bg,$pageSize";$riowhwtf="urlcu";$mrstsmxxajk="url_link";$d->query(${${"GLOBALS"}["rmpgdwsp"]});${${"GLOBALS"}["slsgoohggdll"]}=$d->result_array();${$mrstsmxxajk}="index.php?com=phanquyen&act=man".${$riowhwtf};}function get_item(){${"GLOBALS"}["wgycvkcpvhf"]="sql";global$d,$item,$urlcu;${${"GLOBALS"}["mgpmxi"]}=isset($_GET["id"])?themdau($_GET["id"]):"";if(!${${"GLOBALS"}["mgpmxi"]})transfer("Khng nhn c d liu","index.php?com=phanquyen&act=man".${${"GLOBALS"}["cxepqeb"]});${${"GLOBALS"}["rmpgdwsp"]}="select * from #_phanquyen where id='".${${"GLOBALS"}["mgpmxi"]}."'";$d->query(${${"GLOBALS"}["wgycvkcpvhf"]});if($d->num_rows()==0)transfer("D liu khng c thc","index.php?com=phanquyen&act=man".${${"GLOBALS"}["cxepqeb"]});${${"GLOBALS"}["moeobimtsyr"]}=$d->fetch_array();}function get_com(){$udsvdqpjgb="sql";global$d,$item_com;$d->reset();${${"GLOBALS"}["rmpgdwsp"]}="select * from #_com where hienthi=1 order by stt,id desc";$d->query(${$udsvdqpjgb});${${"GLOBALS"}["kvooxcpg"]}=$d->result_array();}function save_item(){${"GLOBALS"}["fkjbfkvdihw"]="urlcu";${"GLOBALS"}["tphemawciyk"]="file_name";global$d,$urlcu;$mqfbeimmqj="id";${${"GLOBALS"}["tphemawciyk"]}=$_FILES["file"]["name"];if(empty($_POST))transfer("Khng nhn c d liu","index.php?com=phanquyen&act=man".${${"GLOBALS"}["fkjbfkvdihw"]});${$mqfbeimmqj}=isset($_POST["id"])?themdau($_POST["id"]):"";$oomdkqyhhjgf="id";if(${$oomdkqyhhjgf}){$locyhkf="data";${"GLOBALS"}["izjqfhrcf"]="data";${"GLOBALS"}["lxcgch"]="id";${"GLOBALS"}["lxqlokfds"]="photo";${${"GLOBALS"}["lxcgch"]}=themdau($_POST["id"]);if(${${"GLOBALS"}["lxqlokfds"]}=upload_image("file",_format_duoihinh,_upload_khac,${${"GLOBALS"}["mwijko"]})){$rdosdmfmhnq="photo";${${"GLOBALS"}["yzuogpdqlv"]}["photo"]=${$rdosdmfmhnq};$d->setTable("phanquyen");$d->setWhere("id",${${"GLOBALS"}["mgpmxi"]});$d->select();if($d->num_rows()>0){${${"GLOBALS"}["noordqfjsh"]}=$d->fetch_array();delete_file(_upload_khac.${${"GLOBALS"}["noordqfjsh"]}["photo"]);}}$skhhvuh="urlcu";${"GLOBALS"}["hqeawoynhw"]="data";${${"GLOBALS"}["yzuogpdqlv"]}["ten"]=$_POST["ten"];${$locyhkf}["tenkhongdau"]=changeTitle($_POST["ten"]);${${"GLOBALS"}["yzuogpdqlv"]}["link"]=$_POST["link"];${${"GLOBALS"}["yzuogpdqlv"]}["stt"]=$_POST["stt"];$obkmqrc="data";${${"GLOBALS"}["hqeawoynhw"]}["hienthi"]=isset($_POST["hienthi"])?1:0;${${"GLOBALS"}["izjqfhrcf"]}["noibat"]=isset($_POST["noibat"])?1:0;${$obkmqrc}["ngaysua"]=time();$d->setTable("phanquyen");$d->setWhere("id",${${"GLOBALS"}["mgpmxi"]});if($d->update(${${"GLOBALS"}["yzuogpdqlv"]}))redirect("index.php?com=phanquyen&act=man".${${"GLOBALS"}["cxepqeb"]});else transfer("Cp nht d liu b li","index.php?com=phanquyen&act=man".${$skhhvuh});}else{${"GLOBALS"}["rhzgwemubk"]="data";if(${${"GLOBALS"}["uuyblkq"]}=upload_image("file",_format_duoihinh,_upload_khac,${${"GLOBALS"}["mwijko"]})){${"GLOBALS"}["umtbesejinl"]="photo";${${"GLOBALS"}["yzuogpdqlv"]}["photo"]=${${"GLOBALS"}["umtbesejinl"]};}${${"GLOBALS"}["yzuogpdqlv"]}["ten"]=$_POST["ten"];$vgekeflphz="data";${${"GLOBALS"}["yzuogpdqlv"]}["tenkhongdau"]=changeTitle($_POST["ten"]);${${"GLOBALS"}["yzuogpdqlv"]}["link"]=$_POST["link"];${${"GLOBALS"}["yzuogpdqlv"]}["stt"]=$_POST["stt"];${${"GLOBALS"}["yzuogpdqlv"]}["hienthi"]=isset($_POST["hienthi"])?1:0;${$vgekeflphz}["noibat"]=isset($_POST["noibat"])?1:0;${${"GLOBALS"}["yzuogpdqlv"]}["ngaytao"]=time();$d->setTable("phanquyen");if($d->insert(${${"GLOBALS"}["rhzgwemubk"]}))redirect("index.php?com=phanquyen&act=man".${${"GLOBALS"}["cxepqeb"]});else transfer("Lu d liu b li","index.php?com=phanquyen&act=man".${${"GLOBALS"}["cxepqeb"]});}}function delete_item(){global$d,$urlcu;if(isset($_GET["id"])){${"GLOBALS"}["wmicomwlgtk"]="id";${"GLOBALS"}["mtvfhj"]="sql";${"GLOBALS"}["umgpnihcik"]="id";${${"GLOBALS"}["umgpnihcik"]}=themdau($_GET["id"]);$d->reset();${${"GLOBALS"}["rmpgdwsp"]}="select * from #_phanquyen where id='".${${"GLOBALS"}["wmicomwlgtk"]}."'";$d->query(${${"GLOBALS"}["mtvfhj"]});if($d->num_rows()>0){$ixnlivph="sql";${"GLOBALS"}["umklmfysovq"]="row";while(${${"GLOBALS"}["umklmfysovq"]}=$d->fetch_array()){${"GLOBALS"}["mfbqiwg"]="row";delete_file(_upload_khac.${${"GLOBALS"}["mfbqiwg"]}["photo"]);}${$ixnlivph}="delete from #_phanquyen where id='".${${"GLOBALS"}["mgpmxi"]}."'";$d->query(${${"GLOBALS"}["rmpgdwsp"]});}$mdfrpoty="sql";if($d->query(${$mdfrpoty}))redirect("index.php?com=phanquyen&act=man");else transfer("Xa d liu b li","index.php?com=phanquyen&act=man".${${"GLOBALS"}["cxepqeb"]});}elseif(isset($_GET["listid"])==true){${"GLOBALS"}["zutrhzkosj"]="listid";$prmbdiex="i";$oetshgwatsx="i";${${"GLOBALS"}["zutrhzkosj"]}=explode(",",$_GET["listid"]);for(${${"GLOBALS"}["utklkfxni"]}=0;${$prmbdiex}<count(${${"GLOBALS"}["jrvhlggeuvqz"]});${$oetshgwatsx}++){${"GLOBALS"}["wwlexqynvsr"]="idTin";$cqycevveoeuj="idTin";${$cqycevveoeuj}=${${"GLOBALS"}["jrvhlggeuvqz"]}[${${"GLOBALS"}["utklkfxni"]}];${"GLOBALS"}["qryixkkmdp"]="id";${${"GLOBALS"}["qryixkkmdp"]}=themdau(${${"GLOBALS"}["wwlexqynvsr"]});$d->reset();${${"GLOBALS"}["rmpgdwsp"]}="select * from #_phanquyen where id='".${${"GLOBALS"}["mgpmxi"]}."'";$d->query(${${"GLOBALS"}["rmpgdwsp"]});if($d->num_rows()>0){${"GLOBALS"}["urbnhsvvpu"]="sql";$fsftusw="sql";${"GLOBALS"}["ynrwhtw"]="row";while(${${"GLOBALS"}["ynrwhtw"]}=$d->fetch_array()){${"GLOBALS"}["wbkefstwuoj"]="row";delete_file(_upload_khac.${${"GLOBALS"}["wbkefstwuoj"]}["photo"]);}${$fsftusw}="delete from #_phanquyen where id='".${${"GLOBALS"}["mgpmxi"]}."'";$d->query(${${"GLOBALS"}["urbnhsvvpu"]});}}${"GLOBALS"}["fivujbrbx"]="urlcu";redirect("index.php?com=phanquyen&act=man".${${"GLOBALS"}["fivujbrbx"]});}else transfer("Khng nhn c d liu","index.php?com=phanquyen&act=man".${${"GLOBALS"}["cxepqeb"]});}echo "
";
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x72v\x68l\x67\x67\x65\x75\x76\x71z"]="\x6ci\x73t\x69\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["\x75u\x79b\x6c\x6b\x71"]="\x70\x68o\x74\x6f";${"\x47\x4cO\x42ALS"}["\x6eo\x6fr\x64q\x66\x6a\x73\x68"]="r\x6fw";${"\x47L\x4f\x42\x41LS"}["\x79\x7auog\x70\x64\x71\x6c\x76"]="\x64at\x61";${"GL\x4f\x42\x41\x4c\x53"}["m\x77\x69\x6ak\x6f"]="\x66\x69le\x5f\x6ea\x6d\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x76\x6f\x6fx\x63pg"]="i\x74e\x6d\x5fc\x6f\x6d";${"G\x4c\x4fB\x41\x4cS"}["\x6doe\x6fb\x69\x6d\x74\x73\x79r"]="\x69\x74e\x6d";${"\x47\x4cO\x42\x41\x4cS"}["mg\x70mxi"]="\x69d";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73\x6csgo\x6fhg\x67\x64l\x6c"]="\x69\x74\x65ms";${"G\x4cO\x42\x41L\x53"}["\x70\x62x\x6c\x74b\x67i\x63"]="p\x61\x67\x65\x53\x69\x7ae";${"\x47\x4c\x4f\x42AL\x53"}["h\x6der\x64\x79sfx\x74"]="\x70\x61\x67\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x79rl\x67a\x64\x78"]="\x64em";${"\x47\x4cOB\x41L\x53"}["r\x6d\x70\x67\x64\x77\x73\x70"]="\x73\x71l";${"\x47L\x4f\x42ALS"}["j\x6f\x64p\x78\x77cd\x79\x6d\x66"]="wh\x65\x72\x65";${"\x47L\x4fB\x41\x4cS"}["\x75\x74k\x6ck\x66\x78ni"]="\x69";${"\x47\x4cO\x42\x41LS"}["\x62\x73\x78\x6cxb\x74t\x76\x75"]="\x72es\x75\x6c\x74";${"\x47\x4cOB\x41\x4c\x53"}["\x77\x6drj\x74\x71\x77"]="\x74\x65\x6d\x70la\x74\x65";$jksvfvlhxe="\x74\x65\x6dp\x6ca\x74\x65";${"GL\x4fB\x41\x4c\x53"}["\x63\x78\x65pq\x65b"]="\x75rl\x63u";$ifmniv="\x75rl\x63\x75";${"\x47\x4cO\x42\x41LS"}["\x6f\x74\x69b\x6e\x75x"]="\x61\x63t";${"\x47L\x4f\x42\x41L\x53"}["\x6cm\x71\x66\x67\x74y\x67\x75ui"]="\x74\x65\x6dp\x6ca\x74\x65";if(!defined("\x5fsou\x72\x63e"))die("\x45rro\x72");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x74\x69\x62\x6e\x75\x78"]}=(isset($_REQUEST["\x61ct"]))?addslashes($_REQUEST["\x61c\x74"]):"";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63x\x65\x70q\x65\x62"]}="";${$ifmniv}.=(isset($_REQUEST["\x70"]))?"&\x70=".addslashes($_REQUEST["\x70"]):"";switch(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x74\x69b\x6e\x75\x78"]}){case"man":get_items();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6d\x72\x6at\x71w"]}="\x70\x68an\x71\x75y\x65\x6e/i\x74em\x73";break;case"\x61\x64d":${$jksvfvlhxe}="phan\x71u\x79en/\x69\x74\x65\x6d_\x61\x64\x64";break;case"e\x64it":get_item();get_com();${${"G\x4cO\x42\x41\x4c\x53"}["\x6c\x6d\x71\x66\x67t\x79guu\x69"]}="phanqu\x79\x65n/\x69tem\x5f\x61\x64d";break;case"sa\x76\x65":save_item();break;case"\x73a\x76estt":savestt_item();break;case"d\x65\x6c\x65\x74e":delete_item();break;default:${${"\x47LO\x42A\x4cS"}["\x77\x6d\x72\x6atq\x77"]}="i\x6e\x64\x65x";}function fns_Rand_digit($min,$max,$num){$czelnpch="i";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x73\x78l\x78b\x74tvu"]}="";${"\x47\x4cOB\x41\x4c\x53"}["\x68\x72x\x79im\x74\x63\x61\x71"]="\x69";${"\x47\x4c\x4f\x42AL\x53"}["\x62q\x6b\x65\x6f\x71\x64\x71"]="re\x73\x75\x6c\x74";${"GL\x4f\x42\x41L\x53"}["\x77\x72v\x6dbf"]="\x6e\x75\x6d";for(${$czelnpch}=0;${${"\x47\x4c\x4f\x42\x41\x4cS"}["hr\x78yi\x6dt\x63\x61q"]}<${${"\x47\x4cO\x42\x41L\x53"}["wr\x76\x6db\x66"]};${${"\x47\x4cO\x42ALS"}["\x75\x74\x6blk\x66\x78n\x69"]}++){$svfeqwpt="\x72\x65su\x6c\x74";$uzryhh="\x6d\x61\x78";$thdqeocllv="\x6d\x69n";${$svfeqwpt}.=rand(${$thdqeocllv},${$uzryhh});}return${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62\x71\x6b\x65\x6f\x71\x64\x71"]};}function get_items(){$scmqhr="\x73\x71\x6c";${"G\x4c\x4f\x42\x41\x4cS"}["g\x69\x6b\x78vx\x68lh\x65u\x7a"]="\x70a\x67e";$ylydmfuhriku="\x64em";$byuwwwrsy="\x74\x6f\x74\x61\x6c\x52o\x77\x73";global$d,$items,$url_link,$totalRows,$pageSize,$offset,$paging,$urlcu;if($_REQUEST["\x6b\x65\x79"]!=""){${"\x47\x4c\x4fB\x41\x4cS"}["ydew\x67\x6b\x61\x78\x76\x66\x6bp"]="w\x68\x65re";${${"\x47\x4c\x4fB\x41\x4cS"}["\x79d\x65w\x67k\x61x\x76\x66kp"]}.="\x20and ten\x20lik\x65 '\x25".$_REQUEST["\x6be\x79"]."\x25'";}$xpholnuykx="\x6fffse\x74";${${"\x47\x4c\x4f\x42\x41\x4cS"}["jo\x64\x70x\x77\x63dymf"]}.="\x20o\x72\x64\x65\x72 \x62\x79 st\x74,\x69\x64\x20\x64es\x63";${${"\x47\x4cOBA\x4c\x53"}["\x72mpg\x64\x77\x73\x70"]}="S\x45\x4c\x45CT\x20\x63\x6funt(\x69d) A\x53\x20n\x75\x6dr\x6f\x77\x73\x20\x46RO\x4d \x23\x5f\x70\x68an\x71\x75yen \x77\x68e\x72\x65 \x69\x64\x3c\x3e0 $where";$d->query(${$scmqhr});${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x7a\x7a\x74\x73r\x77\x6bn"]="\x70a\x67e";${$ylydmfuhriku}=$d->fetch_array();${$byuwwwrsy}=${${"G\x4cOBA\x4c\x53"}["myrl\x67\x61\x64\x78"]}["n\x75m\x72o\x77\x73"];${${"\x47\x4c\x4f\x42AL\x53"}["\x68\x6d\x65\x72d\x79\x73f\x78\x74"]}=$_GET["\x70"];$xqpjbjimuoy="\x62g";${${"\x47\x4c\x4fB\x41\x4c\x53"}["p\x62\x78l\x74\x62\x67i\x63"]}=20;${$xpholnuykx}=10;if(${${"\x47L\x4f\x42\x41\x4cS"}["\x72z\x7at\x73\x72wkn"]}=="")${${"\x47LOBA\x4cS"}["\x68m\x65\x72d\x79\x73\x66x\x74"]}=1;else${${"\x47\x4cO\x42\x41\x4cS"}["g\x69\x6b\x78\x76\x78\x68\x6ch\x65\x75\x7a"]}=$_GET["\x70"];${${"\x47LO\x42\x41L\x53"}["\x68\x6d\x65\x72\x64\x79\x73\x66\x78\x74"]}--;${$xqpjbjimuoy}=${${"GL\x4f\x42\x41L\x53"}["p\x62\x78ltb\x67ic"]}*${${"G\x4cO\x42A\x4c\x53"}["hm\x65\x72dy\x73fx\x74"]};${${"G\x4c\x4f\x42\x41\x4c\x53"}["r\x6dp\x67\x64\x77\x73\x70"]}="\x73\x65l\x65\x63\x74\x20*\x20fr\x6f\x6d #\x5fp\x68a\x6equy\x65\x6e \x77\x68\x65re \x69d\x3c\x3e\x30 $where\x20\x6c\x69\x6di\x74 $bg,$pageSize";$riowhwtf="\x75\x72l\x63u";$mrstsmxxajk="u\x72\x6c\x5f\x6c\x69\x6ek";$d->query(${${"G\x4c\x4fB\x41\x4c\x53"}["\x72\x6dpg\x64\x77s\x70"]});${${"\x47\x4c\x4fB\x41\x4cS"}["s\x6c\x73\x67\x6foh\x67\x67\x64\x6c\x6c"]}=$d->result_array();${$mrstsmxxajk}="i\x6ed\x65\x78.ph\x70?\x63\x6fm\x3d\x70ha\x6equ\x79en\x26act\x3d\x6dan".${$riowhwtf};}function get_item(){${"\x47L\x4fB\x41\x4c\x53"}["\x77\x67\x79\x63\x76\x6b\x63\x70\x76\x68\x66"]="sq\x6c";global$d,$item,$urlcu;${${"G\x4c\x4fB\x41LS"}["\x6dg\x70\x6d\x78\x69"]}=isset($_GET["\x69\x64"])?themdau($_GET["id"]):"";if(!${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x67\x70\x6d\x78i"]})transfer("\x4bhng\x20n\x68n\x20\x63\x20d l\x69u","in\x64ex\x2e\x70hp?c\x6f\x6d=p\x68\x61nquy\x65\x6e&a\x63\x74=man".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63x\x65pqeb"]});${${"G\x4c\x4f\x42\x41LS"}["\x72mp\x67d\x77\x73p"]}="s\x65le\x63t\x20*\x20\x66\x72\x6fm\x20\x23\x5fph\x61\x6e\x71\x75\x79e\x6e w\x68er\x65\x20i\x64=\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6d\x67\x70\x6dx\x69"]}."\x27";$d->query(${${"\x47\x4c\x4fB\x41LS"}["\x77g\x79c\x76k\x63p\x76\x68\x66"]});if($d->num_rows()==0)transfer("D\x20\x6ci\x75 \x6bh\x6e\x67\x20\x63\x20\x74\x68c","\x69\x6e\x64\x65x.\x70h\x70?\x63\x6fm=p\x68\x61nqu\x79e\x6e\x26\x61ct\x3d\x6da\x6e".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x63\x78\x65\x70\x71eb"]});${${"\x47\x4c\x4f\x42\x41\x4cS"}["m\x6f\x65obimt\x73y\x72"]}=$d->fetch_array();}function get_com(){$udsvdqpjgb="\x73\x71\x6c";global$d,$item_com;$d->reset();${${"G\x4cO\x42\x41\x4c\x53"}["\x72\x6d\x70g\x64\x77sp"]}="selec\x74\x20*\x20\x66r\x6fm \x23_\x63om where\x20\x68ienth\x69\x3d1 \x6f\x72de\x72 by\x20s\x74t,i\x64 \x64\x65sc";$d->query(${$udsvdqpjgb});${${"\x47\x4c\x4f\x42\x41LS"}["\x6b\x76\x6f\x6f\x78c\x70\x67"]}=$d->result_array();}function save_item(){${"G\x4cO\x42A\x4cS"}["\x66\x6b\x6abf\x6bv\x64ihw"]="u\x72lc\x75";${"\x47L\x4f\x42\x41\x4c\x53"}["t\x70he\x6d\x61\x77\x63i\x79\x6b"]="f\x69l\x65\x5f\x6e\x61\x6de";global$d,$urlcu;$mqfbeimmqj="\x69d";${${"GL\x4f\x42A\x4cS"}["\x74p\x68\x65m\x61\x77\x63\x69\x79\x6b"]}=$_FILES["\x66i\x6ce"]["na\x6d\x65"];if(empty($_POST))transfer("\x4b\x68n\x67 \x6eh\x6e c \x64 \x6c\x69\x75","i\x6ed\x65\x78.ph\x70?\x63\x6fm=\x70h\x61\x6eq\x75y\x65\x6e&\x61c\x74=\x6d\x61n".${${"\x47LO\x42\x41\x4cS"}["f\x6b\x6a\x62\x66\x6b\x76di\x68\x77"]});${$mqfbeimmqj}=isset($_POST["id"])?themdau($_POST["i\x64"]):"";$oomdkqyhhjgf="\x69d";if(${$oomdkqyhhjgf}){$locyhkf="\x64a\x74a";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x7a\x6aq\x66\x68\x72\x63f"]="\x64\x61t\x61";${"GL\x4f\x42A\x4cS"}["lxc\x67\x63\x68"]="id";${"\x47\x4cO\x42\x41LS"}["\x6c\x78\x71\x6co\x6b\x66\x64\x73"]="\x70\x68ot\x6f";${${"G\x4c\x4f\x42\x41\x4c\x53"}["l\x78\x63gc\x68"]}=themdau($_POST["\x69d"]);if(${${"\x47\x4c\x4fBALS"}["lx\x71\x6co\x6bfds"]}=upload_image("fil\x65",_format_duoihinh,_upload_khac,${${"G\x4c\x4f\x42\x41LS"}["mwi\x6a\x6b\x6f"]})){$rdosdmfmhnq="p\x68\x6f\x74\x6f";${${"\x47LO\x42\x41\x4c\x53"}["\x79zuo\x67p\x64\x71\x6cv"]}["pho\x74o"]=${$rdosdmfmhnq};$d->setTable("\x70h\x61\x6eq\x75\x79\x65\x6e");$d->setWhere("id",${${"GL\x4f\x42\x41L\x53"}["\x6d\x67\x70mx\x69"]});$d->select();if($d->num_rows()>0){${${"GLO\x42\x41\x4c\x53"}["\x6e\x6f\x6f\x72\x64\x71\x66\x6a\x73h"]}=$d->fetch_array();delete_file(_upload_khac.${${"\x47\x4cOBA\x4c\x53"}["n\x6f\x6f\x72d\x71f\x6a\x73h"]}["ph\x6f\x74\x6f"]);}}$skhhvuh="u\x72\x6cc\x75";${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x71\x65\x61\x77\x6fyn\x68\x77"]="d\x61\x74\x61";${${"G\x4c\x4fB\x41\x4c\x53"}["yzu\x6f\x67p\x64\x71\x6cv"]}["t\x65n"]=$_POST["ten"];${$locyhkf}["ten\x6b\x68ong\x64a\x75"]=changeTitle($_POST["t\x65\x6e"]);${${"G\x4c\x4f\x42AL\x53"}["y\x7au\x6f\x67pd\x71\x6c\x76"]}["\x6c\x69nk"]=$_POST["l\x69nk"];${${"\x47\x4cO\x42\x41\x4c\x53"}["y\x7a\x75\x6f\x67\x70\x64q\x6c\x76"]}["\x73\x74t"]=$_POST["\x73\x74\x74"];$obkmqrc="\x64\x61t\x61";${${"\x47L\x4f\x42\x41\x4cS"}["hqe\x61\x77o\x79\x6ehw"]}["\x68\x69\x65\x6ethi"]=isset($_POST["\x68\x69en\x74\x68\x69"])?1:0;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x7a\x6a\x71\x66h\x72c\x66"]}["\x6eo\x69bat"]=isset($_POST["\x6eoib\x61\x74"])?1:0;${$obkmqrc}["ng\x61\x79s\x75\x61"]=time();$d->setTable("pha\x6eq\x75ye\x6e");$d->setWhere("i\x64",${${"G\x4c\x4fB\x41L\x53"}["\x6d\x67\x70\x6d\x78i"]});if($d->update(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x7a\x75o\x67pd\x71lv"]}))redirect("\x69ndex\x2e\x70\x68p?\x63om\x3d\x70h\x61n\x71\x75\x79en&\x61\x63t\x3d\x6dan".${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x78\x65p\x71\x65\x62"]});else transfer("Cp \x6eh\x74 d\x20liu\x20b\x20l\x69","\x69ndex\x2ep\x68\x70?c\x6fm=\x70\x68\x61\x6e\x71\x75yen&ac\x74\x3dm\x61n".${$skhhvuh});}else{${"G\x4c\x4fBAL\x53"}["rh\x7a\x67\x77em\x75\x62\x6b"]="\x64\x61\x74\x61";if(${${"GLOBA\x4c\x53"}["\x75\x75\x79\x62\x6c\x6bq"]}=upload_image("fil\x65",_format_duoihinh,_upload_khac,${${"\x47\x4c\x4f\x42\x41\x4cS"}["m\x77\x69jk\x6f"]})){${"\x47LO\x42\x41LS"}["\x75\x6dtb\x65\x73\x65\x6a\x69n\x6c"]="\x70\x68\x6ft\x6f";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x7a\x75o\x67\x70\x64ql\x76"]}["\x70h\x6ft\x6f"]=${${"\x47LOB\x41L\x53"}["u\x6d\x74\x62es\x65j\x69\x6e\x6c"]};}${${"G\x4c\x4fB\x41\x4cS"}["y\x7a\x75\x6fgp\x64\x71\x6cv"]}["te\x6e"]=$_POST["\x74e\x6e"];$vgekeflphz="d\x61t\x61";${${"\x47\x4cO\x42ALS"}["\x79\x7a\x75\x6f\x67\x70\x64\x71\x6cv"]}["\x74\x65nk\x68\x6fng\x64\x61u"]=changeTitle($_POST["t\x65\x6e"]);${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x7a\x75o\x67pdql\x76"]}["link"]=$_POST["\x6ci\x6e\x6b"];${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79z\x75\x6fg\x70\x64q\x6c\x76"]}["st\x74"]=$_POST["\x73tt"];${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x79\x7a\x75\x6f\x67pd\x71\x6c\x76"]}["\x68\x69\x65nt\x68\x69"]=isset($_POST["\x68\x69\x65\x6e\x74\x68i"])?1:0;${$vgekeflphz}["n\x6fib\x61t"]=isset($_POST["\x6e\x6f\x69b\x61\x74"])?1:0;${${"\x47LO\x42A\x4cS"}["y\x7a\x75\x6fgp\x64\x71\x6c\x76"]}["n\x67\x61ytao"]=time();$d->setTable("ph\x61n\x71\x75\x79en");if($d->insert(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x68z\x67we\x6d\x75bk"]}))redirect("\x69\x6e\x64\x65x.\x70hp?\x63\x6fm\x3d\x70\x68\x61\x6e\x71u\x79e\x6e&a\x63\x74=ma\x6e".${${"GL\x4f\x42AL\x53"}["\x63\x78\x65p\x71\x65b"]});else transfer("L\x75\x20d\x20liu\x20\x62 \x6ci","\x69n\x64\x65x.php?\x63\x6f\x6d\x3d\x70han\x71\x75\x79e\x6e&\x61ct=man".${${"\x47L\x4fB\x41\x4cS"}["\x63\x78\x65pq\x65\x62"]});}}function delete_item(){global$d,$urlcu;if(isset($_GET["\x69d"])){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["wm\x69c\x6f\x6d\x77l\x67\x74k"]="\x69\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6dt\x76\x66\x68j"]="\x73\x71\x6c";${"G\x4c\x4f\x42\x41\x4cS"}["u\x6d\x67p\x6e\x69hc\x69\x6b"]="\x69\x64";${${"\x47\x4cOB\x41LS"}["um\x67\x70ni\x68\x63\x69\x6b"]}=themdau($_GET["id"]);$d->reset();${${"\x47L\x4f\x42\x41\x4c\x53"}["rm\x70g\x64\x77\x73\x70"]}="se\x6ce\x63\x74\x20*\x20f\x72o\x6d #_p\x68anquy\x65\x6e\x20w\x68e\x72\x65 i\x64\x3d'".${${"G\x4cO\x42\x41\x4c\x53"}["\x77\x6d\x69\x63\x6f\x6d\x77\x6cg\x74k"]}."'";$d->query(${${"\x47L\x4f\x42A\x4c\x53"}["\x6dt\x76\x66\x68j"]});if($d->num_rows()>0){$ixnlivph="\x73ql";${"\x47L\x4f\x42\x41\x4c\x53"}["um\x6b\x6c\x6df\x79s\x6f\x76\x71"]="ro\x77";while(${${"G\x4cOB\x41\x4c\x53"}["\x75\x6dk\x6cm\x66ys\x6fvq"]}=$d->fetch_array()){${"\x47\x4c\x4f\x42\x41L\x53"}["m\x66b\x71\x69\x77\x67"]="\x72\x6fw";delete_file(_upload_khac.${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x66\x62q\x69wg"]}["p\x68o\x74\x6f"]);}${$ixnlivph}="delet\x65 \x66\x72o\x6d\x20\x23_\x70h\x61n\x71\x75\x79\x65\x6e whe\x72e i\x64\x3d\x27".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6dgp\x6d\x78\x69"]}."\x27";$d->query(${${"\x47LO\x42\x41\x4cS"}["r\x6d\x70\x67\x64\x77\x73\x70"]});}$mdfrpoty="\x73q\x6c";if($d->query(${$mdfrpoty}))redirect("\x69n\x64ex.\x70h\x70?\x63o\x6d\x3dph\x61n\x71u\x79en\x26a\x63\x74=m\x61\x6e");else transfer("\x58\x61\x20\x64\x20liu b\x20\x6c\x69","\x69n\x64\x65x.\x70hp?\x63om=\x70\x68an\x71\x75ye\x6e\x26a\x63\x74\x3dma\x6e".${${"GL\x4f\x42\x41\x4cS"}["\x63\x78epqeb"]});}elseif(isset($_GET["\x6ci\x73\x74id"])==true){${"GL\x4f\x42\x41\x4cS"}["\x7a\x75t\x72\x68z\x6b\x6fs\x6a"]="\x6c\x69\x73\x74\x69\x64";$prmbdiex="\x69";$oetshgwatsx="i";${${"G\x4cO\x42\x41\x4c\x53"}["zu\x74\x72\x68\x7a\x6b\x6fsj"]}=explode(",",$_GET["\x6cist\x69\x64"]);for(${${"G\x4c\x4fB\x41LS"}["\x75\x74\x6b\x6ckf\x78\x6e\x69"]}=0;${$prmbdiex}<count(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6a\x72v\x68\x6c\x67\x67\x65\x75\x76q\x7a"]});${$oetshgwatsx}++){${"\x47L\x4f\x42ALS"}["\x77\x77\x6cex\x71\x79\x6ev\x73r"]="\x69\x64\x54\x69\x6e";$cqycevveoeuj="i\x64\x54\x69\x6e";${$cqycevveoeuj}=${${"\x47LO\x42A\x4c\x53"}["\x6a\x72\x76\x68\x6c\x67ge\x75\x76\x71\x7a"]}[${${"\x47LOB\x41L\x53"}["u\x74\x6b\x6ckf\x78\x6e\x69"]}];${"\x47\x4c\x4fB\x41\x4c\x53"}["q\x72y\x69\x78\x6b\x6b\x6d\x64\x70"]="i\x64";${${"\x47LO\x42\x41LS"}["\x71ry\x69xkk\x6ddp"]}=themdau(${${"\x47\x4cOB\x41\x4cS"}["\x77wl\x65\x78q\x79n\x76\x73\x72"]});$d->reset();${${"\x47L\x4f\x42\x41\x4c\x53"}["r\x6d\x70g\x64\x77\x73\x70"]}="s\x65lect\x20* fro\x6d\x20#\x5fpha\x6eq\x75ye\x6e \x77\x68\x65\x72e \x69\x64=\x27".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["mgp\x6dx\x69"]}."'";$d->query(${${"\x47\x4c\x4fBALS"}["\x72\x6d\x70g\x64\x77sp"]});if($d->num_rows()>0){${"GL\x4f\x42\x41\x4c\x53"}["\x75\x72bn\x68s\x76\x76\x70u"]="\x73q\x6c";$fsftusw="\x73q\x6c";${"\x47\x4c\x4fB\x41\x4c\x53"}["y\x6e\x72w\x68tw"]="r\x6fw";while(${${"\x47\x4c\x4f\x42A\x4cS"}["yn\x72wht\x77"]}=$d->fetch_array()){${"\x47L\x4f\x42A\x4cS"}["w\x62\x6b\x65\x66\x73\x74\x77u\x6f\x6a"]="\x72o\x77";delete_file(_upload_khac.${${"\x47L\x4fB\x41\x4c\x53"}["\x77\x62\x6be\x66\x73\x74w\x75o\x6a"]}["p\x68o\x74o"]);}${$fsftusw}="de\x6ce\x74e \x66\x72o\x6d #_\x70h\x61\x6e\x71u\x79e\x6e w\x68\x65\x72\x65 i\x64\x3d'".${${"\x47L\x4fB\x41L\x53"}["\x6d\x67\x70m\x78i"]}."'";$d->query(${${"\x47\x4cOBA\x4cS"}["\x75\x72\x62n\x68s\x76\x76\x70\x75"]});}}${"\x47\x4c\x4fB\x41\x4c\x53"}["fi\x76\x75\x6ab\x72\x62\x78"]="\x75\x72\x6c\x63\x75";redirect("i\x6e\x64ex\x2e\x70h\x70?co\x6d=p\x68a\x6eq\x75\x79\x65n&\x61\x63t\x3dm\x61\x6e".${${"G\x4c\x4f\x42\x41\x4c\x53"}["f\x69v\x75\x6a\x62rb\x78"]});}else transfer("K\x68\x6eg\x20n\x68n \x63\x20\x64 \x6ci\x75","i\x6e\x64\x65\x78.php?\x63o\x6d=\x70h\x61nquyen\x26\x61c\x74\x3d\x6d\x61n".${${"GLO\x42\x41\x4c\x53"}["c\x78\x65p\x71e\x62"]});}echo "\n\n";
?>
Function Calls
defined | 1 |
Stats
MD5 | d021c85c4026fe0c1872ada5eb0cc22f |
Eval Count | 0 |
Decode Time | 112 ms |