-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.php
More file actions
88 lines (83 loc) · 3.88 KB
/
default.php
File metadata and controls
88 lines (83 loc) · 3.88 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-Frame-Options" content="allow">
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Puzzled Pint" />
<meta name="keywords" content="puzzled pint bars puzzles games" />
<link href='http://fonts.googleapis.com/css?family=Nothing+You+Could+Do&v2' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="<?=$this->getThemePath()?>/stylesheets/all.css" />
<link rel="Shortcut Icon" href="/favicon.ico">
<script type="text/javascript" src="<?=$this->getThemePath()?>/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<?php Loader::element('header_required'); ?>
<!--
<title>Puzzled Pint {% if page.title %} :: {{page.title}}{% endif %}</title>
-->
</head>
<body {% if page.section %} id="{{page.section}}_section" {% endif %}>
<div id="wrapper">
<div id="header">
<div id="logo">
<h1><a href="/"><span>Puzzled Pint</span></a></h1>
</div>
<div id="navigation">
<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->displayPages = 'top';
$bt->controller->orderBy = 'display_asc';
$bt->render('templates/header_menu');
?>
</div>
<div style="clear:both;"></div>
</div>
<div id="content">
<?php $a = new Area('Main'); $a->display($c); ?>
</div>
<div id="footer">
<div id="license_info">
Unless otherwise noted, content on this site is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.
</div>
</div>
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<div id="concrete5_footer">
<span class="powered-by">powered by: <a href="http://www.concrete5.org" title="<?php echo t('concrete5 - open source content management system for PHP and MySQL')?>"><?php echo t('concrete5 - open source CMS')?></a></span>
<?php
$u = new User();
if ($u->isRegistered()) { ?>
<?php
if (Config::get("ENABLE_USER_PROFILES")) {
$userName = '<a href="' . $this->url('/profile') . '">' . $u->getUserName() . '</a>';
} else {
$userName = $u->getUserName();
}
?>
<span class="sign-in"><?php echo t('Currently logged in as <b>%s</b>.', $userName)?> <a href="<?php echo $this->url('/login', 'logout')?>"><?php echo t('Sign Out')?></a></span>
<?php } else { ?>
<span class="sign-in"><a href="<?php echo $this->url('/login')?>"><?php echo t('Sign In to Edit this Site')?></a></span>
<?php } ?>
</div>
<?php Loader::element('footer_required'); ?>
</div>
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.puzzledpint.com"]);
_paq.push(["setDomains", ["*.puzzledpint.com","*.beta.puzzledpint.com","*.puzzlepint.com","*.www.puzzledpint.com","*.www.puzzlepint.com"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.victorasteinza.com/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '3']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//piwik.victorasteinza.com/matomo.php?idsite=3&rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
</body>
</html>