1<?php 2 3// must be run from within DokuWiki 4if (!defined('DOKU_INC')) die(); 5 6?> 7<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 8 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 9<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" 10 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>"> 11<head> 12 13 14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 15 <title> 16 <?php tpl_pagetitle()?> 17 </title> 18 19 <?php tpl_metaheaders()?> 20 21 <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> 22 23 <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?> 24</head> 25 26<body> 27 28 <?php 29 //Check page type 30 $pagetype = 'article'; 31 if ($INFO['namespace'] == "") { $pagetype = 'frontpage'; } 32 else if ( strpos($INFO['id'], ":start") OR strpos($INFO['id'], ":categories") ) { $pagetype = 'category'; } 33 if ( $ACT !== "show" ) { $pagetype = 'special'; } 34 if ( $ACT === "edit" ) { $pagetype = 'edit'; } 35 ?> 36 37 <?php include(dirname(__FILE__).'/widgets.php') ?> 38 39 40 41 <?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?> 42 43 <div class="dokuwiki"> 44 <div id="header"> 45 <div class="inner"> 46 <div class="bar_left"> 47 <div id="sitename"> 48 <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?> 49 </div> 50 </div> 51 <div class="bar_right" style="padding-top:7px"> 52 <?php tpl_searchform()?> 53 </div> 54 <div class="clearer"></div> 55 <?php html_msgarea()?> 56 </div> 57 </div> 58 59 </div> 60 <div id="location" class="inner"> 61 <?php tpl_youarehere() ?> 62 </div> 63 <div id="content" class="inner"> 64 <div id="maincol" class="dokuwiki"> 65 <div class="page"> 66 67 <h1 id="title" ><?php tpl_pagetitle()?></h1> 68 <?php 69 if ($pagetype == 'article') { 70 } 71 ?> 72 <!-- wikipage start --> 73 <?php tpl_content(false)?> 74 <!-- wikipage stop --> 75 76 <?php tpl_flush()?> 77 78 <?php 79 if ($pagetype == 'article') { 80 } 81 ?> 82 <div class="bar" id="bar__top" style="margin-top:20px;"> 83 <div class="bar-left" id="bar__topleft"> 84 <?php tpl_button('edit')?> 85 <?php tpl_button('history')?> 86 <?php tpl_button('revert')?> 87 </div> 88 <div class="bar-right" id="bar__topright"> 89 <?php tpl_button('recent')?> 90 <?php tpl_button('subscribe')?> 91 <?php tpl_button('admin')?> 92 <?php tpl_button('profile')?> 93 <?php tpl_button('login')?> 94 <?php tpl_button('index')?> 95 96 </div> 97 <div class="clearer"></div> 98 </div> 99 </div> 100 /home/shakir/Workspace/Apache 101 </div> 102 <div id="leftcol"> 103 <?php 104 if ($pagetype == 'article') { 105 widget_article_info($INFO); 106 widget_links(); 107 } 108 109 if ($pagetype == 'category') { 110 widget_links(); 111 } 112 113 if ($pagetype == 'frontpage') { 114 widget_links(); 115 } 116 117 if ($pagetype == 'edit') { 118 widget_links(); 119 } 120 121 tpl_flush(); 122 ?> 123 </div> 124 <div class="clearer"></div> 125 </div> 126 <div id="copyright" style="text-align:center;"> 127 <p>Except where otherwise noted, content on this wiki is licensed under the following license:<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="nofollow">CC Attribution-Noncommercial-Share Alike 3.0 Unported</a> 128 <p>Another piece of <a href="https://www.mohdshakir.net" rel="nofollow">Mohd Shakir Zakaria</a> for <a href="https://docs.oseems.com" rel="nofollow">osDocs</a></p> 129 </div> 130 131 132 133 <?php 134 //Your javascript codes go here (google analytics, etc2) 135 include(dirname(__FILE__).'/js.html') 136 ?> 137 138 <div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 139</body> 140</html> 141