403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.216.231
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Old Sites/moke/administrator/components/com_proforms/admin.proforms.php
<?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.' );

// Joomla version detection
$jVersion = new JVersion;
$j = $jVersion->getShortVersion();
$jsub = floatval(substr($j,0,3));
if($jsub == 1.5 ){
	define("_M4J_IS_J16" ,0);
	define("_M4J_IS_J30" ,0);
}else if($jsub > 1.5 && $jsub <3.0){
	define("_M4J_IS_J16" ,1);
	define("_M4J_IS_J30" ,0);
}else{
	define("_M4J_IS_J16" ,1);
	define("_M4J_IS_J30" ,1);
}
    
	//*ABSOLUTE PATH
	define("M4J_ABS", JPATH_ROOT);
	//proforms internal debug
	define("_M4J_DEBUG",0);
		
	if(! _M4J_IS_J30){
		jimport("joomla.utilities.simplexml");
	}
	//JSimpleXML Legacy
	if(! class_exists("JSimpleXML")){
		require_once(M4J_ABS . '/administrator/components/com_proforms/includes/simplexml.php');
	}
	// get evolution functions	
	require_once(M4J_ABS . '/administrator/components/com_proforms/includes/evolution.php');
	// get defines
	require_once(M4J_ABS . '/administrator/components/com_proforms/defines.proforms.php');
	// load view ( Based on  J1.0x ) or something like this :).
	require_once(M4J_ABS . '/administrator/components/com_proforms/admin.proforms.html.php');
	// load the easy form maker class (new to proforms)
	require_once(M4J_INCLUDE_MFORM);
	// load the curl emulation for servers without curl
