Exemplo n.º 1
0
<?php

$Authen = new ExtendedAuthenticationEngine();
$E = new BlogEngine();
if (!$Authen->isLoggedIn()) {
    header("Location: .");
}
?>
<!DOCTYPE html>
<html>
	<head>
		<title>Welcome To My Blog</title>
		<meta charset="UTF-8">
		<style>
			<?php 
MWF_ViewLoader::Load("mod_core_design", "base_css");
?>
		</style>
	</head>
	<body>
		<?php 
MWF_ViewLoader::Load("mod_core_design", "headerbar");
?>
		<?php 
if ($Authen->isAuthorized(1)) {
    echo '<p><a href="?mod=mod_adminpage&view=add_entry">Create new blog entry</a></p>';
}
?>
		<hr>
<?php 
if (!isset($_GET["page"])) {