$text = _("Database Metrics");
        $V .= "<h2>{$text}</h2>\n";
        $V .= $this->DatabaseMetrics();
        $V .= "</td>";
        $V .= "</tr></table>\n";
        $text = _("Active FOSSology queries");
        $V .= "<h2>{$text}</h2>\n";
        $V .= $this->DatabaseQueries();
        $text = _("Disk Space");
        $V .= "<h2>{$text}</h2>\n";
        $V .= $this->DiskFree();
        return $V;
    }
    /**
     * \brief execute a shell command
     * \param $cmd - command to execute
     * \return command results
     */
    protected function DoCmd($cmd)
    {
        $fin = popen($cmd, "r");
        $buffer = "";
        while (!feof($fin)) {
            $buffer .= fread($fin, 8192);
        }
        pclose($fin);
        return $buffer;
    }
}
$NewPlugin = new dashboard();
$NewPlugin->Initialize();
Beispiel #2
0
<?php

require_once 'header.php';
$dashboard = new dashboard();
$sale_monthly_report = $dashboard->get_sale_monthly_report();
$sale_user_report = $dashboard->get_sale_user_report();
$sale_profit_loss = $dashboard->get_profitloss_report();
$latest_sale = $dashboard->get_latest_sale_person();
//print_f($latest_sale);
?>
<div class="alert alert-success alert-bold-border square fade in alert-dismissable" id="alert1">
  <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  <strong>Admin</strong> Upcoming clearing cheque # 123456789<br/> Dated 25-09-2015
  <a href="#fakelink" class="alert-link">Aamir Liaquat.</a>
</div>
<div class="alert alert-info alert-bold-border square fade in alert-dismissable" id="alert2">
  <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  <strong>Product!</strong> <a href="#fakelink" class="alert-link">Pepsi 1Ltr </a> remianing quantity 5 Peace
</div>
			<!-- BEGIN PAGE CONTENT -->
			<div class="page-content">
				<div class="container-fluid">
				
				<!-- 
				<h1 class="page-heading">DASHBOARD</h1>
				-->
				
					<!-- BEGIN EXAMPLE ALERT -->
					<div class="alert alert-warning alert-bold-border fade in alert-dismissable">
					  <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
					  <p><strong>Welcome!</strong> <?php 
Beispiel #3
0
<?php

include_once MODELS_ADMIN . "/" . $model . "_model.php";
$objDash = new dashboard();
$RowGeneralMessage = $objDash->getAllMessageBoard();
$GeneralMessageBox = $objDash->displayMessageBoard($RowGeneralMessage);
$RowInternalMessage = $objDash->getAllMessageBoard(-1);
$InternalMessageBox = $objDash->displayMessageBoard($RowInternalMessage);
$objDash->getAllDocument();
$GeneralDocuments = $objDash->makeHierarchy('gen');
$objDash->getAllDocument(-1);
$InternalDocuments = $objDash->makeHierarchy('int');
$RowAgenda = $objDash->getAllAgenda();
$strAgenda = $objDash->displayAgenda($RowAgenda);
?>


Beispiel #4
0
<?php

include_once MODELS_ADMIN . "/" . $model . "_model.php";
$objDash = new dashboard();
$LetestAthlets = $objDash->getLetestAddedAthletes();
$LetestEvent = $objDash->getLetestAddedEvent();
$arrFanVisisted = $objDash->getMostVisitedFanList();
?>

<?php

include_once MODELS_ADMIN . "/" . $model . "_model.php";
$objDash = new dashboard();
$totalMembers = $objDash->getTotalMembers();
$totalAlliances = $objDash->getTotalAlliances();
?>


<?php

include_once MODELS . "/" . $model . "_model.php";
$objComm->checkSiteSession();
$objDash = new dashboard();
$totalMembers = $objDash->getTotalMembers();
$totalAlliances = $objDash->getTotalAlliances();
$NewsWidget = $objDash->displayNewsWidget();
?>


Beispiel #7
0
<?php

// +-------------------------------------------------+
// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: dashboard.php,v 1.2 2014-01-13 08:07:15 arenou Exp $
// définition du minimum nécéssaire
$base_path = ".";
$base_auth = "";
$base_title = "\$msg[dashboard]";
$base_use_dojo = 1;
require_once "{$base_path}/includes/init.inc.php";
// ini_set('errors_display',1);
// error_reporting(E_ALL);
require_once $class_path . "/dashboard/dashboard.class.php";
print "<div id='att' style='z-Index:1000'></div>";
print $menu_bar;
print $extra;
print $extra2;
print $extra_info;
if ($use_shortcuts) {
    include "{$include_path}/shortcuts/circ.sht";
}
print $dashboard_layout;
$dashboard = new dashboard();
print $dashboard->render();
print $dashboard_layout_end;
print $footer;
mysql_close($dbh);
Beispiel #8
0
function getWorkGroupDocument()
{
    $WorkGroupID = $_REQUEST['workgroup_id'];
    $WorkGroupID = $WorkGroupID == '' ? '-1' : $WorkGroupID;
    $objDash = new dashboard();
    $objDash->getAllDocument($WorkGroupID);
    $InternalDocuments = $objDash->makeHierarchy('int');
    return $InternalDocuments;
}
Beispiel #9
0
<?php