//	require_once(M4J_INCLUDE_LIBCURL);
	// a helper class for working with templates 
	require_once(M4J_INCLUDE_TEMPLATER);
	// get the sef builder class
	require_once(M4J_INCLUDE_MSEF);
	// get the layout and the layout list class
	require_once(M4J_INCLUDE_LAYOUT);
	// get proforms's db helpers
	require_once(M4J_INCLUDE_MDB);
	// get Javscript language text helper
	require_once (M4J_INCLUDE_JSTEXT);
	// get the toolbar class
 	require_once(M4J_INCLUDE_TOOLBAR);
	
	// get the file class
	jimport('joomla.filesystem.file'); 
	// get the folder class
	jimport('joomla.filesystem.folder'); 
	// get the path class
	jimport('joomla.filesystem.path'); 	
	
	// get the configuration
	if(file_exists(M4J_INCLUDE_CONFIGURATION)) require_once(M4J_INCLUDE_CONFIGURATION);
	else require_once(M4J_INCLUDE_RESET_CONFIGURATION);
	// fix me . this is the old way to remember the category at the forms section.
	require_once(M4J_INCLUDE_REMEMBER);
	// the old way to include languages. if a certain language doesn't exist, the english files will be loaded
	if(M4J_FORCE_ADMIN_LANG) $m4jConfig_lang = M4J_FORCE_ADMIN_LANG;
	if(file_exists(M4J_LANG.$m4jConfig_lang.'.php')) include_once(M4J_LANG.$m4jConfig_lang.'.php');
	else include_once(M4J_LANG.'en.php');
	
	$GLOBALS["m4j_lang_elements"] = $m4j_lang_elements;
	
	// append stlesheets and javascript to the head
	$document=& JFactory::getDocument();
	$document->addStyleSheet(M4J_CSS);	
	if(_M4J_IS_J30) $document->addStyleSheet(M4J_CSS_30);	
	$document->addScript(M4J_JS.'proforms.js');	
	$document->addScript(M4J_FRONTEND_JS_DOJO);	
	$document->addScript(M4J_JS_MWINDOW);	
		
	//append main language variables to js
	HTML_m4j::jsText();
	
	// activating the helper class
	$helpers = new HTML_HELPERS_m4j();
	$GLOBALS['helpers'] = $helpers;
	
	// get the variables
	$section = JRequest::getString('section','jobs');
	$task = JRequest::getString('task',null);
	$id = JRequest::getInt('id', -1);
	$GLOBALS['id'] = $id;
	$GLOBALS['task'] = $task;
	$GLOBALS['section'] = $section;
	
	if( JRequest::getInt("nobar", 0) == 1 ) define("M4J_NOBAR",1);
	
	$editFlag = ($task =='edit') ? 1 : 0;
	define("M4J_EDITFLAG",$editFlag);
	
	$location = "";
	switch($section){
			
		default:
		case 'jobs':
		$location = M4J_LANG_FORM;
		require_once(M4J_INCLUDE_JOBS);
		break;
		
		case 'jobs_new':
		$location = M4J_LANG_FORM;
		require_once(M4J_INCLUDE_JOBS_NEW);
		break;
		
		case 'forms':
		$location = M4J_LANG_TEMPLATE;
		require_once(M4J_INCLUDE_FORMS);
		break;
		
		case 'form_new':
		$location = M4J_LANG_TEMPLATE;
		require_once(M4J_INCLUDE_FORM_NEW);
		break;

		case 'datastorage':
		$location = M4J_LANG_DATABASE;
		require_once(M4J_INCLUDE_DATASTORAGE);
		break;		

		case 'apps':
		$location = M4J_LANG_APPS;
		require_once(M4J_INCLUDE_APPS);
		break;		
			
		case 'storage_config':
		require_once(M4J_INCLUDE_STORAGE_CONFIG);
		break;	
		
		case 'storage_mail':
		require_once(M4J_INCLUDE_STORAGE_MAIL);
		break;
		
		case 'formelements':
		$location = str_replace(":","", M4J_LANG_TEMPLATE_ELEMENTS);
		require_once(M4J_INCLUDE_FORM_ELEMENTS);
		break;
		
		case 'element':
		$location = str_replace(":","", M4J_LANG_TEMPLATE_ELEMENTS);
		require_once(M4J_INCLUDE_ELEMENT);
		break;

		case 'category':
		$location = M4J_LANG_CATEGORY;
		require_once(M4J_INCLUDE_CATEGORY);
		break;

		case 'category_new':
		$location = M4J_LANG_CATEGORY;
		require_once(M4J_INCLUDE_CATEGORY_NEW);
		break;
				
		case 'config':
		$location = M4J_LANG_CONFIG;
		require_once(M4J_INCLUDE_CONFIG);
		break;
				
		case 'applist':
		$location = M4J_LANG_APPS;
		require_once(M4J_INCLUDE_APPLIST);
		break;
				
		case 'adminapps':
		$location = M4J_LANG_APPS;
		require_once(M4J_INCLUDE_ADMINAPPS);
		break;
		
		case 'backup':
		$location = M4J_LANG_BACKUP;
		require_once(M4J_INCLUDE_BACKUP);
		break;
		
		case 'help':
		$location = M4J_LANG_HELP;
		define('M4J_NOBAR',0);	
		require_once(M4J_INCLUDE_HELP);
		break;
		
		case 'service':
		$location = M4J_LANG_HELPDESK;
		define('M4J_NOBAR',0);	
		require_once(M4J_INCLUDE_SERVICE);
		break;		
		
		case 'link':
		require_once(M4J_INCLUDE_LINK);
		break;

		case 'preview':
		require_once(M4J_INCLUDE_PREVIEW);
		break;		
		
		case 'xhr':
		require_once(M4J_INCLUDE_XHR);
		exit();
		break;
				
	}
	$app = & JFactory::getApplication();
	$app->JComponentTitle = "Proforms". ($location ? ": ".$location : "");
	
	
	JSText::render();	
	
	if(isset($GLOBALS['editArea'])){
		$GLOBALS['editArea']->append();   
	}
	
	
	
?>

Youez - 2016 - github.com/yon3zu
LinuXploit