Location: PHPKode > projects > Webessence CMS > themes/default/templates/index.tpl.php
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php if (!empty($GLOBALS['we_page']->meta_description)) echo '<meta name="description" content="' . $GLOBALS['we_page']->meta_description . '" />'; ?>
<?php if (!empty($GLOBALS['we_page']->meta_keywords)) echo '<meta name="keywords" content="' . $GLOBALS['we_page']->meta_keywords . '" />'; ?>
<title><?php echo $GLOBALS['we_page']->title; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo WE_PATH_SUB; ?>/webessence/themes/<?php echo WE_THEME; ?>/css/style.css" />
<?php
include(WE_PATH_ROOT . '/webessence/themes/' . WE_THEME . '/functions.php');
$rootpage = page_get_root();
add_css_js();
?>
</head>
<body>

<div id="we_header">

	<a href="<?php echo WE_PATH_SUB; ?>/">Webessence Demo</a>
	
	<div id="we_search">
		<form action="http://www.google.com/search">
			<input type="text" name="q" />
			<input type="hidden" name="sitesearch" value="www.webessence.nl" />
			<input type="submit" value="Search" />
		</form>
	</div>
	
</div>

<div id="we_header_menu"><?php menu_fixed($rootpage); ?></div>

<div id="we_main_wrapper">

	<div id="we_content">
	
		<div class="we_content_block we_page">
	
			<div id="slogan"><?php echo $GLOBALS['we_page']->content['slogan']; ?></div>
			<div id="content"><?php echo $GLOBALS['we_page']->content['content']; ?></div>
		
		</div>
		
	</div>
	
	<div id="we_sidebar">
	
		<?php show_collections_in_sidebar(); ?>
		
		<?php
		if (isset($GLOBALS['we_recent_comments']) && count($GLOBALS['we_recent_comments']) > 0)
		{
			echo '<div id="we_submenu" class="we_sidebar_block"><div class="we_title">Recent comments</div><ul>';
			foreach ($GLOBALS['we_recent_comments'] as $comment)
			{
				echo '<li><a href="' . $comment['link'] . '">' . $comment['name'] . '</a><br />' . $comment['excerpt'] . '...</li>';
			}
			echo '</ul></div>';
		}
		
		?>
		
	</div>

</div>

<div id="we_footer">
	Powered by <a href="http://www.webessence.nl/cms/">Webessence CMS</a>
</div>

</body>
</html>
Return current item: Webessence CMS