-
Notifications
You must be signed in to change notification settings - Fork 204
/
header.php
58 lines (50 loc) · 2.83 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php if (!defined('FLUX_ROOT')) exit; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<?php if (isset($metaRefresh)): ?>
<meta http-equiv="refresh" content="<?php echo $metaRefresh['seconds'] ?>; URL=<?php echo $metaRefresh['location'] ?>" />
<?php endif ?>
<title><?php echo Flux::config('SiteTitle'); if (isset($title)) echo ": $title" ?></title>
<link rel="icon" type="image/x-icon" href="./favicon.ico" />
<link rel="stylesheet" href="<?php echo $this->themePath('css/flux.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
<link href="<?php echo $this->themePath('css/flux/unitip.css') ?>" rel="stylesheet" type="text/css" media="screen" title="" charset="utf-8" />
<?php if (Flux::config('EnableReCaptcha')): ?>
<script src='https://www.google.com/recaptcha/api.js'></script>
<?php endif ?>
<!--[if IE]>
<link rel="stylesheet" href="<?php echo $this->themePath('css/flux/ie.css') ?>" type="text/css" media="screen" title="" charset="utf-8" />
<![endif]-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="<?php echo $this->themePath('css/sticky-footer-navbar.css') ?>" rel="stylesheet">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<?php include $this->themePath('main/navbar.php', true) ?>
<div class="container">
<?php //include 'main/sidebar.php' ?>
<?php //include 'main/loginbox.php' ?>
<?php if (Flux::config('DebugMode') && @gethostbyname(Flux::config('ServerAddress')) == '127.0.0.1'): ?>
<p class="notice">Please change your <strong>ServerAddress</strong> directive in your application config to your server's real address (e.g., myserver.com).</p>
<?php endif ?>
<!-- Messages -->
<?php if ($message=$session->getMessage()): ?>
<p class="message"><?php echo htmlspecialchars($message) ?></p>
<?php endif ?>
<!-- Sub menu -->
<?php include $this->themePath('main/submenu.php', true) ?>
<!-- Page menu -->
<?php include $this->themePath('main/pagemenu.php', true) ?>
<!-- Credit balance -->
<?php //if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?>