You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

238 lines
12 KiB

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