Beispiel #1
0
<html xmlns="http://www.w3.org/1999/xhtml" id='forum'>
<div id="wrapper">
	<?php 
# Wrapper start
?>

	<head>
<script src="/flatnet2/tools/ckeditor/ckeditor.js"></script>
<?php 
#Inclusions:
include '../includes/blog.class.php';
$blog = new blog();
# STELLT DEN HEADER ZUR VERFÜGUNG
$blog->header();
$blog->logged_in("redirect", "index.php");
$blog->userHasRightPruefung("2");
## Suchfunktion
$allgemein = new functions();
$suche = isset($_GET['suche']) ? $_GET['suche'] : '';
echo $allgemein->suche($suche, "blogtexte", "titel", "?showblogid");
?>
<title>Forum - Thema anzeigen</title>
	</head>
	<body>
		<div class='mainbodyDark'>			
			<?php 
# zeigt Navigation an
$blog->showForumNav();
# $blogid = (isset($_GET['showblogid'])) ? $_GET['showblogid'] : '';
$bearbid = isset($_GET['bearbid']) ? $_GET['bearbid'] : '';
$blogid = isset($_GET['showblogid']) ? $_GET['showblogid'] : '';
Beispiel #2
0
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id='forum'>
<div id="wrapper">
	<?php 
# Wrapper start
?>
	<head>
<link href="/flatnet2/css/style.css" type="text/css" rel="stylesheet" />
<script src="/flatnet2/tools/ckeditor/ckeditor.js"></script>
<?php 
#Inclusions:
include '../includes/blog.class.php';
# Blog start
$addBlog = new blog();
$addBlog->header();
$addBlog->userHasRightPruefung("3");
$addBlog->logged_in("redirect", "index.php");
?>
<title>Forum - Eintrag erstellen</title>
	</head>
	<body>
		<div class='mainbodyDark'>
		<?php 
$addBlog->showForumNav();
?>
		
		<?php 
if (isset($_GET['blogcategory'])) {
    $kategorie = $_GET['blogcategory'];
    echo "<a href=\"/flatnet2/forum/index.php?blogcategory={$kategorie}\" class=\"highlightedLink\">&#8634; Zurück</a>";
}