Exemple #1
0
echo admin_panel("Category1", "primary", "adn", "Category 1", "Total Category 1");
?>
    <?php 
echo admin_panel("Category2", "blue", "adn", "Category 2", "Total Category 2");
?>
    <?php 
echo admin_panel("MyExpensePerson", "darkgrey", "sort-amount-desc", "Expense Person", "Total Expense Person");
?>
    <?php 
echo admin_panel("MyExpenseType", "red", "adn", "My Expense Type", "Total My Expense Type");
?>
    <?php 
echo admin_panel("LinksCategory", "purple", "adn", "Links Category", "Total Links Category");
?>
    <?php 
echo admin_panel("InvoiceSend", "darkgray", "adn", "Invoice Send", "Total Invoice Send");
?>

    </div>










</div> <!--First Row-->
Exemple #2
0
    </div>
    <div class="row">
    <?php 
echo admin_panel("TransportChauffeur", "primary", "adn", "Chauffeurs", "Total Chauffeurs");
?>
    <?php 
echo admin_panel("TransportClient", "darkgray", "adn", "Transport Clients", "Total Transport Clients");
?>
    <?php 
echo admin_panel("TransportProgramming", "blue", "adn", "Transport Programming", "Total Transport Programming");
?>
    <?php 
echo admin_panel("TransportProgrammingModel", "darkblue", "adn", "Transport Programming Model", "Total Transport Programming Model");
?>
    <?php 
echo admin_panel("TransportType", "palevioletred", "adn", "Transport Type", "Total Transport Type");
?>









</div> <!--First Row-->

<div class="row">

    <div id="piechart" style="width: 900px; height: 500px;"></div>
<!--coding club-->
<?php 
#Database Connection:
include "connection.php";
#Constants
DEFINE('D_TEMPLATE', 'templates');
#Functions:
include 'functions/data.php';
include 'template/template.php';
include 'functions/functions.php';
$site_title = 'NITS Coding Club';
if (isset($_GET['page'])) {
    $pageid = $_GET['page'];
} else {
    $pageid = 1;
}
#Page Setup:
$page = admin_panel($dbc, $pageid);