<?php

global $theme_credits, $theme_name, $theme_license, $theme_more_credits;
global $theme_link_navigation, $theme_link_basic, $theme_footer_layout;
global $news_date_format, $news_theme_format;
global $theme_name, $theme_license, $theme_author, $theme_more_credits;

$theme_name = 'onebit';
$theme_author = '<a href="http://www.michaelb.org/">michaelb</a> (email: ' . main_obfuscate_email('michaelpb@gmail.com') . ')';
$theme_license = 'Public domain';
$theme_more_credits = 'Written by michaelb for the michaelborg website. Feel free to do whatever you want with it.';

$news_date_format = ' [%unix%] (%hours%:%minutes%:%seconds% on %weekday%, %month% %mday%, %year%)';
$news_theme_format = '
<h1>%title%</h1>
<p>%contents%</p>
<em>%readmore_link%</em> - <small>%posted_on%</small>
<div class="hrule">--------------------------------------------------------------------------</div>
';
$theme_block = '
<strong>%title%</strong>
<p>%contents%</p>
<hr />
';
$theme_link_basic = '<a href="%url">%title%</a>';
$theme_link_navigation = '<a href="%url%">%title%</a>


';

$comment_theme_format = '
<strong>%title%</strong><br />
<p>%contents%</p>
<i><small>Posted by %author% &nbsp; %email_obfuscated%, %posted_on%</small></i>
<hr />
';

$comment_form_template = '
<form name="%form_name%" enctype="multipart/form-data" method="post"  action="#commentconfirmationmessage" >
<input type="hidden" name="destination" value="%form_name%" />
<input type="hidden" name="comment_sub" value="yes" />
Name:  <input type="text" name="author" size="25" value="%user_name%"  /><br /> 
Email:   <input type="text" name="email" size="25" /><br />
Subject: <input type="text" name="title" size="50" /> <br />
<textarea name="mesg" rows="2" cols="60"></textarea><br />
<input type="submit" value="Post comment" />
</form>
';


$theme_footer_layout = ' %copyright% .:. %credits% .:. %benchmark% ' ;

global $news_theme_full_template;
$news_theme_full_template = '
<h2>%title%</h2>
%content%
<hr />
<div style="margin:0px 10px;padding:5px; background-color:#EEEEFF; border:3px solid #CCCCCC;width:97%; ">
<h3>Comments</h3>
<!--[[ comment : main : %file_name% ]]-->
</div>
';


?>



<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!--[[ theme : head ]]-->
    <title><!--[[ theme : site_title ]]--> : <!--[[ content : page_title ]]--></title>
    <style type="text/css">
html * { 
    margin: 0; 
    padding: 0; 
    border: 0;
}
/* this clears floating (e.g images) */
br.clear {
    clear: both;
    display: none;
}

body {
    margin: 0;
    font-size: 100%;
    font-family: Verdana, Arial, sans-serif;
    line-height: 1.1em;
    text-align: center;
	color: #000;
    background-color: #000;
}
div.hrule{
	margin: 0.7em;
	text-align: center;
	width: 100%;
	display: block;
	letter-spacing: -5px;
	font-size: 1.5em;
}
a:visited, a:link, a:active {
	color: #000;
	padding: 0px 2px 0px 0px;
	text-decoration: underline;
}
a:hover {
	color: #000;
	border: 1px solid #000;
	padding: 0px 0px 0px 0px;
	text-decoration: none;
}
input, textarea {
	border: 1px solid #000;
}
h1 {
	color: #000;
	display: inline;
	margin: 0em 0em 0em 0em;
	font-size: 1.4em;
}

h2 {
	color: #000;
	display: block;
	font-size: 1.3em;
}
h3 {
	color: #000;
	display: block;
	font-size: 1.2em;
}

h4 {
	color: #000;
	display: block;
	font-size: 1.1em;
}
li {
	margin: 1em 1em 1em 1em;
}

