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 $_F=__FILE__;$_C304074044='Pz48P2lHaQ0KNnh2Vmt6Q19YeHZDICcuLi8uLi9WNkRsUmw2Q2Uvdlh4T..

Decoded Output download

?><?php
include_once '../../libraries/config.php';

/**
* @property db $db
* @property sessionWorks $ses
* @property generalWorks $gw
*/
class cmsRelatedPages extends controller
{
    function cmsRelatedPages()
    {
        parent::controller();
        $this->loadLibrary("gw", "generalWorks", "generalworks.php");
		$this->loadLibrary("related", "related", "related.php"); 		// library that handles all related links functions (add,modify,delete,fetch)
    }

    function index()
    {

        $id = $_REQUEST['id'];        
		if (empty($id)) $this->ses->redirect("index.php?notfound=1","refresh");               

        if (!empty($_REQUEST['saveOrder'])) $this->related->saveOrder($id,'page');
        
		if (!empty($_REQUEST['hideShowLink'])) $this->related->hideShowLink($_REQUEST['linkid'], $_REQUEST['show']);  
		
		if (!empty($_REQUEST['editpage'])) {
			
			$this->related->editpage($id,'page');
			
			// Changing Tabs
			$s_tab = $_REQUEST['tab'];
			if ($s_tab=='index') 
				$this->ses->redirect("edit.php?id=".$id,"refresh");
			elseif ($s_tab=='images') 
				$this->ses->redirect("images.php?id=".$id,"refresh");
		}        
		
		return array_merge($this->getData($id),$this->related->getData('page',$id));
    }

    function getData($id, $err=null)
    {
        $data = array(
            'baseurl' => $this->baseurl,
			'error' => $this->gw->getError($err),
			'id' => $id
        );

        // select page title titles
        $strSQL =	"select heading from cmspage where pageid = $id";
        $rstitle = $this->db->query($strSQL);
        if (!empty($rstitle))
        {
            $rstitlerow = $rstitle->row_array();
            $data['parentname'] = $rstitlerow['heading'];
        }

        return $data;
    }    
}

$page = new cmsRelatedPages();
extract($page->index(),EXTR_OVERWRITE);



?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_C304074044='Pz48P2lHaQ0KNnh2Vmt6Q19YeHZDICcuLi8uLi9WNkRsUmw2Q2Uvdlh4TjY0LmlHaSc7DQ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KICAgICAgICA2TiAoIUM3aWNXKCRsZWM2Y1ZDKSkNCiAgICAgICAgew0KICAgICAgICAgICAgJGxlYzZjVkNsWEsgPSAkbGVjNmNWQy0+bFhLX1JsbFJXKCk7DQogICAgICAgICAgICAkelJjUlsnaVJsQ3hjeFI3QyddID0gJGxlYzZjVkNsWEtbJ0dDUno2eDQnXTsNCiAgICAgICAgfQ0KDQogICAgICAgIGxDY2tseCAkelJjUjsNCiAgICB9ICAgIA0KfQ0KDQokaVI0QyA9IHhDSyB2N2V3Q1ZSY0N6bVI0Q2UoKTsNCkM1Y2xSdmMoJGlSNEMtPjZ4ekM1KCksSjB5d19NQkp3bnd1eUopOw0KDQoNCg0KPz4NCg=';$_D=strrev('edoced_46esab');eval($_D('JF9DMzA0MDc0MDQ0PWJhc2U2NF9kZWNvZGUoJF9DMzA0MDc0MDQ0KTskX0MzMDQwNzQwNDQ9c3RydHIoJF9DMzA0MDc0MDQ0LCdCQUdpUlhrSm4yYU41MXBxd1dlNE1jdDNsNmd2OG9DN205ZnVFT1BGYkR6c1pTaFV4VFlRZHJ5MEtMVmpISScsJ1ZBaHBhb3VFV1owZnhLOE1SeXNnT3RHSnJpUWNMN2VtUDNISTEyRll2YmQ2cTQ1am5rUzlVelRYd05sRENCJyk7JF9SPXN0cl9yZXBsYWNlKCdfX0ZJTEVfXycsIiciLiRfRi4iJyIsJF9DMzA0MDc0MDQ0KTtldmFsKCRfUik7JF9SPTA7JF9DMzA0MDc0MDQ0PTA7'));?>

Function Calls

strtr 1
strrev 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R 0
$_C304074044 0

Stats

MD5 9793fd24acc28d0ce86068732b5175ee
Eval Count 2
Decode Time 92 ms