-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·67 lines (58 loc) · 1.95 KB
/
header.php
File metadata and controls
executable file
·67 lines (58 loc) · 1.95 KB
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?="\n".header_()."\n"?>
<?php if(GA_ACCOUNT or CB_UID):?>
<script type="text/javascript">
var _sf_startpt = (new Date()).getTime();
<?php if(GA_ACCOUNT):?>
var GA_ACCOUNT = '<?=GA_ACCOUNT?>';
var _gaq = _gaq || [];
_gaq.push(['_setAccount', GA_ACCOUNT]);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
<?php endif;?>
<?php if(CB_UID):?>
var CB_UID = '<?=CB_UID?>';
var CB_DOMAIN = '<?=CB_DOMAIN?>';
<?php endif?>
</script>
<?php endif;?>
<? $post_type = get_post_type($post->ID);
if(($stylesheet_id = get_post_meta($post->ID, $post_type.'_stylesheet', True)) !== False
&& ($stylesheet_url = wp_get_attachment_url($stylesheet_id)) !== False) { ?>
<link rel='stylesheet' href="<?=$stylesheet_url?>" type='text/css' media='all' />
<? } ?>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
var PROVOST_STATIC_URL = '<?php echo THEME_STATIC_URL; ?>';
</script>
</head>
<!--[if IE 7 ]> <body class="ie ie7"> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8"> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <body> <!--<![endif]-->
<div class="container" id="header">
<section>
<div class="row">
<h1 class="span12"><a href="<?=bloginfo('url')?>"><?=bloginfo('name')?></a></h1>
</div>
<div class="row">
<div class="span12">
<?=wp_nav_menu(array(
'theme_location' => 'header-menu',
'container' => 'false',
'menu_class' => 'menu',
'menu_id' => 'header-menu',
'walker' => new Bootstrap_Walker_Nav_Menu()
));
?>
</div>
</div>
</section>
</div>
<div class="container">