-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
executable file
·100 lines (86 loc) · 3.81 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Anchor CMS">
<meta name="description" content="<?php echo site_description(); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta property="og:title" content="<?php echo site_name(); ?>">
<meta property="og:type" content="website">
<meta property="og:url" content="<?php echo e(current_url()); ?>">
<meta property="og:image" content="<?php echo theme_url('img/og_image.gif'); ?>">
<meta property="og:site_name" content="<?php echo site_name(); ?>">
<meta property="og:description" content="<?php echo site_description(); ?>">
<title><?php echo page_title('Page can’t be found'); ?> - <?php echo site_name(); ?></title>
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo rss_url(); ?>">
<link rel="shortcut icon" href="<?php echo theme_url('img/favicon.png'); ?>">
<link rel="stylesheet" href="<?php echo theme_url('/vendor/bootstrap/css/bootstrap.min.css'); ?>">
<link rel="stylesheet" href="<?php echo theme_url('/vendor/bootstrap/css/bootstrap-theme.min.css'); ?>">
<!--[if eq IE 10]>
<link rel="stylesheet" href="<?php echo theme_url('/css/ie10-fix.css'); ?>
<![endif]-->
<?php if (customised()) : ?>
<!-- Custom CSS -->
<style><?php echo article_css(); ?></style>
<?php endif; ?>
<!--[if eq IE 10]>
<script src="<?php echo theme_url('/js/ie10-fix.js'); ?>"></script>
<![endif]-->
<!--[if lt IE 9]>
<script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body class="<?php echo body_class(); ?>">
<a href="#content" class="sr-only">Skip to main content</a>
<div id="wrap">
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo base_url(); ?>"><?php echo site_name(); ?></a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<?php if (has_menu_items()) : ?>
<?php while (menu_items()) : ?>
<li <?php echo (menu_active() ? 'class="active"' : ''); ?>>
<a href="<?php echo menu_url(); ?>" title="<?php echo menu_title(); ?>">
<?php echo menu_name(); ?>
</a>
</li>
<?php endwhile; ?>
<?php endif; ?>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Categories <b class="caret"></b></a>
<ul class="dropdown-menu">
<?php while (categories()) : ?>
<li>
<a href="<?php echo category_url(); ?>" title="<?php echo category_description(); ?>">
<?php echo category_title(); ?> <span><?php echo category_count(); ?></span>
</a>
</li>
<?php endwhile; ?>
</ul>
</li>
</ul>
<div class="col-sm-3 col-md-3 pull-right">
<form class="navbar-form navbar-right" role="search" action="<?php echo search_url(); ?>" method="post">
<div class="input-group">
<input type="search" name="term" class="form-control" placeholder="Search..." value="<?php echo search_term(); ?>" />
<div class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
</div>
</div>
</form>
</div>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container" id="content">