Ejemplo n.º 1
0
<html xmlns="http://www.w3.org/1999/xhtml" id='forum'>
<div id="wrapper">
	<?php 
# Wrapper start
?>
	<head>
<?php 
header('Content-Type: text/html; charset=UTF-8');
#Inclusions:
include '../includes/forum.class.php';
#Forum Function
$forum = new forum();
# STELLT DEN HEADER ZUR VERFÜGUNG
$forum->header();
$forum->logged_in("redirect", "index.php");
$forum->userHasRightPruefung("2");
$suche = isset($_GET['suche']) ? $_GET['suche'] : '';
echo $forum->suche($suche, "blogtexte", "titel", "/flatnet2/blog/blogentry.php?showblogid");
?>
<title>Steven.NET-Forum</title>
	</head>
	<body>
		
		<div class='mainbodyDark'>
		
		<?php 
# Zeigt die Blogkategorien an:
if (!isset($_GET['topic']) and !isset($_GET['category']) and !isset($_GET['blogcategory'])) {
    $forum->showBlogCategories();
}
$forum->showBlogPosts();