-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
30 lines (22 loc) · 750 Bytes
/
header.php
File metadata and controls
30 lines (22 loc) · 750 Bytes
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
<?php
include 'settings/config.php';
include 'includes/database.php';
include 'includes/functions.php';
include 'includes/models/models.php';
//display menu
$pages = get_pages();
//Get Settings - sitename, tagline become keys in the settings associative array
$settings = get_settings();
$theme = get_theme();
?>
<html>
<head>
<title><?php echo $settings['sitename']; ?></title>
<link rel="stylesheet" href="<?php echo "themes/$theme/" ?>style.css" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<div id="wrapper">
<div id="sitename"><?php echo $settings['sitename']; ?></div>
<div id="tagline"><?php echo $settings['tagline']; ?></div>
<div class="clear"></div>
<?php include 'views/menu.php'; ?>