| 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:/inetpub/wwwroot/icd/components/com_staffmaster/ |
Upload File : |
<?php
/**
* File: staffmaster.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');
/**
* Import & Require Joomla's controller
*/
require_once( JPATH_COMPONENT.DS.'controller.php' );
JTable::addIncludePath( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_staffmaster'.DS.'tables');
JModel::addIncludePath( JPATH_COMPONENT . DS . 'models');
/**
* @todo this define needs to be moved to a more permenant uniform location
*
*/
define( "SM_READ_MORE" , "Read More...");
$task = JRequest::getCmd( 'task' );
$view = JRequest::getCmd( 'view' );
if( $view == 'list' ) {
$view = 'listall';
}
if( $task == '' ) {
$task = $view;
}
$controller = new StaffController();
$controller->execute( $task );
$controller->redirect();
?>