diff options
| author | moehm | 2014-11-03 15:21:16 +0100 |
|---|---|---|
| committer | moehm | 2014-11-03 15:21:16 +0100 |
| commit | 4a21347d01c6837159bc489a859fa494a6a8d339 (patch) | |
| tree | 9a09b8f1b41c244b6232e9f2c5f4979d5cc43cef /index.php | |
| parent | 5ee0ffcdce5a931eda3c8a21336b0b396aac1624 (diff) | |
| download | jungegemeinde-4a21347d01c6837159bc489a859fa494a6a8d339.tar.gz | |
Added preloader javascript.preloader
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -39,13 +39,23 @@ $user = new jg($u); if( ! isset($_GET["page"]) || $_GET["page"] == "" ) $_GET["page"] = "index"; +if( ! isset($_SESSION['inline']) ) + $_SESSION['inline'] = true; + ?> <!doctype html> <html> <head> <meta charset="utf-8"> +<?php + if ( $_SESSION['inline'] ){ + echo "<style>".file_get_contents("static/bootstrap/css/bootstrap.min.css") . file_get_contents("static/fontawesome/css/font-awesome.min.css")."</style>"; + } else { +?> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> +<? + } <link rel='dns-prefetch' href="//secure.iamfabulous.de/"> <?php echo "<style>" . file_get_contents('static/style.min.css'); |
