-
Notifications
You must be signed in to change notification settings - Fork 15
/
header.php
125 lines (101 loc) · 6.3 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?php
function myErrorHandler($errno, $errstr, $errfile, $errline) {
if ( E_RECOVERABLE_ERROR===$errno ) {
return true;
}
return false;
}
set_error_handler('myErrorHandler');
header("X-Clacks-Overhead: GNU Terry Pratchett");
?><!DOCTYPE html>
<html lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php if ( $page != "Home" ) { echo $page." » 57North Hacklab"; } else { echo "57North Hacklab » Aberdeen's First Hackerspace"; } ?></title>
<!-- Full calendar -->
<link rel='stylesheet' type='text/css' href='/fullcalendar/fullcalendar.css' />
<script type='text/javascript' src='/fullcalendar/fullcalendar.js'></script>
<!-- CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/font-awesome.min.css" rel="stylesheet" media="screen">
<?php if ( $page == "Home") { ?>
<meta name="google-site-verification" content="Y8NYR3j9Cg2FgDUBHtzcw8LPoVMpgUJn47yLQAhufDc" />
<link href="css/animate.min.css" rel="stylesheet" media="screen">
<meta property="og:title" content="57North Hacklab">
<meta property="og:type" content="non_profit">
<meta property="og:url" content="http://57north.org.uk/">
<meta property="og:image" content="http://57north.org.uk/img/facebook.png">
<meta property="og:description" content="57North is a hacker collective with a shared space located in Aberdeen, Scotland. We meet regularly to share knowledge, hack on projects together, and build community.">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:site" content="@57NorthHacklab">
<meta property="twitter:title" content="57North Hacklab">
<meta property="twitter:description" content="57North is a hacker collective with a shared space located in Aberdeen, Scotland. We meet regularly to share knowledge, hack on projects together, and build community.">
<meta property="twitter:image:src" content="http://57north.org.uk/img/facebook.png">
<meta property="twitter:domain" content="57north.org.uk">
<meta property="twitter:creator" content="@57NorthHacklab">
<meta name="keywords" content="57North, Hacklab, 57North Hacklab, Hackerspace, Hackspace, Aberdeen, Computing, Hacking, Electronics, Workshop">
<?php } ?>
<meta name="description" content="<?php echo($description); ?>">
<link href="css/lightbox.css" rel="stylesheet" media="screen">
<link href="css/syntax/shCore.css" rel="stylesheet" media="screen">
<link href="css/syntax/shThemeDefault.css" rel="stylesheet" media="screen">
<link href="css/color-default.css" rel="stylesheet" media="screen" title="default">
<?php if(rand(1, 100) > 90) { ?>
<link href="css/style.hp.css" rel="stylesheet" media="screen" title="default">
<?php } else { ?>
<link href="css/style.css" rel="stylesheet" media="screen" title="default">
<?php } ?>
<link href="css/width-full.css" rel="stylesheet" media="screen" title="default">
<link href="https://plus.google.com/+HackerdeenOrg" rel="publisher">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<script src="js/jquery-1.10.2.min.js"></script>
</head>
<body>
<div class="boxed animated fadeIn animation-delay-5">
<header id="header" class="hidden-xs">
<div class="container">
<div style="text-align: right; padding-top: 30px; position:absolute; z-index:2; right: 10px;" class="animated fadeInDown hidden-xs">
<a href="https://twitter.com/57NorthHacklab" class="social-icon soc-twitter" target="_blank" title="57North Hacklab on Twitter"><i class="fa fa-twitter"></i></a>
<a href="https://facebook.com/57NorthHacklab" class="social-icon soc-facebook" target="_blank" title="57North Hacklab on Facebook"><i class="fa fa-facebook"></i></a>
</div>
<div id="header-title" style="width: 100%;">
<h1 class="animated fadeInDown"><a href="/"><img src="img/logo.png" alt="57North Hacklab" style="width: 289px; height: 100px;"></a></h1>
</div>
</div> <!-- container -->
</header> <!-- header -->
<nav class="navbar navbar-static-top navbar-mind" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<a class="navbar-brand visible-xs" href="/">57North <span>Hacklab</span></a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-mind-collapse">
<span class="sr-only">Toggle navigation</span>
<i class="fa fa-bars fa-inverse"></i>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-mind-collapse">
<ul class="nav navbar-nav">
<li><a href=".">Home</a></li>
<li><a href="about">About</a></li>
<!-- <li><a href="calendar">Events</a></li> -->
<li><a href="our-space">Our Space</a></li>
<li><a href="open-evenings">Open Evenings</a></li>
<li><a href="membership">Membership</a></li>
<li><a href="resources">Resources</a></li>
<li><a href="contact">Contact</a></li>
</ul> <!-- nav nabvar-nav -->
<ul class="nav navbar-nav navbar-right">
<li><a href="https://hub.57north.org.uk/hub/">Member Login</a></li>
<li class="dropdown"><a href="https://wiki.57north.org.uk/">Wiki</a></li>
</ul> <!-- nav nabvar-nav -->
</div><!-- navbar-collapse -->
</div> <!-- container -->
</nav> <!-- navbar navbar-default -->