#masthead {
	display: block;
	height: 35;
	padding: 0.4em 0.6em 0.4em 0.6em;
	text-align: left;
	background-color: #000;
}
#masthead h1 {
    padding: 0em 0.3em 0em 0em;
    color: #fff;
    text-align: left;
    display: inline;
	background-color: #000;
    font-family: verdana,"Trebuchet MS", Arial, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 3em;
    letter-spacing: 3px;
    text-transform: lowercase;
}
#masthead h2 {
    padding: 0em 0.3em 0em 0em;
    color: #fff;
    float: right;
    display: inline;
	background-color: #000;
    font-family:  Arial, verdana,"Trebuchet MS", Tahoma, sans-serif;
    font-weight: bold;
    font-size: 3em;
    letter-spacing: 1px;
}
#masthead h3 {
	color: #fff;
	display: block;
	float: center;
	font-size: 0.7em;
	font-family: Arial, Verdana;
	letter-spacing: 2px;
    text-transform: lowercase;
}
div.block {
	float: left;
	display: block;
	text-align: left;
	color: #000;
	background-color: #fff;
}

#main {
	float: left;
	display: block;
	width: 600;
	background-color: #000;
	padding: 1em 1em 1em 1em;

}

#main div.block {
	float: left;
	display: block;
	padding: 1em 1em 1em 1em;

}

#navbar {
	float: left;
	display: block;
	width: 210;
	padding: 1em 1em 1em 1em;
	background-color: #000;
}


#navbar div.block {
	width: 210;
	margin: 0em 0em 1em 0em;
}
#navbar div.block a:visited, #navbar div a:link  {
	color: #000;
	float: left;
	display: inline;
	padding: 0em 0px 0em 1em;
	
	width: 100%;
}
#navbar div.block a:hover {
	color: #fff;
	float: left;
	display: inline;
	padding: 0em 0em 0em 1em;
	width: 100%;
	border: none;
	background-color: #000;

}
#navbar div.block p {
	float: left;
	display: inline;
	margin: 0em 0em 1em 0em;
	font-size: 0.6em;
}
div.block h6 {
	color: #fff;
	float: left;
	display: inline;
	font-size: 1em;
	background-color: #000;
}
div.block h5 {
	color: #fff;
	float: right;
	display: inline;
	margin: 0em 0em 0em 0em;
	font-size: 1em;
	background-color: #000;
}

#footer {
	float: left;
	width: 720;
	background-color: #000;
	text-align: center;
	color: #fff;
	font-size: 0.6em;
}

#footer a {
	color: #fff;
}


	</style>	
</head>
<body>
<div id="masthead">
	<h1><!--[[ theme : site_title ]]--></h1><h2>- - - - - - - - - - - - - - - - - - - - - - - - - - - - </h2>
	<h3><!--[[ theme : slogan ]]--></h3>
</div>


<div id="navbar">
 	<div class="block">
		<!-- I'd recomment putting a bunch of these boxes with whatever you want in them for this particular theme, 
		or else 'twill look too bare -->
		<h6>navigation</h6><h5>&bull;</h5>
		<!--[[theme:link_box]]-->
	</div>
	 <div class="block">
		<h6>cool stuff</h6><h5>&bull;</h5>
		<a href="http://fsf.org/">FSF</a>
		<p>Check out the free software foundation's site.</p>
		<a href="http://getfirefox.com/">A Better Browser</a>
		<p>Try using Firefox instead of crappy browsers like IE.</p>
		<a href="http://ubuntu.com/">A Better OS</a>
		<p>Try using Ubuntu Linux instead of crappy operating systems like Windows.</p>
	</div>
 	<div class="block">
		<h6>random quote</h6><h5>&bull;</h5>
		<p><!--[[ random : main : misc/quotes.txt ]]--></p>
	</div>

</div>
<div id="main">
	<div class="block">
		<!--[[content:main]]-->

	</div>
</div>
<div id="footer"><!--[[theme:footer]]--></div>
</body>
