1<?php
2/**
3 * DokuWiki Starter Template
4 *
5 * @link     http://dokuwiki.org/template:starter
6 * @author   Anika Henke <anika@selfthinker.org>
7 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
8 */
9
10if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
11@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
12header('X-UA-Compatible: IE=edge,chrome=1');
13
14$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) );
15$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
16?><!DOCTYPE html>
17<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
18  lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
19<head>
20    <meta charset="UTF-8" />
21    <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
22    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
23    <?php tpl_metaheaders() ?>
24    <meta name="viewport" content="width=device-width,initial-scale=1" />
25    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
26    <?php tpl_includeFile('meta.html') ?>
27    <!-- ********** GOOGLE ANALYTICS ********** -->
28	<script type="text/javascript">
29  	var _gaq = _gaq || [];
30  	_gaq.push(['_setAccount', 'UA-16741284-1']);
31  	_gaq.push(['_setDomainName', 'paddlingabc.com']);
32  	_gaq.push(['_trackPageview']);
33  	(function() {
34    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
35    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
36    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
37  	})();
38	</script>
39	<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
40</head>
41<body>
42
43    <div id="dokuwiki__site">
44    <div id="dokuwiki__top" class="site <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
45    <?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
46
47    <!-- ********** HEADER AND FULL MENU ********** -->
48    <?php include('m1-header.php') ?>
49
50	<!-- ********** MOBILE MENUS ********** -->
51	<?php include('m1-mobilemenu.php') ?>
52
53
54    <!-- ********** CONTENT ********** -->
55    <div id="m1-pagewrapper"> <!-- Used to control site width on desktop browsers -->
56         <div id="dokuwiki__content">
57            <?php tpl_flush() /* flush the output buffer */ ?>
58            <?php tpl_includeFile('pageheader.html') ?>
59                <div class="page">
60                    <!-- wikipage start -->
61                    <?php tpl_content() /* the main content */ ?>
62                    <!-- wikipage stop -->
63                    <div class="clearer"></div>
64                </div>
65            <?php tpl_flush() ?>
66            <?php tpl_includeFile('pagefooter.html') ?>
67    </div><!-- /content -->
68
69
70    <!-- ********** SIDEBAR ********** -->
71    <div id="dokuwiki__aside">
72        <?php tpl_includeFile('sidebarheader.html') ?>
73        <?php tpl_include_page(tpl_getConf('sidebar1'), 1, 1) /* includes the nearest sidebar page */ ?>
74        <?php tpl_includeFile('m1-sidebar-one.php') ?>
75        <?php tpl_includeFile('sidebarfooter.html') ?>
76        <div class="clearer"></div>
77    </div><!-- /aside -->
78
79    </div> <!-- /m1-pagewrapper -->
80
81    <!-- ********** FOOTER ********** -->
82        <?php include('m1-footer.php') ?>
83
84    </div><!-- /dokuwiki__top -->
85    </div><!-- /dokuwiki__site -->
86
87    <div class="no"><?php tpl_indexerWebBug()?></div>
88</body>
89</html>
90