{{{


use \lithium\core\Environment;
use \lithium\g11n\Locale;

?>
<!doctype html>
<html lang="<?= str_replace('_', '-', Environment::get('locale')); ?>">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=7" />
	<?php echo $this->html->charset(); ?>
	<title>#li3 > <?=$t('Lithium: the most rad php framework');?> > <?=$this->title();?></title>
	<?php echo $this->html->link('Icon', null, array('type' => 'icon')); ?>
	<?php echo $this->html->style(array("lithium", "u1m", "lithium_site")); ?>
	<?php echo $this->scripts(); ?>
</head>
<body class="main">
<div id="wrapper">
	<div id="container">
		<div id="header">
			<h1><?php echo $this->html->link(
				$t('Lithium: the most rad php framework'),
				'http://dev.lithify.me/lithium/wiki'
			); ?></h1>
		</div>
		<div id="content">
			<?php echo $this->content; ?>
		</div>
	</div>
	<div id="footer-spacer"></div>
</div>
<div id="footer">
	<p class="copyright">
		<?=$t('Pretty much everything is © {:year} and beyond, the Union of Rad', array(
			'year' => date('Y')
		)); ?>
	</p>
</div>
<?php echo $this->html->script(array(
	'http://code.jquery.com/jquery-1.4.1.min.js',
	"lithium_site",
	"rad.cli",
)); ?>
<script type="text/javascript" charset="utf-8">
	$(document).ready(function () {
		RadCli.setup({
			setupGitCopy: false,
			commandBase: 'http://lithify.me/<?= Locale::language(Environment::get('locale')); ?>/cmd'
		});
		LithiumSite.setup({
			homepage: <?php echo !empty($homepage) ? 'true' : 'false'; ?>,
			testimonialTexts: <?php echo json_encode($testimonials); ?>
		});
	});
</script>
<?php if ($this->request()->env('HTTP_HOST') == 'lithify.me'):?>
	<script type="text/javascript">
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	<script type="text/javascript">
		try {
			var pageTracker = _gat._getTracker("UA-11048416-4");
			pageTracker._trackPageview();
			} catch(err) {}
	</script>
<?php endif;?>
</body>
</html>}}}