1<?php if (isset($DOKU_TPL)==FALSE) $DOKU_TPL = DOKU_TPL; if (isset($DOKU_TPLINC)==FALSE) $DOKU_TPLINC = DOKU_TPLINC; ?>
2<?php
3if (!empty($INFO['userinfo'])) {
4    $user = true;
5}
6/**
7 * Theme by Oscar M. Lage
8 * @author Oscar M. Lage <r0sk10@gmail.com>
9 * @link   http://7throot.com
10 */
11
12require_once(dirname(__FILE__).'/tpl_functions.php');
13
14?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
15<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']; ?>" lang="<?php echo $conf['lang']; ?>">
16	<head>
17			<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18			<meta http-equiv="Content-Style-Type" content="text/css" />
19			<?php tpl_metaheaders(); ?>
20			<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
21			<title><?php echo strip_tags($conf['title'])?> &#187; <?php tpl_pagetitle()?></title>
22	</head>
23	<body>
24		<div class="dokuwiki">
25			<!-- Header -->
26			<div id="header">
27				<?php tpl_link(wl(),'<img src="'.$DOKU_TPL.'images/logo.png" alt="'.hsc($conf['title']).'"/>','name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
28			</div>
29
30			<!-- Menu -->
31			<div id="menu">
32							<?php print tpl_menu1("menu1"); ?>
33			</div>
34
35			<!-- Body -->
36			<div id="body">
37  		<?php html_msgarea()?>
38
39				<!-- Body Top -->
40				<div id="body_top"></div>
41
42				<!-- Body body -->
43				<!-- Breadcrumbs -->
44				<div class="breadcrumbs"><?php tpl_youarehere(); ?></div>
45
46				<!-- Search form -->
47				<div class="search"><?php tpl_searchform()?></div>
48				<?php flush(); ?>
49
50				<!-- Sidebar -->
51				<?php tpl_sidebar('right') ?>
52
53				<?php tpl_content(); ?>
54				<?php flush(); ?>
55
56				<!-- Body Bottom -->
57				<div id="body_bottom"></div>
58			</div>
59
60			<!-- Footer -->
61			<div id="footer">
62					<ul>
63							<li><?php tpl_actionlink('edit'); ?></li>
64							<li><?php tpl_actionlink('login'); ?></li>
65						<?php if ($user) { ?>
66							<li><?php tpl_actionlink('profile')?></li>
67							<li><?php tpl_actionlink('admin'); ?>&nbsp;</li>
68							<li><?php tpl_actionlink('history'); ?></li>
69						<?php } ?>
70					</ul>
71			</div>
72		</div>
73	</body>
74</html>
75