1<?php
2/**
3 * DokuWiki Boozurk Template
4 * Based on the starter template and a wordpress theme of the same name
5 *
6 * @link     http://dokuwiki.org/template:boozurk
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    <!-- <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.4.1.min.js"></script> -->
28
29    <?php tpl_includeFile('meta.html') ?>
30</head>
31
32<body id="dokuwiki__top" class="site <?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
33
34    <?php //boozurk_hook_body_top(); ?>
35    <div id="secondary1_wrap" class="menu-social-media-links-container">
36        <ul id="secondary1" class="nav-menu l_tinynav1">
37            <li class="menu-item"><a href="#">Menu option 1</a></li>
38            <li class="menu-item"><a href="#">Menu option 2</a></li>
39            <li class="menu-item"><a href="#">Menu option 3</a></li>
40            <li class="menu-item"><a href="#">Menu option 4</a></li>
41        </ul>
42    </div>
43
44        <div id="main">
45
46            <div id="fixed-bg"></div>
47
48            <div id="content">
49
50                <?php //boozurk_hook_header_before(); ?>
51                <div id="head_wrap"></div>
52
53                <?php tpl_includeFile('header.html') ?>
54                <div id="head">
55
56                    <?php //boozurk_hook_header_top(); ?>
57
58                    <?php //echo boozurk_get_header(); ?>
59                    <h1><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h1>
60                    <!-- <h1 class="hide_if_no_print"><a href="">site name here</a></h1> -->
61
62                    <?php if ($conf['tagline']): ?>
63                        <p class="claim"><?php echo $conf['tagline'] ?></p>
64                    <?php endif ?>
65
66                    <ul class="a11y skip">
67                    <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li>
68                    </ul>
69                      <?php /* how to insert logo instead (if no CSS image replacement technique is used):
70                        upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly:
71                        tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>
72                    <!-- return apply_filters( 'boozurk_filter_header', $header ); -->
73
74                    <?php //boozurk_hook_header_bottom(); ?>
75
76                </div>
77
78                <?php //boozurk_hook_header_after(); ?>
79                <ul id="mainmenu" class="nav-menu l_tinynav2">
80                  <!-- SITE TOOLS -->
81                    <h3 class="a11y"><?php echo $lang['site_tools'] ?></h3>
82                        <?php tpl_toolsevent('sitetools', array(
83                            'recent'    => tpl_action('recent', 1, 'li', 1),
84                            'media'     => tpl_action('media', 1, 'li', 1),
85                            'index'     => tpl_action('index', 1, 'li', 1),
86                        )); ?>
87                </ul>
88
89                <div id="breadcrumb-wrap">
90                    <a class="item-home" rel="nofollow" href="<?php echo DOKU_BASE; ?>"><i class="icon-home"></i></a>
91                    <!-- BREADCRUMBS -->
92                    <div id="bz-breadcrumb">
93                    <?php if($conf['breadcrumbs']){ ?>
94                        <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
95                    <?php } ?>
96                    <?php if($conf['youarehere']){ ?>
97                        <div class="breadcrumbs"><?php tpl_youarehere() ?></div>
98                    <?php } ?>
99                    <br class="fixfloat">
100                    </div>
101                </div>
102
103                <div id="posts_content">
104
105                    <!-- <div class="nav-single fixfloat">
106                    <span class="nav-previous ">
107                    <i class="icon-angle-left"></i>
108                    <a rel="prev" href="http://localhost/wordpress/hello-world/" title="Previous Post: Hello world!">
109                    <i class="tb-thumb-format icon-32 standard"></i> <span>Hello world!</span>
110                    </a>
111                    </span>
112                    </div> -->
113                    <!-- #nav-single -->
114
115                    <div class="post-9 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized post-element" id="post-9">
116
117                        <div class="post_meta_container">
118                            <a class="pmb_format" href="http://localhost/wordpress/test-post/" rel="bookmark"><i class="icon-placeholder"></i></a>
119                            <!-- <a href="http://localhost/wordpress/test-post/#comments" class="pmb_comm" title="Comments on Test post">2</a> -->
120                            <!-- <a class="post-edit-link" href="http://localhost/wordpress/wp-admin/post.php?post=9&amp;action=edit"><i class="icon icon-pencil"></i></a> -->
121                        </div>
122
123                        <!-- <h2 class="storytitle">Test post</h2> -->
124
125                        <div class="storycontent">
126                            <!-- ********** CONTENT ********** -->
127                                <?php tpl_flush() /* flush the output buffer */ ?>
128                                <?php tpl_includeFile('pageheader.html') ?>
129
130                                <?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
131
132                                <div class="page">
133                                    <!-- wikipage start -->
134                                    <?php tpl_content() /* the main content */ ?>
135                                    <!-- wikipage stop -->
136                                    <div class="clearer"></div>
137                                </div>
138
139                                <?php tpl_flush() ?>
140                                <?php tpl_includeFile('pagefooter.html') ?>
141                            <!-- /content -->
142                        <!-- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur pellentesque, eros a gravida dignissim, metus mauris commodo velit, sed consectetur odio sapien sed tortor. Sed fringilla ullamcorper felis, quis suscipit eros semper sit amet. Donec rhoncus ipsum quis nulla aliquam vehicula. Donec sed aliquam ligula. Nulla laoreet quam tellus, quis tincidunt enim lobortis sed. Aenean vel venenatis tortor. Vestibulum mollis placerat elit egestas luctus. Vestibulum mattis non lorem consequat venenatis. Vestibulum suscipit lacinia ante ut efficitur. Fusce ut mattis lorem. Morbi condimentum, risus vitae accumsan iaculis, enim nunc luctus lacus, consectetur sollicitudin dui metus vitae augue.</p> -->
143                        </div>
144
145                        <div class="fixfloat"></div>
146
147                    </div>
148
149                    <!-- begin comments -->
150                    <!-- <div id="comments">
151                    2 Comments<span class="hide_if_print"> - <a href="#respond" title="Leave a comment">Leave a comment</a></span>
152                    </div>
153
154
155
156
157                    <ol id="commentlist">
158                    <li class="comment byuser comment-author-desbest bypostauthor even thread-even depth-1 parent" id="comment-2">
159                    <div id="div-comment-2" class="comment-body">
160                    <div class="comment-author vcard">
161                    <img alt="" src="http://2.gravatar.com/avatar/bcdd9f5447f1a3f18cefdb8c3f6b4dab?s=32&amp;d=mm&amp;r=g" srcset="http://2.gravatar.com/avatar/bcdd9f5447f1a3f18cefdb8c3f6b4dab?s=64&amp;d=mm&amp;r=g 2x" class="avatar avatar-32 photo" width="32" height="32">            <cite class="fn">desbest</cite> <span class="says">says:</span>     </div>
162
163                    <div class="comment-meta commentmetadata"><a href="http://localhost/wordpress/test-post/#comment-2">
164                    May 31, 2020 at 8:02 pm             </a>
165                    &nbsp;&nbsp;<a class="comment-edit-link" href="http://localhost/wordpress/wp-admin/comment.php?action=editcomment&amp;c=2"><i class="icon icon-pencil"></i></a>     </div>
166
167                    <p>parent comment</p>
168
169                    <div class="reply"><a rel="nofollow" class="comment-reply-link" href="http://localhost/wordpress/test-post/?replytocom=2#respond" data-commentid="2" data-postid="9" data-belowelement="div-comment-2" data-respondelement="respond" aria-label="Reply to desbest" title="Reply to comment"><i class="icon icon-share-alt"></i></a></div>
170                    </div>
171                    <ul class="children">
172                    <li class="comment byuser comment-author-desbest bypostauthor odd alt depth-2" id="comment-3">
173                    <div id="div-comment-3" class="comment-body">
174                    <div class="comment-author vcard">
175                    <img alt="" src="http://2.gravatar.com/avatar/bcdd9f5447f1a3f18cefdb8c3f6b4dab?s=32&amp;d=mm&amp;r=g" srcset="http://2.gravatar.com/avatar/bcdd9f5447f1a3f18cefdb8c3f6b4dab?s=64&amp;d=mm&amp;r=g 2x" class="avatar avatar-32 photo" width="32" height="32">            <cite class="fn">desbest</cite> <span class="says">says:</span>     </div>
176
177                    <div class="comment-meta commentmetadata"><a href="http://localhost/wordpress/test-post/#comment-3">
178                    May 31, 2020 at 8:03 pm             </a>
179                    &nbsp;&nbsp;<a class="comment-edit-link" href="http://localhost/wordpress/wp-admin/comment.php?action=editcomment&amp;c=3"><i class="icon icon-pencil"></i></a>     </div>
180
181                    <p>child comment</p>
182
183                    <div class="reply"><a rel="nofollow" class="comment-reply-link" href="http://localhost/wordpress/test-post/?replytocom=3#respond" data-commentid="3" data-postid="9" data-belowelement="div-comment-3" data-respondelement="respond" aria-label="Reply to desbest" title="Reply to comment"><i class="icon icon-share-alt"></i></a></div>
184                    </div> -->
185                    <!-- </li> --><!-- #comment-## -->
186                    <!-- </ul> --><!-- .children -->
187                    <!-- </li> --><!-- #comment-## -->
188                    <!-- </ol> -->
189
190
191
192                   <!--  <div id="respond" class="comment-respond">
193                    <h3 id="reply-title" class="comment-reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" title="Cancel reply" href="/wordpress/test-post/#respond" style="display:none;"><i class="icon-remove-circle"></i></a></small><small> - <a id="bz-quotethis" href="#" onclick="boozurkScripts.quote_this(); return false" title="Add selected text as a quote">Quote</a></small></h3><form action="http://localhost/wordpress/wp-comments-post.php" method="post" id="commentform" class="comment-form"><p class="logged-in-as"><a href="http://localhost/wordpress/wp-admin/profile.php" aria-label="Logged in as desbest. Edit your profile.">Logged in as desbest</a>. <a href="http://localhost/wordpress/wp-login.php?action=logout&amp;redirect_to=http%3A%2F%2Flocalhost%2Fwordpress%2Ftest-post%2F&amp;_wpnonce=41693b0318">Log out?</a></p><p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="7" aria-required="true"></textarea></p><p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Say It!"> <input type="hidden" name="comment_post_ID" value="9" id="comment_post_ID">
194                    <input type="hidden" name="comment_parent" id="comment_parent" value="0">
195                    </p><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="d9536f24f2"></p><input type="hidden" id="_wp_unfiltered_html_comment_disabled" name="_wp_unfiltered_html_comment" value="c35f4577d7"><script>(function(){if(window===window.parent){document.getElementById('_wp_unfiltered_html_comment_disabled').name='_wp_unfiltered_html_comment';}})();</script>
196                    <textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100" style="display: none !important;"></textarea><input type="hidden" id="ak_js" name="ak_js" value="1610451848077"></form>  </div> -->
197                    <!-- #respond -->
198
199                    <!-- <br class="fixfloat"> -->
200
201                    <!-- end comments -->
202
203                </div><!-- end #posts_content -->
204
205                <div id="sidebars"></div>
206
207            </div><!-- close #main content -->
208
209            <div id="sidebars">
210
211                <div class="sidebar scroll" id="sidebar-primary"><div class="viewport"><div class="overview">
212
213                <div id="search-10" class="widget widget_search">
214
215                <!-- <form role="search" method="get" class="searchform" action="http://localhost/wordpress/">
216                <div class="searchform-wrap">
217                <label class="screen-reader-text" for="s">Search for:</label>
218                <input type="text" value="" name="s" id="s">
219                <button type="submit">
220                <i class="icon-search"></i>
221                </button>
222                </div>
223                </form> -->
224
225                <?php tpl_searchform() ?>
226                </div>
227
228                <div id="categories-11" class="widget widget_categories"><div class="w_title">Categories</div>        <ul>
229                <li class="cat-item cat-item-1"><a href="http://localhost/wordpress/category/uncategorized/">Uncategorized</a></li>
230                 <!-- USER TOOLS -->
231                <?php if ($conf['useacl'] && $showTools): ?>
232                <h3 class="a11y"><?php echo $lang['user_tools'] ?></h3>
233                    <?php
234                        if (!empty($_SERVER['REMOTE_USER'])) {
235                            echo '<li class="user">';
236                            tpl_userinfo(); /* 'Logged in as ...' */
237                            echo '</li>';
238                        }
239                    ?>
240                    <?php /* the optional second parameter of tpl_action() switches between a link and a button,
241                             e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */
242                    ?>
243                    <?php tpl_toolsevent('usertools', array(
244                        'admin'     => tpl_action('admin', 1, 'li', 1),
245                        'userpage'  => _tpl_action('userpage', 1, 'li', 1),
246                        'profile'   => tpl_action('profile', 1, 'li', 1),
247                        'register'  => tpl_action('register', 1, 'li', 1),
248                        'login'     => tpl_action('login', 1, 'li', 1),
249                    )); ?>
250                <?php endif ?>
251                </ul>
252                </div>
253
254             <!--  <div class="widget widget_recent_entries">      <div class="w_title">Site Tools</div>     <ul>
255
256                </ul>
257                </div> -->
258
259                <br class="fixfloat">
260
261                </div></div></div>
262
263                <?php //get_sidebar(); // show primary widgets area ?>
264
265                <?php //get_sidebar( 'secondary' ); // show secondary widgets area ?>
266
267                <div class="sidebar tinyscroll" id="sidebar-secondary">
268                    <div class="viewport" style="height: 377px;">
269                        <div class="scrollbar" style="height: 377px;">
270                            <div class="track" style="height: 377px;"><div class="thumb" style="top: 0px; height: 357.108px;"><div class="end"></div></div></div></div>
271                        <div class="overview" style="top: 0px;">
272
273                            <!-- <div class="bz-description">Just another WordPress site</div> -->
274                            <!-- here should be the secondary widget area -->
275
276                            <div id="fixed-widget-area">
277
278                            <!-- ********** ASIDE ********** -->
279                            <?php if ($showSidebar): ?>
280                                <aside id="writtensidebar" class="widget">
281                                    <?php tpl_includeFile('sidebarheader.html') ?>
282                                    <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
283                                    <?php tpl_includeFile('sidebarfooter.html') ?>
284                                    <div class="clearer"></div>
285                                </aside><!-- /aside -->
286                            <?php endif; ?>
287
288                            <!-- <div id="bz-clean-archives-2" class="widget tb_clean_archives">
289                                <div class="w_title">Archives (boozurk)</div><ul class="tb-clean-archives">
290                                    <li><a class="year-link" href="http://localhost/wordpress/2020/">2020</a><a class="month-link" href="http://localhost/wordpress/2020/02/">2</a></li>
291                                    <li><a class="year-link" href="http://localhost/wordpress/2019/">2019</a><a class="month-link" href="http://localhost/wordpress/2019/04/">4</a></li>
292                                </ul>
293                            </div> -->
294
295                            <!-- <div id="archives-5" class="widget widget_archive"><div class="w_title">Archives</div>       <ul>
296                            <li><a href="http://localhost/wordpress/2020/02/">February 2020</a></li>
297                            <li><a href="http://localhost/wordpress/2019/04/">April 2019</a></li>
298                            </ul>
299                            </div>
300                            <br class="fixfloat">
301
302                            </div> --><!-- #fixed-widget-area -->
303
304                </div></div></div>
305
306            </div>
307
308            <?php //boozurk_hook_footer_before(); ?>
309
310            <div id="footer">
311
312                <div id="navbuttons" class="fixed">
313
314                <ul>
315                      <!-- PAGE ACTIONS -->
316                <?php if ($showTools): ?>
317                    <h3 class="a11y"><?php echo $lang['page_tools'] ?></h3>
318                    <?php tpl_toolsevent('pagetools', array(
319                        'edit'      => tpl_action('edit', 1, 'li class=\'minibutton btn minib_home icon-edit\' original-title=\'Edit\'', 1),
320                        'discussion'=> _tpl_action('discussion', 1, 'li class=\'minibutton icon-comment\'  original-title=\'Discuss\'', 1),
321                        'revisions' => tpl_action('revisions', 1, 'li class=\'minibutton icon-time\'  original-title=\'Old versions\'', 1),
322                        'backlink'  => tpl_action('backlink', 1, 'li class=\'minibutton icon-link\'  original-title=\'Backlinks\'', 1),
323                        'subscribe' => tpl_action('subscribe', 1, 'li class=\'minibutton icon-eye-open\'  original-title=\'Subscribe\'', 1),
324                        'revert'    => tpl_action('revert', 1, 'li class=\'minibutton icon-undo\'  original-title=\'Revert\'', 1),
325                        'top'       => tpl_action('top', 1, 'li class=\'minibutton icon-arrow-up\'  original-title=\'Go to top\'', 1),
326                    )); ?>
327                <?php endif; ?>
328                <!-- <li class="minibutton" title="Print"><a rel="nofollow" href="http://localhost/wordpress/test-post/?style=printme"><i class="icon-print"></i></a></li>
329                <li class="minibutton" title="Leave a comment"><a href="#respond"><i class="icon-comment"></i></a></li>
330                <li class="minibutton" title="Feed for comments on this post"><a href="http://localhost/wordpress/test-post/feed/ "><i class="icon-rss"></i></a></li>
331                <li class="minibutton" title="Trackback URL"><a href="http://localhost/wordpress/test-post/trackback/" rel="trackback"><i class="icon-reply"></i></a></li>
332                <li class="minibutton" title="Home"><a href="http://localhost/wordpress"><i class="icon-home"></i></a></li>
333                <li class="minibutton minib_ppage" title="Previous Post: Hello world!"><a rel="prev" href="http://localhost/wordpress/hello-world/"><i class="icon-chevron-left"></i></a></li>
334                <li class="minibutton" title="Top of page"><a href="#"><i class="icon-chevron-up"></i></a></li>
335                <li class="minibutton" title="Bottom of page"><a href="#footer"><i class="icon-chevron-down"></i></a></li> -->
336                </ul>
337
338                </div>
339                <ul id="secondary2" class="nav-menu l_tinynav3">
340                <li class="menu-item"><a href="#">Menu option 1</a></li>
341                <li class="menu-item"><a href="#">Menu option 2</a></li>
342                <li class="menu-item"><a href="#">Menu option 3</a></li>
343                <li class="menu-item"><a href="#">Menu option 4</a></li>
344                </ul>
345
346                <!-- here should be the footer widget area -->
347
348                <div id="bz-credits">
349
350                © 2021 <strong><?php echo $conf['title']; ?></strong>
351                <br>Powered by <a target="_blank" href="http://wordpress.org/" title="WordPress">WordPress</a> and <a target="_blank" href="http://www.twobeers.net/" title="Visit theme authors homepage @ twobeers.net">Boozurk theme</a> and converted by <a href="http://desbest.com">desbest</a>
352                <!-- <span class="hide_if_print"> - <a rel="nofollow" href="http://localhost/wordpress?mobile_override=mobile">Mobile View</a></span> -->
353
354                <div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div>
355                <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
356                </div>
357
358                <!-- 66 queries. 2.311 seconds. -->
359
360
361                </div>
362                <?php tpl_includeFile('footer.html') ?>
363                <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
364
365
366
367            <!-- <div id="footer"> -->
368
369                <?php //boozurk_hook_footer_top(); ?>
370
371                <?php //get_sidebar( 'footer' ); // show footer widgets area ?>
372
373                <!-- <div id="bz-credits"> -->
374
375                    <?php //echo boozurk_get_credits(); ?>
376
377                <!-- </div> -->
378
379                <!-- <?php //echo get_num_queries(); ?> queries. <?php //timer_stop(1); ?> seconds. -->
380
381                <?php //boozurk_hook_footer_bottom(); ?>
382
383            </div><!-- close footer -->
384
385            <?php //boozurk_hook_footer_after(); ?>
386
387        </div><!-- close main -->
388
389        <div id="print-links" class="hide_if_no_print"><a href="/"><?php //echo __('Close','boozurk'); ?></a><span class="hide-if-no-js"> | <a href="javascript:window.print()">Print</a></span></div>
390
391        <?php //boozurk_hook_body_bottom(); ?>
392
393        <?php //wp_footer(); ?>
394
395    <?php /* with these Conditional Comments you can better address IE issues in CSS files,
396             precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?>
397    <!--[if lte IE 8 ]><div id="IE8"><![endif]-->
398
399    <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?>
400    <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least
401             should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
402
403
404     <!-- due to the way dokuwiki buffers output, this javascript has to
405            be before the </body> tag and not in the <head> -->
406    <script type="text/javascript" src="<?php echo tpl_basedir();?>/tinynav/tinynav.js"></script>
407    <script type="text/javascript">
408        jQuery(".nav-menu").tinyNav({
409            label: '<i class="icon-align-justify"></i>', // String: Sets the <label> text for the <select> (if not set, no label will be added)
410            header: '' // String: Specify text for "header" and show header instead of the active item
411        });
412    </script>
413    <script type="text/javascript" src="<?php echo tpl_basedir();?>/cooltips.js"></script>
414
415</body>
416</html>
417