1<?php
2/**
3 * DokuWiki Arcade Basic Template
4 * Based on the starter template and a wordpress theme of the same name
5 *
6 * @link     http://dokuwiki.org/template:arcadebasic
7 * @author   desbest <afaninthehouse@gmail.com>
8 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
9 */
10
11if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
12@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
13header('X-UA-Compatible: IE=edge,chrome=1');
14
15$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) );
16$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
17?><!DOCTYPE html>
18<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
19  lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
20<head>
21    <meta charset="UTF-8" />
22    <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
23    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
24    <?php tpl_metaheaders() ?>
25    <meta name="viewport" content="width=device-width,initial-scale=1" />
26    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
27    <?php tpl_includeFile('meta.html') ?>
28    <link rel="stylesheet" id="arcade-basic-fonts-css" href="//fonts.googleapis.com/css?family=Megrim|Raleway|Open+Sans:400,400italic,700,700italic" type="text/css" media="all">
29</head>
30
31<body id="dokuwiki__top" class="basic site <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
32    <?php /* with these Conditional Comments you can better address IE issues in CSS files,
33             precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?>
34    <!--[if lte IE 8 ]><div id="IE8"><![endif]-->
35
36    <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?>
37    <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least
38             should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
39
40             <div id="page">
41
42            <?php tpl_includeFile('header.html') ?>
43             <header id="header">
44            <!-- <nav id="site-navigation" class="navbar navbar-inverse navbar-fixed-top" role="navigation">
45                <h3 class="sr-only">Main menu</h3>
46                <a class="sr-only" href="#primary" title="Skip to content">Skip to content</a>
47
48                <div class="navbar-header">
49                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
50                        <span class="icon-bar"></span>
51                        <span class="icon-bar"></span>
52                        <span class="icon-bar"></span>
53                    </button>
54                </div>
55
56                <div class="collapse navbar-collapse">
57                    <ul class="nav navbar-nav"> <li class="cat-item cat-item-1"><a href="http://localhost/wordpress/category/uncategorized/">Uncategorized</a>
58</li>
59</ul>               </div>
60            </nav> --><!-- #site-navigation -->
61
62             <div class="title-card-wrapper">
63                <div class="title-card" style="height: 412px;">
64                    <div id="site-meta">
65                         <?php /* how to insert logo instead (if no CSS image replacement technique is used):
66                        upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly:
67                        tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>
68                        <h1 id="site-title"><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h1>
69
70                        <i class="fa fa-heart"></i>
71
72                        <div id="site-description"><?php if ($conf['tagline']): ?>
73                            <p class="claim"><?php echo $conf['tagline'] ?></p>
74                        <?php endif ?></div>
75                        <a href="#" id="more-site" class="btn btn-default btn-lg" data-scroll-to="412">See More</a>
76                    </div>
77
78                    <img class="header-img" src="<?php echo tpl_basedir();?>/images/header01.jpg" alt="" style="position: absolute; inset: -222px auto auto 0px; height: auto; width: 100%;">
79                </div>
80            </div>
81
82        </header>
83
84         <ul class="a11y skip">
85            <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li>
86        </ul>
87
88        <main>
89            <div class="container">
90            <div class="row">
91            <div id="primary" class="col-md-8 hfeed">
92            <?php
93            //get_template_part( 'template-parts/content', get_post_format() );
94            //the_posts_navigation();
95            ?>
96                <article class="clearfix">
97                <?php
98
99                //get_template_part( 'template-parts/content', 'header' ); ?>
100
101                <div class="entry-content description clearfix">
102                    <!-- page content appears here -->
103                    <!-- ********** CONTENT ********** -->
104                    <?php tpl_flush() /* flush the output buffer */ ?>
105                    <?php tpl_includeFile('pageheader.html') ?>
106
107                    <?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
108
109                    <!-- BREADCRUMBS -->
110                    <?php if($conf['breadcrumbs']){ ?>
111                        <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
112                    <?php } ?>
113                    <?php if($conf['youarehere']){ ?>
114                        <div class="breadcrumbs"><?php tpl_youarehere() ?></div>
115                    <?php } ?>
116
117                    <div class="page" id="dokuwiki__content">
118                    <!-- wikipage start -->
119                    <?php tpl_content() /* the main content */ ?>
120                    <!-- wikipage stop -->
121                    <div class="clearer"></div>
122                    </div>
123
124                    <?php tpl_flush() ?>
125                    <?php tpl_includeFile('pagefooter.html') ?>
126                </div><!-- .entry-content -->
127                <?php //get_template_part( 'template-parts/content', 'footer' ); ?>
128                </article>
129            </div>
130            <!-- sidebar is here -->
131                <div id="secondary" class="col-md-4" role="complementary">
132                <!-- <aside id="meta" class="widget">
133                <h3 class="widget-title">Default Widget</h3>
134                <p>This is just a default widget. It'll disappear as soon as you add your own widgets on the widgets admin page.</p> -->
135
136                <div class="searchhere"><?php tpl_searchform() ?></div>
137
138
139                <!-- ********** ASIDE ********** -->
140                <?php if ($showSidebar): ?>
141                    <aside id="writtensidebar" class="widget">
142                        <?php tpl_includeFile('sidebarheader.html') ?>
143                        <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
144                        <?php tpl_includeFile('sidebarfooter.html') ?>
145                        <div class="clearer"></div>
146                    </aside><!-- /aside -->
147                <?php endif; ?>
148
149                <?php if ($showTools): ?>
150                <aside class="widget">
151                <h3 class="widget-title">Page Tools</h3><ul>
152                    <!-- PAGE ACTIONS -->
153                    <h3 class="a11y"><?php echo $lang['page_tools'] ?></h3>
154                    <?php tpl_toolsevent('pagetools', array(
155                    'edit'      => tpl_action('edit', 1, 'li', 1),
156                    'discussion'=> _tpl_action('discussion', 1, 'li', 1),
157                    'revisions' => tpl_action('revisions', 1, 'li', 1),
158                    'backlink'  => tpl_action('backlink', 1, 'li', 1),
159                    'subscribe' => tpl_action('subscribe', 1, 'li', 1),
160                    'revert'    => tpl_action('revert', 1, 'li', 1),
161                    //'top'       => tpl_action('top', 1, 'li', 1),
162                    )); ?>
163                </ul>
164                </aside>
165                <?php endif; ?>
166
167
168                <?php if ($conf['useacl'] && $showTools): ?>
169                <aside class="widget">
170                <h3 class="widget-title">User Tools</h3><ul>
171                    <!-- USER TOOLS -->
172                    <h3 class="a11y"><?php echo $lang['user_tools'] ?></h3>
173                    <?php
174                        if (!empty($_SERVER['REMOTE_USER'])) {
175                            echo '<li class="user">';
176                            tpl_userinfo(); /* 'Logged in as ...' */
177                            echo '</li>';
178                        }
179                    ?>
180                    <?php /* the optional second parameter of tpl_action() switches between a link and a button,
181                             e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */
182                    ?>
183                    <?php tpl_toolsevent('usertools', array(
184                    'admin'     => tpl_action('admin', 1, 'li', 1),
185                    'userpage'  => _tpl_action('userpage', 1, 'li', 1),
186                    'profile'   => tpl_action('profile', 1, 'li', 1),
187                    'register'  => tpl_action('register', 1, 'li', 1),
188                    'login'     => tpl_action('login', 1, 'li', 1),
189                    )); ?>
190                </ul>
191                </aside>
192                <?php endif ?>
193
194                <aside class="widget">
195                <h3 class="widget-title">Site Tools</h3><ul>
196                <!-- SITE TOOLS -->
197                <h3 class="a11y"><?php echo $lang['site_tools'] ?></h3>
198                    <?php tpl_toolsevent('sitetools', array(
199                        'recent'    => tpl_action('recent', 1, 'li', 1),
200                        'media'     => tpl_action('media', 1, 'li', 1),
201                        'index'     => tpl_action('index', 1, 'li', 1),
202                    )); ?>
203                </ul>
204                </aside>
205            </div><!-- #secondary.widget-area -->
206            <!-- sidebar ends -->
207            </div>
208    </div>
209        </main>
210
211        <?php tpl_includeFile('footer.html') ?>
212        <footer id="footer" role="contentinfo">
213        <div id="footer-content" class="container">
214            <div class="row">
215                <div class="copyright col-lg-12">
216                    <span class="pull-left">
217                        Copyright &copy; <?php echo date("Y"); ?> <a href=""><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></a>. All rights reserved.
218                        <div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div>
219                        <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
220                    </span>
221
222                    <span class="credit-link pull-right"><i class="fa fa-leaf"></i>
223                        The Arcade Basic Theme by <a href="http://dokuwiki.org/theme:arcadebasic">bavotasan.com and desbest</a>
224                    </span>
225                </div><!-- .col-lg-12 -->
226            </div><!-- .row -->
227        </div><!-- #footer-content.container -->
228        <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?> <!-- this adds extra space on the page --></div>
229        </footer><!-- #footer -->
230
231
232
233        </div><!-- #page -->
234
235
236</body>
237</html>
238