$access->admin();
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <!-- Header -->
        <?php 
head();
?>
    </head>

    <body>

      <!-- Static navbar -->
      <?php 
static_navbar();
?>

        <!-- Admin Bar -->
        <?php 
adminnav();
?>

        <div class="container">



            <!-- Layout  -->
            <section>
              <div class="col-md-10 col-md-offset-1">
                <div id="overzicht" class="tab-pane fade in active">
Exemple #2
0
<?php

define('__ROOT__', dirname(dirname(__FILE__)));
require __ROOT__ . '/functions.php';
?>
<!DOCTYPE html>
<html lang="en">
    <head>
     <?php 
print head();
?>
    </head>
    <body>
        <?php 
print static_navbar();
?>
        <?php 
print adminnav();
?>

        <div class="container">

            <section>
                <?php 
login_check();
if ($_SESSION['login'] != TRUE) {
    login_form();
} elseif ($_SESSION['login'] == TRUE) {
    adminDashboard();
}
?>