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.png" style="margin-top: 15px" alt="'.hsc($conf['title']).'"/>','name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
30			</div>
31			<!-- /Header -->
32
33			<!-- Menu -->
34			<div class="menu">
35				<?php print tpl_mypage("menu1"); ?>
36			</div>
37			<!-- /Menu -->
38
39			<!-- Body -->
40			<div id="body">
41  			<?php html_msgarea()?>
42
43				<!-- Body Top -->
44				<div id="body_top"></div>
45				<!-- /Body Top -->
46
47				<?php flush(); ?>
48
49				<!-- Sidebar -->
50				<div class="sidebar">
51
52					<!-- search and actions -->
53					<div class="search"><?php tpl_searchform()?></div>
54					<div class="search actions">
55						<?php if ($user) { ?>
56							<?php tpl_actionlink("edit", '<img src="'.$DOKU_TPL.'images/ico/edit.png" title="','" />'); ?>
57							<?php tpl_actionlink("history", '<img src="'.$DOKU_TPL.'images/ico/history.png" title="','" />'); ?>
58							<?php tpl_actionlink("profile", '<img src="'.$DOKU_TPL.'images/ico/user.png" title="','" />'); ?>
59							<?php tpl_actionlink("admin", '<img src="'.$DOKU_TPL.'images/ico/admin.png" title="','" />'); ?>
60							<?php tpl_actionlink("login", '<img src="'.$DOKU_TPL.'images/ico/logout.png" title="','" />'); ?>
61						<?php } ?>
62						<?php if (!$user) { ?>
63							<?php tpl_actionlink("history", '<img src="'.$DOKU_TPL.'images/ico/history.png" title="','" />'); ?>
64							<?php tpl_actionlink("login", '<img src="'.$DOKU_TPL.'images/ico/login.png" title="','" />'); ?>
65						<?php } ?>
66					</div>
67					<!-- /search and actions -->
68
69					<!-- tpl_sidebar -->
70					<?php tpl_sidebar('left') ?>
71					<!-- /tpl_sidebar -->
72
73				</div>
74				<!-- /Sidebar -->
75
76				<!-- Content -->
77				<div id="Content">
78
79					<!-- Breadcrumbs -->
80					<div class="breadcrumbs"><?php tpl_youarehere(); ?></div>
81					<!-- /Breadcrumbs -->
82
83					<?php tpl_content(); ?>
84
85				</div>
86				<!-- /Content -->
87
88				<?php flush(); ?>
89
90				<!-- Body Bottom -->
91				<div id="body_bottom"></div>
92				<!-- /Body Bottom -->
93
94			</div>
95			<!-- Body -->
96
97			<!-- Footer -->
98			<div id="footer">
99					<div class="links">
100						<ul>
101							<li><a <?php echo $tgt?> href="https://www.paypal.com/xclick/business=r0sk10%40gmail.com&amp;item_name=DokuWiki+r7throot5+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>
102							<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>
103							<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>
104							<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>
105							<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>
106						</ul>
107					</div>
108			</div>
109			<!-- Footer -->
110
111		</div>
112		<!-- DokuWiki -->
113
114	</body>
115</html>
116