require_once "../config.php";
verify_access($list_modules);
$emailSent = false;
$lessApr = false;
$lessRej = false;
$dash = new dashboard();
$lesson = new lesson();
$list_last_pend_lessons = $lesson->list_last_pend_lessons($user->id);
if ($_POST['action'] == 'Submit') {
    $dash->sendEmail($user->name, $user->email, $_POST['reseiver'], $_POST['subject'], $_POST['message']);
    $emailSent = true;
} else {
    if ($_POST['action'] == 'Eval') {
        if (isset($_POST['hdIdAR'])) {
            $lesson->change_status($_POST['hdIdAR'], $_POST['hdEval'], $_POST['obs']);
            if ($_POST['hdEval'] == '2') {
                $lessApr = true;
            } else {
                if ($_POST['hdEval'] == '3') {
                    $lessRej = true;
                }
            }
            $list_last_pend_lessons = $lesson->list_last_pend_lessons($user->id);
        }
    }
}
?>

<!DOCTYPE html>
Beispiel #10
0
<?php

// Includng configuration file
include 'config/config.php';
//Check user is already login or not
checkAuthentication();
$dashboard = new dashboard();
$customercount = $dashboard->getCustomersCount();
$unpaidinvoicescont = $dashboard->getUnpaidInvoices();
$paidinvoicescount = $dashboard->getPaidInvoices();
$purchasebillcount = $dashboard->getPurchaseBills();
$paidinv = $dashboard->getTopPaid();
$unpaidinv = $dashboard->getTopUnpaid();
$purchasebill = $dashboard->getTopPurchase();
$customer = $dashboard->getCustomers();
$paidtotal = $dashboard->getPaidInvTotal();
$purchtotal = $dashboard->getPaidPurchTotal();
$smarty->assign('customer', $customer);
$smarty->assign('paidtotal', $paidtotal);
$smarty->assign('purchtotal', $purchtotal);
$smarty->assign('unpaidinv', $unpaidinv);
$smarty->assign('purcasebills', $purchasebill);
$smarty->assign('custcount', $customercount);
$smarty->assign('unpaidinvcount', $unpaidinvoicescont);
$smarty->assign('paidinvcount', $paidinvoicescount);
$smarty->assign('purbillcount', $purchasebillcount);
$smarty->assign('action', 'dashboard');
$smarty->assign('toolbar', $smarty->fetch('toolbar.tpl'));
$smarty->assign('content', $smarty->fetch('dashboard.tpl'));
$smarty->display('two-column-left.html');
Beispiel #11
0
<?php

require_once "../config.php";
verify_access($list_modules);
$emailSent = false;
$dash = new dashboard();
$list_top_users = $dash->getTopUsersByCompany($company->id);
$list_bad_users = $dash->getBadUsersByCompany($company->id);
if ($_POST['action'] == 'Submit') {
    $dash->sendEmail($user->name, $user->email, $_POST['reseiver'], $_POST['subject'], $_POST['message']);
    $emailSent = true;
}
?>

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <link rel="shortcut icon" href="../img/icon.png">
        <title>Dashboard | FOLearn</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta name="description" content="" />
        <meta name="author" content="stilearning" />

        <!-- google font -->
        <link href="http://fonts.googleapis.com/css?family=Aclonica:regular" rel="stylesheet" type="text/css" />

        <!-- styles -->
        <link href="../css/bootstrap.css" rel="stylesheet" />
        <link href="../css/bootstrap-responsive.css" rel="stylesheet" />
        <link href="../css/stilearn.css" rel="stylesheet" />
Beispiel #12
0
 public function dashboard_interface()
 {
     parent::dashboard();
 }
Beispiel #13
0
 /**
  * Response when updating role succeed.
  *
  * @param  \Orchestra\Model\Role  $role
  *
  * @return mixed
  */
 public function destroySucceed(dashboard $dashboard)
 {
     $message = trans('orchestra/control::response.roles.delete', ['name' => $dashboard->getAttribute('name')]);
     return $this->redirectWithMessage(handles('orchestra::dashboard'), $message);
 }
Beispiel #14
0
<?php

require_once "controllers/controller.php";
$myDashboardModule = new dashboard();
if (!$myDashboardModule->verifyConnexion() && $_REQUEST["page"] != "executeLogin") {
    header("Location:" . LIVE_URL . "/modules/users/");
}
$myDashboardModule->index();