Moving to bootstrap, still work to do... main header and footer done and some pages...

This commit is contained in:
2017-05-11 20:57:56 +00:00
parent 5d6bfe76f7
commit ac531f3de1
127 changed files with 11230 additions and 11305 deletions

View File

@@ -10,11 +10,26 @@ require_once($yaptc_inc . "functions.inc.php");
$yaptc_pagename = lang('HOME');
$yaptc_pageicon = '<i class="fa fa-home"></i>';
require_once($yaptc_inc . "header.inc.php");
require_once($yaptc_inc . "menu.inc.php");
if (getSessionStatus() == false):
killSession();
else: ?>
<!-- ********** BEGIN CONTENT ********** -->
<!-- Begin page content -->
<div class="container">
<div class="page-header">
<h2><?php echo $yaptc_pageicon; echo $yaptc_pagename; ?></h2>
</div>
<p class="lead"><?php if (isset($_SESSION['user_id'])): echo lang('USER') . ": " . $session_user["0"]["firstname"] . ' ' . $session_user["0"]["lastname"]; else: echo lang('PLEASE_LOG_IN'); endif; ?></p>
<p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
</div>
<?php
// Get punch status for buttons and times
$session_punch = listPunches($yaptc_db, $session_user["0"]["userid"], 1);