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 $evalue = "PD8NCg0KJE1TZWNJRD0nJzsNCiRTZWNJRD0nJzsNCiRNYWluSUQ9Jyc7DQokU3ViSUQ9Jyc7D..
Decoded Output download
?>b'<?
$MSecID=\'\';
$SecID=\'\';
$MainID=\'\';
$SubID=\'\';
$ItmID=\'\';
$Head=\'\';
$msecHead="";
$secHead="";
if(isset($_REQUEST[\'IDZ\'])){
$IDZ=$_REQUEST[\'IDZ\'];
list($ItmID,$SubID,$MainID,$SecID,$MSecID)=split(\'[-]\',$IDZ);
}
$_REQUEST[\'mcatg\'];
if(isset($_REQUEST[\'mcatg\'])){
$MSecID=$_REQUEST[\'mcatg\'];
}
$cats="y";
$chat="n";
$radio="n";
$news="n";
$lexchange="n";
$banners="n";
$sqlp="select * from tbl_items where ";
if($MSecID<>\'\'){
$qry=mysql_query("select MSecName,msecimg from tbl_mainsection where MSecID=\'".$MSecID."\' and lngid=\'".$LngID."\'") or die("Invalid MSecID ".mysql_error());
if($qry){
$rows=mysql_num_rows($qry);
if($rows>0){
$data=mysql_fetch_row($qry);
$msecHead = $data[0];
$msecbanner = $msecimgs1.$data[1];
}
}
mysql_free_result($qry);
}else{
$qry=mysql_query("select * from tbl_mainsection where lngid=\'".$LngID."\' order by rank") or die("Invalid MSecID ".mysql_error());
If(mysql_num_Rows($qry)>0){
$rs=mysql_fetch_array($qry);
$MSecID=$rs["MSecID"];
$msecHead = $rs["MSecName"];
$msecbanner = $msecimgs1.$rs["msecimg"];
}
mysql_free_result($qry);
}
$sqlp.= "MSecID=\'".$MSecID."\'";
if($SecID<>\'\' && $SecID<>0){
$qry=mysql_query("select SecName,SecImg from tbl_section where MSecID=\'".$MSecID."\' and SecID=\'".$SecID."\' and lngid=\'".$LngID."\' order by rank") or die("Invalid MSecID ".mysql_error());
if($qry){
$rows=mysql_num_rows($qry);
if($rows>0){
$data=mysql_fetch_row($qry);
$secHead = $data[0];
$SecImg = $data[1];
$SeccImg = $secimgs.$data[1];
}
}
mysql_free_result($qry);
}else{
$qry=mysql_query("select * from tbl_section where MSecID=\'".$MSecID."\' and lngid=\'".$LngID."\' order by rank") or die(mysql_error());
if(mysql_num_rows($qry)>0){
$rs=mysql_fetch_array($qry);
$SecID=$rs["SecID"];
$secHead =$rs["SecName"];
}
mysql_free_result($qry);
}
$sqlp.= " and SecID=\'".$SecID."\'";
if($MainID<>\'\' && $MainID<>0){
$qry=mysql_query("select MainName,MainImg,PrdType from tbl_main where MSecID=\'".$MSecID."\' and SecID=\'".$SecID."\' and MainID=\'".$MainID."\' and lngid=\'".$LngID."\' order by rank") or die("Invalid MSecID ".mysql_error());
if($qry){
$rows=mysql_num_rows($qry);
if($rows>0){
$data=mysql_fetch_row($qry);
$Head .= " | ".$data[0];
$mhead=$data[0];
$MainImg = $data[1];
$MaincImg = $mainimgs.$data[1];
$PrdType = $data[2];
}
}
mysql_free_result($qry);
}else{
$qrychk=mysql_query("select * from tbl_main where MSecID=\'".$MSecID."\' and SecID=\'".$SecID."\' and lngid=\'".$LngID."\' order by rank") or die(mysql_error());
if(mysql_num_rows($qrychk)>0){
$rs=mysql_fetch_array($qrychk);
$MainID=$rs["MainID"];
$mhead=$rs["MainName"];
}
mysql_free_result($qrychk);
}
$sqlp.= " and MainID=\'".$MainID."\'";
if($SubID<>\'\'){
$qry=mysql_query("select SubName,PrdType from tbl_sub where MSecID=\'".$MSecID."\' and SecID=\'".$SecID."\' and MainID=\'".$MainID."\' and SubID=\'".$SubID."\' and lngid=\'".$LngID."\'") or die("Invalid MSecID ".mysql_error());
if($qry){
$rows=mysql_num_rows($qry);
if($rows>0){
$data=mysql_fetch_row($qry);
$Head .= " | ".$data[0];
$PrdType = $data[1];
}
}
mysql_free_result($qry);
}
$sqlp.= " and SubID=\'0\' and sOption=\'y\' and lngid=\'".$LngID."\' order by rank";
$sqlpn="select * from tbl_items where isNew=\'y\' and sOption=\'y\' and lngid=\'".$LngID."\'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ID0gJGRhdGFbMV07DQoJCX0NCgl9DQpteXNxbF9mcmVlX3Jlc3VsdCgkcXJ5KTsNCn0NCiRzcWxwLj0gIiBhbmQgU3ViSUQ9JzAnIGFuZCBzT3B0aW9uPSd5JyBhbmQgbG5naWQ9JyIuJExuZ0lELiInIG9yZGVyIGJ5IHJhbmsiOw0KDQokc3FscG49InNlbGVjdCAqIGZyb20gdGJsX2l0ZW1zIHdoZXJlIGlzTmV3PSd5JyBhbmQgc09wdGlvbj0neScgYW5kIGxuZ2lkPSciLiRMbmdJRC4iJyI7DQo/Pg0K";eval(" ?>".base64_decode($evalue) . "<?php ");
?>
Function Calls
base64_decode | 1 |
Stats
MD5 | cb4aaf4ab29ff370ee9324ddd615abc7 |
Eval Count | 1 |
Decode Time | 68 ms |