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" style="margin-top: 15px" 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				<?php flush(); ?>
44
45				<!-- Sidebar -->
46				<div class="sidebar">
47					<?php tpl_sidebar('left') ?>
48					<div class="search"><?php tpl_searchform()?></div>
49					<div class="search actions">
50						<?php if ($user) { ?>
51							<?php tpl_actionlink("edit", '<img src="'.$DOKU_TPL.'images/ico/edit.png" title="','" />'); ?>
52							<?php tpl_actionlink("history", '<img src="'.$DOKU_TPL.'images/ico/history.png" title="','" />'); ?>
53							<?php tpl_actionlink("profile", '<img src="'.$DOKU_TPL.'images/ico/user.png" title="','" />'); ?>
54							<?php tpl_actionlink("admin", '<img src="'.$DOKU_TPL.'images/ico/admin.png" title="','" />'); ?>
55							<?php tpl_actionlink("login", '<img src="'.$DOKU_TPL.'images/ico/logout.png" title="','" />'); ?>
56						<?php } ?>
57						<?php if (!$user) { ?>
58							<?php tpl_actionlink("login", '<img src="'.$DOKU_TPL.'images/ico/login.png" title="','" />'); ?>
59						<?php } ?>
60					</div>
61				</div>
62				<div id="Content">
63					<!-- Breadcrumbs -->
64					<div class="breadcrumbs"><?php tpl_youarehere(); ?></div>
65
66					<?php tpl_content(); ?>
67				</div>
68				<?php flush(); ?>
69
70				<!-- Body Bottom -->
71				<div id="body_bottom"></div>
72			</div>
73
74			<!-- Footer -->
75			<div id="footer">
76					<ul>
77							<li><?php tpl_actionlink('edit'); ?></li>
78							<li><?php tpl_actionlink('login'); ?></li>
79						<?php if ($user) { ?>
80							<li><?php tpl_actionlink('profile')?></li>
81							<li><?php tpl_actionlink('admin'); ?>&nbsp;</li>
82							<li><?php tpl_actionlink('history'); ?></li>
83						<?php } ?>
84					</ul>
85					<div class="links">
86						<ul>
87							<li><a <?php echo $tgt?> href="https://www.paypal.com/xclick/business=r0sk10%40gmail.com&amp;item_name=DokuWiki+r7throot4+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_donate.gif?w=&amp;h=&amp;cache=cache" class="media" alt="Donate!" /></a></li>
88							<li><a <?php echo $tgt?> href="http://www.userlinux.net" title="Designed by r0sk - Userlinux.net"><img src="<?php echo $DOKU_TPL; ?>/images/btn_rskaddict.png?w=&amp;h=&amp;cache=cache" class="media" title="" alt="r0sk addict" /></a></li>
89							<li><a <?php echo $tgt?> href="http://www.lastfm.es/user/r0sk/" title="LastFM Profile"><img src="<?php echo $DOKU_TPL; ?>/images/btn_lastfm.png?w=&amp;h=&amp;cache=cache" class="media" alt="LastFM Profile" /></a></li>
90							<li><a <?php echo $tgt?> href="http://www.technorati.com/claim/g77spcgvg" title="Technorati Profile"><img src="<?php echo $DOKU_TPL; ?>/images/btn_technorati.png?w=&amp;h=&amp;cache=cache" class="media" title="" alt="Technorati Profile" /></a></li>
91							<li><a <?php echo $tgt?> href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php echo $DOKU_TPL; ?>/images/btn_dokuwiki.png?w=&amp;h=&amp;cache=cache" class="media" title="" alt="Driven by DokuWiki" /></a></li>
92						</ul>
93					</div>
94			</div>
95		</div>
96	</body>
97</html>
98