Sh3ll
OdayForums


Server : Apache
System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
User : apache ( 48)
PHP Version : 8.0.28
Disable Function : NONE
Directory :  /var/www/html/mmishra/erp-15-06-18/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/mmishra/erp-15-06-18/controllers/hr_controller.php
<?php
/*
class hrController {

	$myERP->view = $_REQUEST['view'];
	$myERP->action = $_REQUEST['action'];
	$myERP = new erpController();

	if (!$myERP->wingID) $ro = '';

	if ($myERP->action == 'new') {
		$myERP->wingID = 0;
		$ro = '';

	} else if ($myERP->action == 'edit') {
		$ro = '';
		$edit = 1;

	} else if ($myERP->action == 'enable') {
		//save record
		$myERP->enableWing();

	} else if ($myERP->action == 'disable') {
		//save record
		$myERP->disableWing();

	} else if ($myERP->action == 'up') {
		//save record
		$myERP->wingUp();

	} else if ($myERP->action == 'down') {
		//save record
		$myERP->wingDown();

	} else if ($myERP->action == 'save') {
		$myERP->wingName = $_POST['wingName'];
		$myERP->description = $_POST['description'];
		$myERP->wingIcon = $_POST['wingIcon'];
		$myERP->iconColor = $_POST['iconColor'];
		$myERP->wingDept = $_POST['wingDept'];
		$myERP->wingAdmin = $_POST['wingAdmin'];
		$myERP->adminEmail = $_POST['adminEmail'];
		$myERP->status = $_POST['status'];
		
		//save record
		$myERP->saveWing();
		
	} else if ($myERP->action == 'delete') {
		//delete record
		$myERP->deleteWing();
	}
}
*/
?>

ZeroDay Forums Mini