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 /** * * * @package mod_blank250 * copyright Blackdale/Bob Galway * @lic..

Decoded Output download

<?php 
/** 
 * 
 * 
 * @package   mod_blank250 
 * copyright Blackdale/Bob Galway 
 * @license GPL3 
 */ 
 
// no direct access 
defined('_JEXEC') or die; 
 
$css = ""; 
if ($graphics == 1) { 
    $css .= ' 
	#inner' . $modno_bm . '{ 
	padding:5px; 
	background:' . $colour1 . ' url(' . $url . 'modules/mod_blank250/tmpl/images/backgrounds/' . $bgpattern . '.png); 
	border-radius:5px; 
	border:' . $bordersz . 'px solid ' . $bordercol . '; 
	box-shadow:0 0 ' . $shadsz . 'px ' . $shadcol . '; 
	} 
 
	#holder' . $modno_bm . ' { 
	padding:' . $shadsz . 'px; 
	margin:0; 
	border:0; 
	}'; 
} 
 
 
$css .= ' 
#blank' . $modno_bm . '{'; 
if (!empty($margintop)) { 
    $css .= 'margin-top:' . $margintop . 'px;'; 
} 
if (!empty($marginbottom)) { 
    $css .= 'margin-bottom:' . $marginbottom . 'px;'; 
} 
if (!empty($marginleftmodule)) { 
    $css .= 'margin-left:' . $marginleftmodule . 'px;'; 
} 
$css .= 'overflow:hidden;'; 
if (!empty($paddingleft)) { 
    $css .= 'padding-left:' . $paddingleft . 'px;'; 
} 
if (!empty($paddingright)) { 
    $css .= 'padding-right:' . $paddingright . 'px;'; 
} 
if (!empty($paddingtop)) { 
    $css .= 'padding-top:' . $paddingtop . 'px;'; 
} 
if (!empty($paddingbottom)) { 
    $css .= 'padding-bottom:' . $paddingbottom . 'px;'; 
} 
$css .= 'width:' . $width . $widthunit . '; 
background:' . $colour2; 
$css .= '}'; 
 
$doc->addStyleDeclaration($css, 'text/css'); 
 
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 *
 *
 * @package   mod_blank250
 * copyright Blackdale/Bob Galway
 * @license GPL3
 */

// no direct access
defined('_JEXEC') or die;

$css = "";
if ($graphics == 1) {
    $css .= '
	#inner' . $modno_bm . '{
	padding:5px;
	background:' . $colour1 . ' url(' . $url . 'modules/mod_blank250/tmpl/images/backgrounds/' . $bgpattern . '.png);
	border-radius:5px;
	border:' . $bordersz . 'px solid ' . $bordercol . ';
	box-shadow:0 0 ' . $shadsz . 'px ' . $shadcol . ';
	}

	#holder' . $modno_bm . ' {
	padding:' . $shadsz . 'px;
	margin:0;
	border:0;
	}';
}


$css .= '
#blank' . $modno_bm . '{';
if (!empty($margintop)) {
    $css .= 'margin-top:' . $margintop . 'px;';
}
if (!empty($marginbottom)) {
    $css .= 'margin-bottom:' . $marginbottom . 'px;';
}
if (!empty($marginleftmodule)) {
    $css .= 'margin-left:' . $marginleftmodule . 'px;';
}
$css .= 'overflow:hidden;';
if (!empty($paddingleft)) {
    $css .= 'padding-left:' . $paddingleft . 'px;';
}
if (!empty($paddingright)) {
    $css .= 'padding-right:' . $paddingright . 'px;';
}
if (!empty($paddingtop)) {
    $css .= 'padding-top:' . $paddingtop . 'px;';
}
if (!empty($paddingbottom)) {
    $css .= 'padding-bottom:' . $paddingbottom . 'px;';
}
$css .= 'width:' . $width . $widthunit . ';
background:' . $colour2;
$css .= '}';

$doc->addStyleDeclaration($css, 'text/css');

Function Calls

defined 1

Variables

None

Stats

MD5 68bad208a181b3933bcbe81f3d1f3949
Eval Count 0
Decode Time 125 ms