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		<!-- DokuWiki -->
25		<div id="dokuwiki">
26
27			<!-- Header -->
28			<div id="header">
29				<!--<?php tpl_link(wl(),'<img src="'.$DOKU_TPL.'images/logo.jpg" id="logo" alt="'.hsc($conf['title']).'"/>','name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>-->
30
31				<!-- Menu -->
32				<div class="menu">
33					<?php print tpl_mypage("menu1"); ?>
34				</div>
35				<!-- /Menu -->
36
37			</div>
38			<!-- /Header -->
39
40
41			<!-- Body -->
42			<div id="body">
43  			<?php html_msgarea()?>
44
45				<?php flush(); ?>
46
47				<!-- Sidebar -->
48				<div class="sidebar">
49
50					<!-- search and actions -->
51					<div class="search actions">
52						<?php if ($user) { ?>
53							<?php tpl_actionlink("edit", '<img src="'.$DOKU_TPL.'images/ico/edit.png" title="','" />'); ?>
54							<?php tpl_actionlink("history", '<img src="'.$DOKU_TPL.'images/ico/history.png" title="','" />'); ?>
55							<?php tpl_actionlink("profile", '<img src="'.$DOKU_TPL.'images/ico/user.png" title="','" />'); ?>
56							<?php tpl_actionlink("admin", '<img src="'.$DOKU_TPL.'images/ico/admin.png" title="','" />'); ?>
57							<?php tpl_actionlink("login", '<img src="'.$DOKU_TPL.'images/ico/logout.png" title="','" />'); ?>
58						<?php } ?>
59						<?php if (!$user) { ?>
60							<?php tpl_actionlink("history", '<img src="'.$DOKU_TPL.'images/ico/history.png" title="','" />'); ?>
61							<?php tpl_actionlink("login", '<img src="'.$DOKU_TPL.'images/ico/login.png" title="','" />'); ?>
62						<?php } ?>
63					</div>
64					<!-- search and actions -->
65					<!-- tpl_sidebar -->
66					<?php tpl_sidebar('left') ?>
67					<!-- /tpl_sidebar -->
68					<br /><br />
69					<!-- search and actions -->
70					<div class="search"><?php tpl_searchform()?></div>
71					<div class="search actions">
72						<?php if ($user) { ?>
73							<span class="btn"><a href="?do=edit&amp;revs="><img src="<?php echo $DOKU_TPL; ?>images/ico/edit.png" title="<?php echo $lang['btn_edit']; ?>" /></a></span>
74							<span class="btn"><a href="?do=revisions"><img src="<?php echo $DOKU_TPL; ?>images/ico/history.png" title="<?php echo $lang['btn_revs']; ?>" /></a></span>
75							<span class="btn"><a href="?do=profile"><img src="<?php echo $DOKU_TPL; ?>images/ico/user.png" title="<?php echo $lang['btn_profile']; ?>" /></a></span>
76							<span class="btn"><a href="?do=admin"><img src="<?php echo $DOKU_TPL; ?>images/ico/admin.png" title="<?php echo $lang['btn_admin']; ?>" /></a></span>
77							<span class="btn"><a href="?do=logout"><img src="<?php echo $DOKU_TPL; ?>images/ico/logout.png" title="<?php echo $lang['btn_logout']; ?>" /></a></span>
78						<?php } ?>
79						<?php if (!$user) { ?>
80							<span class="btn"><a href="?do=revisions"><img src="<?php echo $DOKU_TPL; ?>images/ico/history.png" title="<?php echo $lang['btn_revs']; ?>" /></a></span>
81							<span class="btn"><a href="?do=login"><img src="<?php echo $DOKU_TPL; ?>images/ico/login.png" title="<?php echo $lang['btn_login']; ?>" /></a></span>
82						<?php } ?>
83					</div>
84					<!-- /search and actions -->
85				</div>
86				<!-- /Sidebar -->
87
88				<!-- Content -->
89				<div id="Content">
90
91					<!-- Breadcrumbs -->
92					<div class="breadcrumbs"><?php tpl_youarehere(); ?></div>
93					<!-- /Breadcrumbs -->
94
95					<?php tpl_content(); ?>
96
97				</div>
98				<!-- /Content -->
99
100				<?php flush(); ?>
101
102			</div>
103			<!-- Body -->
104
105			<!-- Footer -->
106			<div id="footer">
107					<div class="links">
108						<ul>
109							<li><a <?php echo $tgt?> href="https://www.paypal.com/xclick/business=r0sk10%40gmail.com&amp;item_name=DokuWiki+r7throot7+Donation&amp;no_shipping=1&amp;no_note=1&amp;tax=0&amp;currency_code=EUR&amp;lc=US" title="Donate!"><img src="<?php echo $DOKU_TPL; ?>/images/btn/btn_donate.gif?w=&amp;h=&amp;cache=cache" class="media" alt="Donate!" /></a></li>
110							<li><a <?php echo $tgt?> href="http://www.userlinux.net" title="Designed by r0sk - Userlinux.net"><img src="<?php echo $DOKU_TPL; ?>/images/btn/btn_rskaddict.png?w=&amp;h=&amp;cache=cache" class="media" title="" alt="r0sk addict" /></a></li>
111							<li><a <?php echo $tgt?> href="http://www.lastfm.es/user/r0sk/" title="LastFM Profile"><img src="<?php echo $DOKU_TPL; ?>/images/btn/btn_lastfm.png?w=&amp;h=&amp;cache=cache" class="media" alt="LastFM Profile" /></a></li>
112							<li><a <?php echo $tgt?> href="http://www.technorati.com/claim/g77spcgvg" title="Technorati Profile"><img src="<?php echo $DOKU_TPL; ?>/images/btn/btn_technorati.png?w=&amp;h=&amp;cache=cache" class="media" title="" alt="Technorati Profile" /></a></li>
113							<li><a <?php echo $tgt?> href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php echo $DOKU_TPL; ?>/images/btn/btn_dokuwiki.png?w=&amp;h=&amp;cache=cache" class="media" title="" alt="Driven by DokuWiki" /></a></li>
114						</ul>
115					</div>
116			</div>
117			<!-- Footer -->
118
119		</div>
120		<!-- DokuWiki -->
121
122	</body>
123</html>
124