Skip to content
Snippets Groups Projects
Commit 837ad6c8 authored by Matthieu Guffroy's avatar Matthieu Guffroy
Browse files

cosmetic change + autoloader

parent bcbf2eea
No related branches found
No related tags found
No related merge requests found
<?php <?php
function __autoload($class_name) {
include strtolower($class_name) . '.php';
}
// This file is the main controller // This file is the main controller
include 'template/header.php'; include 'template/header.php';
......
<!-- Begin page content --> <!-- Begin page content -->
<div class="container"> <div class="container">
<div class="page-header"> <div class="page-header">
<h1>Sticky footer with fixed navbar</h1> <h1>Clinique Vétérinaire</h1>
</div> </div>
<pre> <p class="lead">Bienvenue sur l'outil de gestion de la clinique.</p>
<?php print_r($url); ?>
<pre>
<?php print_r($_SERVER); ?>
</pre>
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p>
<p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
</div> </div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment