Пример #1
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "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>
<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'] : '';
Пример #2
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "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>";