コード例 #1
0
        <!-- 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">
                <?php 
if ($_SESSION['verwijder'] == TRUE) {
    print "<div class=\"alert alert-success\" id=\"success-alert\">\n                                <button type=\"button\" class=\"close\" data-dismiss=\"alert\">x</button>\n                                <strong>Gelukt!</strong> Reservering verwijderd.\n                                </div>";
    unset($_SESSION['verwijder']);
}
コード例 #2
0
ファイル: index.php プロジェクト: Vinjo/Lasergamebox
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();
}
?>
            </section>